Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 182.5 kB / 15.43 MB, free: 5.77 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.355/1.355, allocations: 225.7 MB / 241.9 MB, free: 408 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.0008219/0.0008219, allocations: 97.41 kB / 293.1 MB, free: 12.93 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.062/0.062, allocations: 14.38 MB / 358.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003324, allocations: 8 kB / 425.3 MB, free: 84.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07041/0.07076, allocations: 53.95 MB / 479.2 MB, free: 30.82 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.001584/0.07238, allocations: 1.531 MB / 480.7 MB, free: 29.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.07356, allocations: 0.9187 MB / 481.7 MB, free: 28.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.07371, allocations: 7.938 kB / 481.7 MB, free: 28.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.07389, allocations: 43.81 kB / 481.7 MB, free: 28.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.07401, allocations: 47.75 kB / 481.8 MB, free: 28.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.07455, allocations: 195.7 kB / 482 MB, free: 28.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.07478, allocations: 227.4 kB / 482.2 MB, free: 27.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.0749, allocations: 49.86 kB / 482.2 MB, free: 27.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.07505, allocations: 83.62 kB / 482.3 MB, free: 27.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.0752, allocations: 115.4 kB / 482.4 MB, free: 27.56 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.07524, allocations: 8 kB / 482.4 MB, free: 27.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.07536, allocations: 71.94 kB / 482.5 MB, free: 27.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.07543, allocations: 39.83 kB / 482.5 MB, free: 27.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.07552, allocations: 109.1 kB / 482.6 MB, free: 27.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.07577, allocations: 247.2 kB / 482.9 MB, free: 27.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.07579, allocations: 0 / 482.9 MB, free: 27.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.07579, allocations: 0 / 482.9 MB, free: 27.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.07581, allocations: 0 / 482.9 MB, free: 27.09 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006931/0.07651, allocations: 0.5471 MB / 483.4 MB, free: 26.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.07655, allocations: 8.031 kB / 483.4 MB, free: 26.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.07661, allocations: 28.66 kB / 483.5 MB, free: 26.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.07687, allocations: 278.7 kB / 483.7 MB, free: 26.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.0769, allocations: 12.31 kB / 483.8 MB, free: 26.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.07693, allocations: 16.36 kB / 483.8 MB, free: 26.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.07748, allocations: 288.2 kB / 484.1 MB, free: 25.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.0775, allocations: 3.938 kB / 484.1 MB, free: 25.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.07753, allocations: 4 kB / 484.1 MB, free: 25.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.07754, allocations: 4 kB / 484.1 MB, free: 25.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.07821, allocations: 251.8 kB / 484.3 MB, free: 25.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.07909, allocations: 0.8844 MB / 485.2 MB, free: 24.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.07991, allocations: 324.9 kB / 485.5 MB, free: 24.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.08027, allocations: 161.6 kB / 485.7 MB, free: 24.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.08031, allocations: 4 kB / 485.7 MB, free: 24.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.08079, allocations: 250.7 kB / 485.9 MB, free: 23.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.08081, allocations: 0 / 485.9 MB, free: 23.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001191/0.082, allocations: 0.5183 MB / 486.4 MB, free: 23.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.08205, allocations: 162.2 kB / 486.6 MB, free: 23.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.08223, allocations: 236.9 kB / 486.8 MB, free: 22.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.08226, allocations: 33.7 kB / 486.9 MB, free: 22.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.08233, allocations: 140.3 kB / 487 MB, free: 22.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.08237, allocations: 47.34 kB / 487 MB, free: 22.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.08239, allocations: 8.094 kB / 487 MB, free: 22.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.08245, allocations: 330.8 kB / 487.4 MB, free: 22.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.0828, allocations: 143.9 kB / 487.5 MB, free: 22.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.0832, allocations: 202.7 kB / 487.7 MB, free: 21.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.08388, allocations: 368.3 kB / 488.1 MB, free: 21.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/0.0839, allocations: 4 kB / 488.1 MB, free: 21.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000831/0.08473, allocations: 430.9 kB / 488.5 MB, free: 21.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.08481, allocations: 171 kB / 488.7 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.08482, allocations: 0 / 488.7 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.08484, allocations: 8.062 kB / 488.7 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.08513, allocations: 67.89 kB / 488.7 MB, free: 20.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.08515, allocations: 3.984 kB / 488.7 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.08538, allocations: 55.81 kB / 488.8 MB, free: 20.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.08541, allocations: 8 kB / 488.8 MB, free: 20.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.032e-06/0.08542, allocations: 4 kB / 488.8 MB, free: 20.76 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003668/0.0858, allocations: 269.4 kB / 489.1 MB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.08582, allocations: 4 kB / 489.1 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-06/0.08583, allocations: 3.938 kB / 489.1 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.08598, allocations: 39.92 kB / 489.1 MB, free: 20.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.08599, allocations: 7.922 kB / 489.1 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.08611, allocations: 19.92 kB / 489.1 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.08613, allocations: 4 kB / 489.1 MB, free: 20.41 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,integrator2.I.local_reset,integrator1.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): 17 * 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.000124/0.08626, allocations: 267.7 kB / 489.4 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.0863, allocations: 27.7 kB / 489.4 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.08636, allocations: 25.84 kB / 489.5 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.08637, allocations: 3.938 kB / 489.5 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.08638, allocations: 0 / 489.5 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.08639, allocations: 7.984 kB / 489.5 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.08658, allocations: 289.3 kB / 489.8 MB, free: 19.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.08659, allocations: 0 / 489.8 MB, free: 19.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.08687, allocations: 55.95 kB / 489.8 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.08688, allocations: 4 kB / 489.8 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.08691, allocations: 4 kB / 489.8 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.08692, allocations: 7.922 kB / 489.8 MB, free: 19.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.08692, allocations: 0 / 489.8 MB, free: 19.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.08811, allocations: 0.5932 MB / 490.4 MB, free: 19.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.08816, allocations: 104.8 kB / 490.5 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.08821, allocations: 7.984 kB / 490.5 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.08842, allocations: 51.91 kB / 490.6 MB, free: 18.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.08851, allocations: 27.95 kB / 490.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.08853, allocations: 4 kB / 490.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.08865, allocations: 172.5 kB / 490.8 MB, free: 18.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08866, allocations: 0 / 490.8 MB, free: 18.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.08901, allocations: 88.06 kB / 490.9 MB, free: 18.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.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 (11): * Single equations (assignments): 10 * 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.0001586/0.08918, allocations: 137.3 kB / 491 MB, free: 18.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000988/0.09017, allocations: 0.569 MB / 491.6 MB, free: 17.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.09019, allocations: 384 / 491.6 MB, free: 17.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.09059, allocations: 255.2 kB / 491.8 MB, free: 17.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.09094, allocations: 44.41 kB / 491.9 MB, free: 17.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009419/0.09189, allocations: 0.5544 MB / 492.4 MB, free: 16.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.09205, allocations: 0.7404 MB / 493.2 MB, free: 16.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.09219, allocations: 25.55 kB / 493.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.09226, allocations: 27.42 kB / 493.2 MB, free: 16.14 MB / 330.7 MB Notification: Performance of SimCode: time 3.6e-07/0.09226, allocations: 0 / 493.2 MB, free: 16.14 MB / 330.7 MB Notification: Performance of Templates: time 0.006085/0.09835, allocations: 3.573 MB / 496.8 MB, free: 12.61 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)