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

Commit fcedc05

Browse files
Willi BraunOpenModelica-Hudson
authored andcommitted
[BE] added support for INITIAL_ASSERT in BackendCreate
Belonging to [master]: - #2895 - OpenModelica/OpenModelica-testsuite#1115
1 parent db18f0d commit fcedc05

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Compiler/BackEnd/BackendDAECreate.mo

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,12 @@ algorithm
14301430
then
14311431
(eqns,reqns,ieqns);
14321432

1433+
case DAE.INITIAL_ASSERT()
1434+
equation
1435+
(eqns,reqns,ieqns) = lowerAlgorithm(inElement,functionTree,inEquations,inREquations,inIEquations, DAE.NOT_EXPAND(), inInitialization);
1436+
then
1437+
(eqns,reqns,ieqns);
1438+
14331439
case DAE.TERMINATE(message=msg,source=source)
14341440
then
14351441
(inEquations,inREquations,BackendDAE.ALGORITHM(0, DAE.ALGORITHM_STMTS({DAE.STMT_TERMINATE(msg,source)}), source, DAE.NOT_EXPAND(), BackendDAE.EQ_ATTR_DEFAULT_DYNAMIC)::inIEquations);

0 commit comments

Comments
 (0)