finish dynamics discrete, hybrid sim. now time to debug
remove old residual file