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

Commit 3dcf0f9

Browse files
perostOpenModelica-Hudson
authored andcommitted
Added execStat for instantiateModel DAE dumping.
1 parent c8394ea commit 3dcf0f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Compiler/Script/CevalScriptBackend.mo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,9 @@ algorithm
15151515
case (cache,env,"instantiateModel",{Values.CODE(Absyn.C_TYPENAME(className))},st,_)
15161516
equation
15171517
(cache,env,dae,st) = runFrontEnd(cache,env,className,st,true);
1518+
ExecStat.execStatReset();
15181519
str = DAEDump.dumpStr(dae,FCore.getFunctionTree(cache));
1520+
ExecStat.execStat("DAEDump.dumpStr(" + Absyn.pathString(className) + ")");
15191521
then
15201522
(cache,Values.STRING(str),st);
15211523

0 commit comments

Comments
 (0)