Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.001681, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05921/0.05921, allocations: 14.15 MB / 284.5 MB, free: 7.375 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.0005202, allocations: 19.94 kB / 348.1 MB, free: 17.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09822, allocations: 51.11 MB / 399.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002716/0.101, allocations: 1.683 MB / 400.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1028, allocations: 0.8079 MB / 401.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.1031, allocations: 7.938 kB / 401.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1033, allocations: 43.75 kB / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.1037, allocations: 63.83 kB / 401.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.1045, allocations: 175.2 kB / 402 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.105, allocations: 167.7 kB / 402.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.1051, allocations: 76.53 kB / 402.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1053, allocations: 99.67 kB / 402.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.1056, allocations: 115.4 kB / 402.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.1057, allocations: 12 kB / 402.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.1059, allocations: 71.88 kB / 402.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.106, allocations: 39.83 kB / 402.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.106, allocations: 65.58 kB / 402.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1063, allocations: 231.5 kB / 402.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1064, allocations: 0 / 402.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1064, allocations: 0 / 402.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1064, allocations: 4 kB / 402.9 MB, free: 11.13 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001067/0.1075, allocations: 0.5818 MB / 403.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1075, allocations: 12.03 kB / 403.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1076, allocations: 31.62 kB / 403.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.1081, allocations: 298.3 kB / 403.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1081, allocations: 16 kB / 403.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.1082, allocations: 16 kB / 403.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.1089, allocations: 321.2 kB / 404.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1089, allocations: 0 / 404.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.1089, allocations: 8 kB / 404.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.109, allocations: 4 kB / 404.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.1097, allocations: 260.3 kB / 404.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1112, allocations: 0.9904 MB / 405.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.1121, allocations: 337 kB / 405.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1121, allocations: 3.984 kB / 405.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000572/0.1127, allocations: 255.3 kB / 406 MB, free: 7.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.685e-06/0.1127, allocations: 0 / 406 MB, free: 7.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00142/0.1141, allocations: 0.5966 MB / 406.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.1142, allocations: 166.2 kB / 406.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1145, allocations: 258.7 kB / 407 MB, free: 6.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.1146, allocations: 29.7 kB / 407 MB, free: 6.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1147, allocations: 172.3 kB / 407.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.1148, allocations: 63.02 kB / 407.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.1148, allocations: 8 kB / 407.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1149, allocations: 334.9 kB / 407.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.1153, allocations: 139.9 kB / 407.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.1157, allocations: 209.5 kB / 407.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.1162, allocations: 181.6 kB / 408.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1162, allocations: 0 / 408.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00215/0.1183, allocations: 0.7774 MB / 408.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.1186, allocations: 0.5661 MB / 409.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1186, allocations: 4 kB / 409.5 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.1193, allocations: 197.6 kB / 409.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.1195, allocations: 31.97 kB / 409.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.1251, allocations: 3.897 MB / 413.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.1255, allocations: 51.88 kB / 413.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.1256, allocations: 12 kB / 413.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.1256, allocations: 4 kB / 413.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005609/0.1262, allocations: 301.4 kB / 413.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1262, allocations: 4 kB / 413.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1262, allocations: 11.94 kB / 414 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.1265, allocations: 59.83 kB / 414 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1265, allocations: 4 kB / 414 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1267, allocations: 27.75 kB / 414 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1267, allocations: 11.98 kB / 414.1 MB, free: 15.24 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.127, allocations: 262.7 kB / 414.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.127, allocations: 27.72 kB / 414.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.1271, allocations: 38.12 kB / 414.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1271, allocations: 3.938 kB / 414.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1271, allocations: 0 / 414.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1271, allocations: 4 kB / 414.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.1275, allocations: 329.2 kB / 414.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1275, allocations: 4 kB / 414.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.1279, allocations: 63.94 kB / 414.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1279, allocations: 0 / 414.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.1279, allocations: 8 kB / 414.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1279, allocations: 3.953 kB / 414.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1279, allocations: 4 kB / 414.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.1293, allocations: 0.6264 MB / 415.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.1294, allocations: 96.92 kB / 415.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.1294, allocations: 15.95 kB / 415.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1296, allocations: 43.95 kB / 415.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1298, allocations: 23.95 kB / 415.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.1298, allocations: 11.98 kB / 415.6 MB, free: 13.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.13, allocations: 190 kB / 415.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.13, allocations: 0 / 415.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005883/0.1306, allocations: 115.8 kB / 415.9 MB, free: 13.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.I.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/0.1308, allocations: 131.2 kB / 416 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.1328, allocations: 0.9523 MB / 417 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1328, allocations: 0 / 417 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.1333, allocations: 251.6 kB / 417.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1336, allocations: 39.5 kB / 417.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1347, allocations: 0.6033 MB / 417.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1351, allocations: 0.7674 MB / 418.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.1353, allocations: 29.95 kB / 418.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.1353, allocations: 23.42 kB / 418.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1354, allocations: 0 / 418.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Templates: time 0.009298/0.1447, allocations: 4.589 MB / 423.3 MB, free: 5.77 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1) Environment - environmentSimulation: