Skip to content

Commit

Permalink
Added dae type information to post-opt ...
Browse files Browse the repository at this point in the history
dump/execStat
  • Loading branch information
lochel committed Sep 14, 2015
1 parent edba84e commit b786010
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -6876,14 +6876,15 @@ protected
algorithm
for postOptModule in inPostOptModules loop
(optModule, moduleStr, stopOnFailure) := postOptModule;
moduleStr := moduleStr + " (" + BackendDump.printBackendDAEType2String(inDAE.shared.backendDAEType) + ")";
try
BackendDAE.DAE(systs, shared) := optModule(outDAE);
(systs, shared) := filterEmptySystems(systs, shared);
outDAE := BackendDAE.DAE(systs, shared);
outDAE := causalizeDAE(outDAE, NONE(), inMatchingAlgorithm, inDAEHandler, false);
SimCodeFunctionUtil.execStat("postOpt " + moduleStr);
if Flags.isSet(Flags.OPT_DAE_DUMP) then
print(stringAppendList({"\npost-optimization module ", moduleStr, ":\n\n"}));
print("\npost-optimization module " + moduleStr + ":\n\n");
BackendDump.printBackendDAE(outDAE);
end if;
else
Expand Down

0 comments on commit b786010

Please sign in to comment.