Skip to content

Commit

Permalink
- fixed output of execstat
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19936 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Apr 2, 2014
1 parent 812018a commit b7e5c39
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -8094,13 +8094,10 @@ algorithm
sode1 := FindZeroCrossings.findZeroCrossings(optsode);
Debug.execStat("findZeroCrossings", GlobalScript.RT_CLOCK_EXECSTAT_BACKEND_MODULES);
_ := traverseBackendDAEExpsNoCopyWithUpdate(sode1, ExpressionSimplify.simplifyTraverseHelper, 0) "simplify all expressions";
Debug.execStat("postOpt SimplifyAllExp", GlobalScript.RT_CLOCK_EXECSTAT_BACKEND_MODULES);
outSODE := calculateValues(sode1);
Debug.execStat("calculateValue", GlobalScript.RT_CLOCK_EXECSTAT_BACKEND_MODULES);

// moved to SimCodeUtil because of initial system
// Debug.execStat("calculateValue", GlobalScript.RT_CLOCK_EXECSTAT_BACKEND_MODULES);
// outSODE := expandAlgorithmsbyInitStmts(sode2);

Debug.execStat("expandAlgorithmsbyInitStmts", GlobalScript.RT_CLOCK_EXECSTAT_BACKEND_MODULES);
Debug.fcall2(Flags.DUMP_INDX_DAE, BackendDump.dumpBackendDAE, outSODE, "dumpindxdae");
Debug.bcall2(Flags.isSet(Flags.DUMP_INDX_DAE) and Flags.isSet(Flags.ADDITIONAL_GRAPHVIZ_DUMP), BackendDump.graphvizBackendDAE, outSODE, "dumpindxdae");
Debug.fcall2(Flags.DUMP_TRANSFORMED_MODELICA_MODEL, BackendDump.dumpBackendDAEToModelica, outSODE, "dumpindxdae");
Expand Down

0 comments on commit b7e5c39

Please sign in to comment.