Skip to content

Commit b07706f

Browse files
sjoelundclaude
andauthored
BackendDump: drop debug SIMULATION/INITIALSYSTEM print in dumpLoops (#15771)
The code actually never executes because OMC drops `then print("abc");`, so the code never did anything. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c7cd5d8 commit b07706f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

OMCompiler/Compiler/BackEnd/BackendDump.mo

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,12 +1235,6 @@ protected
12351235
Integer isyst = 1;
12361236
Boolean firstComp = true; // used to print header only if there is actually an algebraic loop
12371237
algorithm
1238-
_ := match outDAE.shared
1239-
case BackendDAE.SHARED(backendDAEType=BackendDAE.SIMULATION()) then print("SIMULATION\n");
1240-
case BackendDAE.SHARED(backendDAEType=BackendDAE.INITIALSYSTEM()) then print("INITIALSYSTEM\n");
1241-
else print("UNKNOWN\n");
1242-
end match;
1243-
12441238
for syst in inDAE.eqs loop
12451239
firstComp := true;
12461240
BackendDAE.EQSYSTEM(orderedVars=vars,orderedEqs=eqns, matching=BackendDAE.MATCHING(comps=comps)) := syst;

0 commit comments

Comments
 (0)