Skip to content

Commit

Permalink
- be consistent with execstat v.s. execStat.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10297 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Nov 5, 2011
1 parent 523e3a8 commit d8f21ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Compiler/BackEnd/BackendDAEOptimize.mo
Expand Up @@ -4026,14 +4026,14 @@ algorithm
dlow = removeParameters(dlow,functionTree);
dlow = removeSimpleEquations(dlow,functionTree);

Debug.fcall("execStat",print, "*** analytical Jacobians -> removed simply equations: " +& realString(clock()) +& "\n" );
Debug.fcall("execstat",print, "*** analytical Jacobians -> removed simply equations: " +& realString(clock()) +& "\n" );
// figure out new matching and the strong components
(dlow as BackendDAE.DAE(eqs={BackendDAE.EQSYSTEM(matching=BackendDAE.MATCHING(comps=comps1))})) = BackendDAEUtil.transformBackendDAE(dlow,functionTree,SOME((BackendDAE.NO_INDEX_REDUCTION(), BackendDAE.EXACT())),NONE());
Debug.fcall("jacdump2", BackendDump.bltdump, ("jacdump2",dlow));
Debug.fcall("execStat",print, "*** analytical Jacobians -> performed matching and sorting: " +& realString(clock()) +& "\n" );
Debug.fcall("execstat",print, "*** analytical Jacobians -> performed matching and sorting: " +& realString(clock()) +& "\n" );

Debug.fcall("jacdump2", BackendDump.dumpComponents, comps1);
//Debug.fcall("execStat",print, "*** analytical Jacobians -> performed splitig the system: " +& realString(clock()) +& "\n" );
//Debug.fcall("execstat",print, "*** analytical Jacobians -> performed splitig the system: " +& realString(clock()) +& "\n" );
then dlow;


Expand All @@ -4047,11 +4047,11 @@ algorithm
dlow = removeParameters(dlow,functionTree);
dlow = removeSimpleEquations(dlow,functionTree);

Debug.fcall("execStat",print, "*** analytical Jacobians -> removed simply equations: " +& realString(clock()) +& "\n" );
Debug.fcall("execstat",print, "*** analytical Jacobians -> removed simply equations: " +& realString(clock()) +& "\n" );
// figure out new matching and the strong components
dlow = BackendDAEUtil.transformBackendDAE(dlow,functionTree,SOME((BackendDAE.NO_INDEX_REDUCTION(), BackendDAE.EXACT())),NONE());
Debug.fcall("jacdump2", BackendDump.bltdump, ("jacdump2",dlow));
Debug.fcall("execStat",print, "*** analytical Jacobians -> performed matching and sorting: " +& realString(clock()) +& "\n" );
Debug.fcall("execstat",print, "*** analytical Jacobians -> performed matching and sorting: " +& realString(clock()) +& "\n" );

then dlow;
else
Expand Down

0 comments on commit d8f21ef

Please sign in to comment.