XFEM modeling of inelastic material behavior of composite