Disable presimulation
@@ -1044,6 +1044,7 @@ class SEDMLCodeFactory(object):
# <STEADY STATE>
# -------------------------------------------------------------------------
elif simType == libsedml.SEDML_SIMULATION_STEADYSTATE:
+ lines.append("{}.steadyStateSolver.setValue('{}', {})".format(mid, 'allow_presimulation', False))
lines.append("{}.steadyStateSelections = {}".format(mid, list(selections)))
lines.append("{}.simulate()".format(mid)) # for stability of the steady state solver
lines.append("{} = {}.steadyStateNamedArray()".format(resultVariable, mid))
