A study of the effect of inelastic absorption on the validity of trajectory simulation of elastic scattering