Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009164/0.0009165, allocations: 178 kB / 15.43 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.7 MB / 241.9 MB, free: 200 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000779/0.000779, allocations: 86.89 kB / 293.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06043/0.06043, allocations: 14.38 MB / 358.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 8.844 kB / 425.3 MB, free: 83.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07881/0.07912, allocations: 53.96 MB / 479.2 MB, free: 30.76 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.001592/0.08075, allocations: 1.671 MB / 480.9 MB, free: 29.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.08184, allocations: 0.9654 MB / 481.9 MB, free: 28.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.08198, allocations: 7.938 kB / 481.9 MB, free: 28.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.08216, allocations: 43.75 kB / 481.9 MB, free: 28.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.08238, allocations: 67.66 kB / 482 MB, free: 27.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.08286, allocations: 211.7 kB / 482.2 MB, free: 27.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.08309, allocations: 275.3 kB / 482.5 MB, free: 27.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.08323, allocations: 77.14 kB / 482.5 MB, free: 27.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.08333, allocations: 103.5 kB / 482.6 MB, free: 27.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.08348, allocations: 123.4 kB / 482.7 MB, free: 27.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.08352, allocations: 8 kB / 482.8 MB, free: 27.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.08364, allocations: 79.92 kB / 482.8 MB, free: 27.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.08371, allocations: 47.78 kB / 482.9 MB, free: 27.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.785e-05/0.0838, allocations: 125 kB / 483 MB, free: 26.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.08406, allocations: 302.9 kB / 483.3 MB, free: 26.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.08408, allocations: 4 kB / 483.3 MB, free: 26.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.08408, allocations: 3.938 kB / 483.3 MB, free: 26.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.08409, allocations: 0 / 483.3 MB, free: 26.61 MB / 330.7 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.000722/0.08482, allocations: 0.5742 MB / 483.9 MB, free: 25.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.08487, allocations: 12.03 kB / 483.9 MB, free: 25.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.08493, allocations: 28.66 kB / 483.9 MB, free: 25.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.08523, allocations: 302.5 kB / 484.2 MB, free: 25.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.08526, allocations: 12.38 kB / 484.2 MB, free: 25.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.0853, allocations: 24.38 kB / 484.3 MB, free: 25.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.08585, allocations: 309.2 kB / 484.6 MB, free: 25.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.08587, allocations: 0 / 484.6 MB, free: 25.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.0859, allocations: 8 kB / 484.6 MB, free: 25.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.08591, allocations: 4 kB / 484.6 MB, free: 25.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.0865, allocations: 264.3 kB / 484.8 MB, free: 24.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000906/0.08742, allocations: 0.9788 MB / 485.8 MB, free: 23.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.08814, allocations: 352.8 kB / 486.1 MB, free: 23.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.08846, allocations: 165.7 kB / 486.3 MB, free: 23.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.0885, allocations: 7.984 kB / 486.3 MB, free: 23.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.08896, allocations: 262.6 kB / 486.6 MB, free: 23.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/0.08897, allocations: 0 / 486.6 MB, free: 23.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.00105/0.09003, allocations: 0.5279 MB / 487.1 MB, free: 22.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.09008, allocations: 162.2 kB / 487.3 MB, free: 22.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.0903, allocations: 246.6 kB / 487.5 MB, free: 22.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.09033, allocations: 33.7 kB / 487.5 MB, free: 22.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.09041, allocations: 164.3 kB / 487.7 MB, free: 21.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.09046, allocations: 63.11 kB / 487.8 MB, free: 21.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.09048, allocations: 4 kB / 487.8 MB, free: 21.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.09054, allocations: 338.8 kB / 488.1 MB, free: 21.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.09085, allocations: 139.9 kB / 488.2 MB, free: 21.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.09118, allocations: 217.7 kB / 488.4 MB, free: 21.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.09177, allocations: 370.7 kB / 488.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.09178, allocations: 0 / 488.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001741/0.09352, allocations: 0.7947 MB / 489.6 MB, free: 19.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.388e-05/0.0936, allocations: 156.2 kB / 489.7 MB, free: 19.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.09362, allocations: 4.125 kB / 489.8 MB, free: 19.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.09407, allocations: 153.6 kB / 489.9 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.0943, allocations: 35.97 kB / 489.9 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.09833, allocations: 3.817 MB / 493.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.09863, allocations: 55.89 kB / 493.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.09866, allocations: 12 kB / 493.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.09868, allocations: 4 kB / 493.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004363/0.09912, allocations: 303 kB / 494.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.09914, allocations: 0 / 494.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.09915, allocations: 4 kB / 494.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.0994, allocations: 64.05 kB / 494.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.09941, allocations: 3.984 kB / 494.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.09956, allocations: 23.84 kB / 494.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.09958, allocations: 12 kB / 494.2 MB, free: 14.97 MB / 330.7 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.09977, allocations: 259.1 kB / 494.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.09981, allocations: 35.66 kB / 494.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.09987, allocations: 42.11 kB / 494.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.09988, allocations: 0 / 494.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.09989, allocations: 4 kB / 494.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.0999, allocations: 0 / 494.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1001, allocations: 325.3 kB / 494.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1001, allocations: 7.938 kB / 494.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.1005, allocations: 67.88 kB / 495 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1005, allocations: 0 / 495 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1005, allocations: 8 kB / 495 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1005, allocations: 0 / 495 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1005, allocations: 4 kB / 495 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1015, allocations: 0.6174 MB / 495.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.1016, allocations: 104.8 kB / 495.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1016, allocations: 8 kB / 495.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1018, allocations: 36.03 kB / 495.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.1019, allocations: 35.97 kB / 495.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.102, allocations: 12 kB / 495.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1021, allocations: 182 kB / 496 MB, free: 13.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1021, allocations: 0 / 496 MB, free: 13.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004934/0.1026, allocations: 111.8 kB / 496.1 MB, free: 13.04 MB / 330.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001942/0.1028, allocations: 143.3 kB / 496.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.1043, allocations: 0.9377 MB / 497.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1043, allocations: 4.062 kB / 497.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.1047, allocations: 251.2 kB / 497.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.105, allocations: 52.45 kB / 497.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008359/0.1059, allocations: 0.6253 MB / 498.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.1061, allocations: 0.7558 MB / 498.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.1062, allocations: 33.94 kB / 498.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.1063, allocations: 19.44 kB / 498.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1063, allocations: 0 / 498.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of Templates: time 0.007258/0.1136, allocations: 4.723 MB / 0.4918 GB, free: 5.406 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)