This is a general template for nonlinear implicit analysis.
Contacts, boundary conditions, loadings etc. must be defined
by the user. Give endtime, dt0 and dtmax below. Set dtmax =
 -1*(Curve ID) to use a curve for time stepping 
and synchronization.
