Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
[DAEMode] create startValueEquations from initDAE
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - #2255
  • Loading branch information
Willi Braun authored and OpenModelica-Hudson committed Mar 6, 2018
1 parent 1965760 commit ad854a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/SimCode/SimCodeMain.mo
Expand Up @@ -1140,7 +1140,7 @@ algorithm
ExecStat.execStat("simCode: created initialization part");

// create parameter equations
((uniqueEqIndex, startValueEquations, _)) := BackendDAEUtil.foldEqSystem(inBackendDAE, SimCodeUtil.createStartValueEquations, (uniqueEqIndex, {}, inBackendDAE.shared.globalKnownVars));
((uniqueEqIndex, startValueEquations, _)) := BackendDAEUtil.foldEqSystem(inInitDAE, SimCodeUtil.createStartValueEquations, (uniqueEqIndex, {}, inBackendDAE.shared.globalKnownVars));
if debug then ExecStat.execStat("simCode: createStartValueEquations"); end if;
((uniqueEqIndex, nominalValueEquations)) := BackendDAEUtil.foldEqSystem(inBackendDAE, SimCodeUtil.createNominalValueEquations, (uniqueEqIndex, {}));
if debug then ExecStat.execStat("simCode: createNominalValueEquations"); end if;
Expand Down

0 comments on commit ad854a6

Please sign in to comment.