don't scale time twice in ocp export
mpc mhe loop code improved, still some details need to be worked out: arrival cost missing, linearization of dae integration missing