@@ -135,9 +135,9 @@ algorithm
135135 (BackendDAE . EQUATIONSYSTEM (eqns= eindex, vars= vindx, jac= BackendDAE . FULL_JACOBIAN (SOME (jac)), jacType= BackendDAE . JAC_LINEAR ()))::comps)
136136 equation
137137 print("try to relax \n " );
138- BackendDAEUtil . profilerinit();
139- BackendDAEUtil . profilerstart2();
140- BackendDAEUtil . profilerstart1();
138+ Util . profilerinit();
139+ Util . profilerstart2();
140+ Util . profilerstart1();
141141 size = listLength(vindx);
142142 esize = listLength(eindex);
143143 ass1 = arrayCreate(size, -1 );
@@ -223,10 +223,10 @@ algorithm
223223 // DumpGraphML.dumpSystem(subsyst, shared, NONE(), intString(size) + "SystemOneFreeMatching.graphml");
224224
225225 // hier sollte zur vorsicht noch mal ein matching durchgefuehrt werden
226- BackendDAEUtil . profilerstop1();
227- print("Matching time: " + realString(BackendDAEUtil . profilertime1()) + " \n " );
228- BackendDAEUtil . profilerreset1();
229- BackendDAEUtil . profilerstart1();
226+ Util . profilerstop1();
227+ print("Matching time: " + realString(Util . profilertime1()) + " \n " );
228+ Util . profilerreset1();
229+ Util . profilerstart1();
230230 // collect tearing variables and residual equations
231231 vorphans = getOrphans(1 , size, ass1, {});
232232 eorphans = getOrphans(1 , size, ass2, {});
@@ -265,10 +265,10 @@ algorithm
265265 // BackendDump.debuglst((roots, intString, ", ", "\n"));
266266 // print("constraints:\n");
267267 // BackendDump.debuglst((constraints, intString, ", ", "\n"));
268- BackendDAEUtil . profilerstop1();
269- print("Identifikation time: " + realString(BackendDAEUtil . profilertime1()) + " \n " );
270- BackendDAEUtil . profilerreset1();
271- BackendDAEUtil . profilerstart1();
268+ Util . profilerstop1();
269+ print("Identifikation time: " + realString(Util . profilertime1()) + " \n " );
270+ Util . profilerreset1();
271+ Util . profilerstart1();
272272 // Order of orphans
273273 vorphansarray1 = arrayCreate(size, {});
274274 List . map2_0(roots, doMark, rowmarks, mark);
@@ -283,10 +283,10 @@ algorithm
283283 // BackendDump.dumpIncidenceMatrix(vorphansarray1);
284284
285285 (vorphans, mark) = getOrphansOrderEdvanced3(roots, otherorphans, constraints, vorphans, vorphansarray1, mark, rowmarks);
286- BackendDAEUtil . profilerstop1();
287- print("Reihenfolge time: " + realString(BackendDAEUtil . profilertime1()) + " \n " );
288- BackendDAEUtil . profilerreset1();
289- BackendDAEUtil . profilerstart1();
286+ Util . profilerstop1();
287+ print("Reihenfolge time: " + realString(Util . profilertime1()) + " \n " );
288+ Util . profilerreset1();
289+ Util . profilerstart1();
290290 List . map2_0(constraints, doMark, rowmarks, mark);
291291 otherorphans = List . select2(vorphans, unmarked, rowmarks, mark);
292292
@@ -303,10 +303,10 @@ algorithm
303303 // print("Matching with Orphans:\n");
304304 // BackendDump.dumpMatching(ass1);
305305 // BackendDump.dumpIncidenceMatrix(ass22);
306- BackendDAEUtil . profilerstop1();
307- print("Paarung time: " + realString(BackendDAEUtil . profilertime1()) + " \n " );
308- BackendDAEUtil . profilerreset1();
309- BackendDAEUtil . profilerstart1();
306+ Util . profilerstop1();
307+ print("Paarung time: " + realString(Util . profilertime1()) + " \n " );
308+ Util . profilerreset1();
309+ Util . profilerstart1();
310310 vec1 = arrayCreate(esize, {});
311311 vec2 = arrayCreate(esize, -1 );
312312
@@ -321,10 +321,10 @@ algorithm
321321 // DumpGraphML.dumpSystem(subsyst, shared, SOME(vec3), "System.graphml");
322322
323323 ((_, _, _, eqns, vars)) = Array . fold(vec2, getEqnsinOrder, (eqns, vars, ass22, BackendEquation . listEquation({}), BackendVariable . emptyVars()));
324- BackendDAEUtil . profilerstop1();
325- print("Indizierung time: " + realString(BackendDAEUtil . profilertime1()) + " \n " );
326- BackendDAEUtil . profilerreset1();
327- BackendDAEUtil . profilerstart1();
324+ Util . profilerstop1();
325+ print("Indizierung time: " + realString(Util . profilertime1()) + " \n " );
326+ Util . profilerreset1();
327+ Util . profilerstart1();
328328 // replace evaluated parametes
329329 // _ = BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate(eqns, replaceFinalParameter, BackendVariable.daeGlobalKnownVars(shared));
330330
@@ -355,15 +355,15 @@ algorithm
355355 crefexplst = List . map(BackendVariable . varList(vars), makeCrefExps);
356356 crefexps = listArray(crefexplst);
357357 neweqns = makeGausElimination(1 , size, matrix, crefexps, {});
358- BackendDAEUtil . profilerstop1();
359- print("Gaus Elimination time: " + realString(BackendDAEUtil . profilertime1()) + " \n " );
360- BackendDAEUtil . profilerreset1();
361- BackendDAEUtil . profilerstart1();
358+ Util . profilerstop1();
359+ print("Gaus Elimination time: " + realString(Util . profilertime1()) + " \n " );
360+ Util . profilerreset1();
361+ Util . profilerstart1();
362362 syst = replaceEquationsAddNew(eindex, neweqns, syst);
363- BackendDAEUtil . profilerstop2();
364- print("Gesamt time: " + realString(BackendDAEUtil . profilertime2()) + " \n " );
365- BackendDAEUtil . profilerreset1();
366- BackendDAEUtil . profilerstart1();
363+ Util . profilerstop2();
364+ print("Gesamt time: " + realString(Util . profilertime2()) + " \n " );
365+ Util . profilerreset1();
366+ Util . profilerstart1();
367367 /*
368368 vars = BackendVariable.addVars(var_lst, vars);
369369 eqns = BackendEquation.addList(neweqns, teqns);
0 commit comments