Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 177.6 kB / 15.43 MB, free: 6.207 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.466/1.466, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.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.0007505/0.0007506, allocations: 97.67 kB / 293 MB, free: 4.812 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.07723/0.07723, allocations: 14.38 MB / 358.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003162, allocations: 10 kB / 425.3 MB, free: 97.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08309/0.08342, allocations: 53.95 MB / 479.2 MB, free: 56.15 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.001715/0.08518, allocations: 1.782 MB / 481 MB, free: 54.35 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.08637, allocations: 1.005 MB / 482 MB, free: 53.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.08652, allocations: 11.88 kB / 482 MB, free: 53.29 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.08674, allocations: 59.66 kB / 482.1 MB, free: 53.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.08687, allocations: 63.67 kB / 482.1 MB, free: 53.17 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.08748, allocations: 239.6 kB / 482.4 MB, free: 52.94 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.08777, allocations: 331.1 kB / 482.7 MB, free: 52.61 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.08795, allocations: 107.3 kB / 482.8 MB, free: 52.51 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.08806, allocations: 107.4 kB / 482.9 MB, free: 52.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.08822, allocations: 135.3 kB / 483 MB, free: 52.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.08826, allocations: 12 kB / 483.1 MB, free: 52.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.08839, allocations: 67.94 kB / 483.1 MB, free: 52.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.08846, allocations: 59.62 kB / 483.2 MB, free: 52.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.635e-05/0.08856, allocations: 132.9 kB / 483.3 MB, free: 52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.08883, allocations: 326.8 kB / 483.6 MB, free: 51.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.08884, allocations: 0 / 483.6 MB, free: 51.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.08885, allocations: 0 / 483.6 MB, free: 51.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.08886, allocations: 0 / 483.6 MB, free: 51.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006746/0.08954, allocations: 0.6013 MB / 484.2 MB, free: 51.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.08958, allocations: 12.03 kB / 484.2 MB, free: 51.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.08964, allocations: 36.56 kB / 484.3 MB, free: 50.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.08994, allocations: 323.3 kB / 484.6 MB, free: 50.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.08997, allocations: 16.38 kB / 484.6 MB, free: 50.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.09001, allocations: 16.38 kB / 484.6 MB, free: 50.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.09054, allocations: 304.5 kB / 484.9 MB, free: 50.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.09056, allocations: 3.938 kB / 484.9 MB, free: 50.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.09059, allocations: 8 kB / 484.9 MB, free: 50.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.0906, allocations: 4 kB / 484.9 MB, free: 50.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.09116, allocations: 240.5 kB / 485.2 MB, free: 50.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.09219, allocations: 0.86 MB / 486 MB, free: 49.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/0.09311, allocations: 371.7 kB / 486.4 MB, free: 48.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.09341, allocations: 158.6 kB / 486.5 MB, free: 48.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.09345, allocations: 0 / 486.5 MB, free: 48.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/0.09388, allocations: 251.5 kB / 486.8 MB, free: 48.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.432e-06/0.09389, allocations: 0 / 486.8 MB, free: 48.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001003/0.0949, allocations: 499 kB / 487.3 MB, free: 47.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.09497, allocations: 213.6 kB / 487.5 MB, free: 47.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.09518, allocations: 271 kB / 487.8 MB, free: 47.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.0952, allocations: 33.7 kB / 487.8 MB, free: 47.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.09529, allocations: 172.3 kB / 488 MB, free: 47.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.09533, allocations: 70.98 kB / 488 MB, free: 46.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.09535, allocations: 12.03 kB / 488 MB, free: 46.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.09543, allocations: 334.8 kB / 488.4 MB, free: 46.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.09572, allocations: 123.9 kB / 488.5 MB, free: 46.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.09604, allocations: 198.4 kB / 488.7 MB, free: 46.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.0966, allocations: 332.3 kB / 489 MB, free: 45.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.09662, allocations: 0 / 489 MB, free: 45.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007034/0.09732, allocations: 412.8 kB / 489.4 MB, free: 45.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.0974, allocations: 145.4 kB / 489.5 MB, free: 45.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.09741, allocations: 0 / 489.5 MB, free: 45.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.09743, allocations: 7.938 kB / 489.6 MB, free: 45.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.09767, allocations: 55.97 kB / 489.6 MB, free: 45.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.09769, allocations: 3.938 kB / 489.6 MB, free: 45.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.09792, allocations: 51.81 kB / 489.7 MB, free: 45.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.09795, allocations: 8 kB / 489.7 MB, free: 45.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.09796, allocations: 4 kB / 489.7 MB, free: 45.2 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000437/0.0984, allocations: 285.5 kB / 490 MB, free: 44.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.09842, allocations: 0 / 490 MB, free: 44.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-06/0.09843, allocations: 3.938 kB / 490 MB, free: 44.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.09857, allocations: 39.91 kB / 490 MB, free: 44.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.09858, allocations: 3.938 kB / 490 MB, free: 44.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.09875, allocations: 31.83 kB / 490 MB, free: 44.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.09877, allocations: 4 kB / 490 MB, free: 44.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 prepare postOptimizeDAE: time 0.0001455/0.09892, allocations: 266.8 kB / 490.3 MB, free: 44.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.09896, allocations: 31.66 kB / 490.3 MB, free: 44.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.09902, allocations: 30.2 kB / 490.4 MB, free: 44.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.09903, allocations: 0 / 490.4 MB, free: 44.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.09904, allocations: 4 kB / 490.4 MB, free: 44.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.09905, allocations: 0 / 490.4 MB, free: 44.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.09929, allocations: 341.3 kB / 490.7 MB, free: 44.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.0993, allocations: 0 / 490.7 MB, free: 44.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.09956, allocations: 47.97 kB / 490.7 MB, free: 44.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.09957, allocations: 3.938 kB / 490.7 MB, free: 44.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.0996, allocations: 11.98 kB / 490.8 MB, free: 44.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.09961, allocations: 7.938 kB / 490.8 MB, free: 44.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.09961, allocations: 0 / 490.8 MB, free: 44.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1006, allocations: 0.5915 MB / 491.4 MB, free: 43.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.1007, allocations: 104.8 kB / 491.5 MB, free: 43.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.1007, allocations: 8 kB / 491.5 MB, free: 43.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.101, allocations: 31.97 kB / 491.5 MB, free: 43.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.101, allocations: 23.91 kB / 491.5 MB, free: 43.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.1011, allocations: 8.062 kB / 491.5 MB, free: 43.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.1012, allocations: 201.9 kB / 491.7 MB, free: 43.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1012, allocations: 0 / 491.7 MB, free: 43.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.1016, allocations: 111.8 kB / 491.8 MB, free: 42.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (PIController.firstOrder.y,PIControllerNegativeKp.firstOrder.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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.1018, allocations: 127.2 kB / 492 MB, free: 42.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008861/0.1027, allocations: 0.5688 MB / 492.5 MB, free: 42.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1027, allocations: 0 / 492.5 MB, free: 42.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.103, allocations: 223.6 kB / 492.7 MB, free: 41.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1034, allocations: 75.59 kB / 492.8 MB, free: 41.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000971/0.1044, allocations: 0.7082 MB / 493.5 MB, free: 41.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.1046, allocations: 0.7638 MB / 494.3 MB, free: 40.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.1047, allocations: 33.94 kB / 494.3 MB, free: 40.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.1048, allocations: 19.44 kB / 494.3 MB, free: 40.3 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1048, allocations: 0 / 494.3 MB, free: 40.3 MB / 346.7 MB Notification: Performance of Templates: time 0.0064/0.1112, allocations: 3.813 MB / 498.2 MB, free: 36.54 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)