Gradient damage models coupled with plasticity. Variational formulation and main properties