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

Commit b423c40

Browse files
kabdelhakOpenModelica-Hudson
authored andcommitted
[BE,daeMode] Fix: add removed (simple) eqns to dae system
Belonging to [master]: - #3051
1 parent d6957d5 commit b423c40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Compiler/BackEnd/DAEMode.mo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ algorithm
242242
// create residual system
243243
retSystem := BackendDAEUtil.createEqSystem(travArgs.newDAEVars);
244244
retSystem := BackendDAEUtil.setEqSystEqs(retSystem, travArgs.newDAEEquations);
245+
retSystem := BackendDAEUtil.setEqSystRemovedEqns(retSystem, syst.removedEqs);
246+
245247
if exec then execStat("DAEmode: created system: " + intString(BackendDAEUtil.systemSize(retSystem)) + ": " ); end if;
246248

247249
syst := retSystem;

0 commit comments

Comments
 (0)