write DAE, minLsq, minLsqEndTerm every time in ocp export, but don't always use it