Micro-mechanical modelling of strain induced porosity under generally compressive stress states