Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 181.4 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 222.3 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000763/0.000763, allocations: 82.41 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06054/0.06054, allocations: 14.19 MB / 333.1 MB, free: 9.664 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004806, allocations: 15.88 kB / 396.9 MB, free: 62.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 51.12 MB / 448 MB, free: 11.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4848, allocations: 79.84 MB / 0.5155 GB, free: 10.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4851, allocations: 65.84 kB / 0.5156 GB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.501, allocations: 6.292 MB / 0.5217 GB, free: 5.566 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.501, allocations: 0 / 0.5217 GB, free: 5.566 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.5011, allocations: 8 kB / 0.5217 GB, free: 5.559 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009257/0.502, allocations: 0.6054 MB / 0.5223 GB, free: 4.918 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.502, allocations: 15.97 kB / 0.5223 GB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.5022, allocations: 36.5 kB / 0.5224 GB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.5026, allocations: 329.4 kB / 0.5227 GB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.5026, allocations: 19.44 kB / 0.5227 GB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.5027, allocations: 16.25 kB / 0.5227 GB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.5032, allocations: 312.4 kB / 0.523 GB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5032, allocations: 192 / 0.523 GB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.5033, allocations: 9 kB / 0.523 GB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5033, allocations: 8 kB / 0.523 GB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.5037, allocations: 218 kB / 0.5232 GB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.5048, allocations: 1.075 MB / 0.5243 GB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.5054, allocations: 293.4 kB / 0.5246 GB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.5057, allocations: 152.9 kB / 0.5247 GB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.5058, allocations: 4 kB / 0.5247 GB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003346/0.5061, allocations: 224.9 kB / 0.5249 GB, free: 2.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.5061, allocations: 0 / 0.5249 GB, free: 2.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009086/0.507, allocations: 480.9 kB / 0.5254 GB, free: 2.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5071, allocations: 158.2 kB / 0.5255 GB, free: 1.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.5073, allocations: 285.1 kB / 0.5258 GB, free: 1.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.5074, allocations: 33.83 kB / 0.5258 GB, free: 1.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.5075, allocations: 172.2 kB / 0.526 GB, free: 1.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.5075, allocations: 69.38 kB / 0.5261 GB, free: 1.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.5075, allocations: 7.125 kB / 0.5261 GB, free: 1.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.5076, allocations: 336.1 kB / 0.5264 GB, free: 1.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.5079, allocations: 119.9 kB / 0.5265 GB, free: 0.9883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.5081, allocations: 193.3 kB / 0.5267 GB, free: 0.7969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.5086, allocations: 323.2 kB / 0.527 GB, free: 0.5156 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5086, allocations: 4 kB / 0.527 GB, free: 0.5117 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001284/0.5099, allocations: 0.6242 MB / 0.5276 GB, free: 15.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.5101, allocations: 158.4 kB / 0.5278 GB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5101, allocations: 4 kB / 0.5278 GB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004751/0.5106, allocations: 149.7 kB / 0.5279 GB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.5108, allocations: 31.28 kB / 0.5279 GB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/0.5151, allocations: 3.605 MB / 0.5315 GB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.5153, allocations: 43.61 kB / 0.5315 GB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.5154, allocations: 13.88 kB / 0.5315 GB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5154, allocations: 4 kB / 0.5315 GB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007708/0.5162, allocations: 391.7 kB / 0.5319 GB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.5162, allocations: 4 kB / 0.5319 GB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.5164, allocations: 68 kB / 0.532 GB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.5166, allocations: 33.31 kB / 0.532 GB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.5196, allocations: 3.006 MB / 0.5349 GB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.5199, allocations: 35.14 kB / 0.535 GB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.52, allocations: 8 kB / 0.535 GB, free: 8.492 MB / 346.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,leadLagNegativeGain.integ_fb.local_reset,leadLagPositiveGain.integ_fb.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004995/0.5205, allocations: 268 kB / 0.5352 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5206, allocations: 31.7 kB / 0.5353 GB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.834e-05/0.5207, allocations: 26.97 kB / 0.5353 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5207, allocations: 3.984 kB / 0.5353 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.5207, allocations: 8.109 kB / 0.5353 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5207, allocations: 11.94 kB / 0.5353 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.5213, allocations: 330.2 kB / 0.5356 GB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.5213, allocations: 3.984 kB / 0.5356 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.5215, allocations: 43.55 kB / 0.5357 GB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.5215, allocations: 0 / 0.5357 GB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.5216, allocations: 11.3 kB / 0.5357 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5216, allocations: 7.938 kB / 0.5357 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5216, allocations: 0 / 0.5357 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.5228, allocations: 0.572 MB / 0.5362 GB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.5229, allocations: 104.8 kB / 0.5363 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.5229, allocations: 7.125 kB / 0.5363 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.5231, allocations: 27.3 kB / 0.5364 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.5232, allocations: 11.11 kB / 0.5364 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.5232, allocations: 15.36 kB / 0.5364 GB, free: 7.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002201/0.5235, allocations: 195.8 kB / 0.5366 GB, free: 6.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5235, allocations: 0 / 0.5366 GB, free: 6.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007419/0.5242, allocations: 128.9 kB / 0.5367 GB, free: 6.867 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (leadLagPositiveGain.integ_fb.y,leadLagNegativeGain.integ_fb.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.0002995/0.5245, allocations: 154.2 kB / 0.5369 GB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.5264, allocations: 1.129 MB / 0.538 GB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5264, allocations: 0 / 0.538 GB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.5268, allocations: 212 kB / 0.5382 GB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.5272, allocations: 54.17 kB / 0.5382 GB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.5287, allocations: 0.7695 MB / 0.539 GB, free: 4.703 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.5291, allocations: 0.7794 MB / 0.5397 GB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.5293, allocations: 29.94 kB / 0.5398 GB, free: 3.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.5293, allocations: 23.44 kB / 0.5398 GB, free: 3.844 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.5293, allocations: 0 / 0.5398 GB, free: 3.844 MB / 346.7 MB Notification: Performance of Templates: time 0.009813/0.5392, allocations: 4.459 MB / 0.5441 GB, free: 15.41 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1)