Models and robust algorithms in crashsimulations