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/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 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.007438/0.007438, allocations: 172 kB / 15.11 MB, free: 5.98 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.574/1.574, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009844/0.0009839, allocations: 90.88 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05265/0.05265, allocations: 14.16 MB / 332 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003639, allocations: 9.594 kB / 395.6 MB, free: 50.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1046, allocations: 51.12 MB / 446.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.2176, allocations: 79.81 MB / 0.5142 GB, free: 4.914 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.2179, allocations: 67.97 kB / 0.5143 GB, free: 4.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.202/0.4199, allocations: 6.246 MB / 0.5204 GB, free: 81.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4199, allocations: 0 / 0.5204 GB, free: 81.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.4199, allocations: 13.88 kB / 0.5204 GB, free: 81.93 MB / 362.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.0007667/0.4207, allocations: 0.6084 MB / 0.521 GB, free: 81.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4208, allocations: 14.56 kB / 0.521 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.4208, allocations: 32.81 kB / 0.521 GB, free: 81.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.4212, allocations: 318.9 kB / 0.5213 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4213, allocations: 13.44 kB / 0.5213 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.4213, allocations: 29.66 kB / 0.5214 GB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.4219, allocations: 305 kB / 0.5217 GB, free: 81.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4219, allocations: 3.688 kB / 0.5217 GB, free: 81.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.4219, allocations: 9.812 kB / 0.5217 GB, free: 81.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4219, allocations: 8.141 kB / 0.5217 GB, free: 81.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.4224, allocations: 214.6 kB / 0.5219 GB, free: 81.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.4235, allocations: 1.081 MB / 0.5229 GB, free: 80.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.4242, allocations: 295 kB / 0.5232 GB, free: 80.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4242, allocations: 7.406 kB / 0.5232 GB, free: 80.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003659/0.4246, allocations: 224.3 kB / 0.5234 GB, free: 80.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.4246, allocations: 4 kB / 0.5234 GB, free: 80.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001013/0.4256, allocations: 0.5468 MB / 0.524 GB, free: 80.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.4257, allocations: 160 kB / 0.5241 GB, free: 79.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.4259, allocations: 240.1 kB / 0.5244 GB, free: 79.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.426, allocations: 35.98 kB / 0.5244 GB, free: 79.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.4261, allocations: 171.6 kB / 0.5246 GB, free: 79.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.4261, allocations: 74.5 kB / 0.5246 GB, free: 79.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.4262, allocations: 5.281 kB / 0.5246 GB, free: 79.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.4263, allocations: 345.5 kB / 0.525 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.4265, allocations: 107.4 kB / 0.5251 GB, free: 79.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.4268, allocations: 197.4 kB / 0.5253 GB, free: 79.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.4271, allocations: 155.5 kB / 0.5254 GB, free: 79.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4271, allocations: 5.031 kB / 0.5254 GB, free: 79.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001116/0.4282, allocations: 0.56 MB / 0.526 GB, free: 78.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.4284, allocations: 0.5597 MB / 0.5265 GB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4284, allocations: 1.781 kB / 0.5265 GB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.4289, allocations: 147.6 kB / 0.5266 GB, free: 78.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.429, allocations: 29.5 kB / 0.5267 GB, free: 78.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.4301, allocations: 1.341 MB / 0.528 GB, free: 77.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.4303, allocations: 37.92 kB / 0.528 GB, free: 77.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.4304, allocations: 11.28 kB / 0.528 GB, free: 77.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.4304, allocations: 3.5 kB / 0.528 GB, free: 77.32 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006324/0.431, allocations: 388.2 kB / 0.5284 GB, free: 77.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.431, allocations: 3.688 kB / 0.5284 GB, free: 77.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.4312, allocations: 70.66 kB / 0.5285 GB, free: 77.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4313, allocations: 37.48 kB / 0.5285 GB, free: 77.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.4331, allocations: 3.015 MB / 0.5315 GB, free: 74.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.4333, allocations: 25.12 kB / 0.5315 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.4333, allocations: 12.62 kB / 0.5315 GB, free: 74.52 MB / 362.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.0002251/0.4336, allocations: 257.8 kB / 0.5317 GB, free: 74.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.4336, allocations: 27.62 kB / 0.5318 GB, free: 74.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/0.4337, allocations: 34.36 kB / 0.5318 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4337, allocations: 3.844 kB / 0.5318 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4337, allocations: 8.016 kB / 0.5318 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4337, allocations: 1.406 kB / 0.5318 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.4341, allocations: 338 kB / 0.5321 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4341, allocations: 2.047 kB / 0.5321 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4343, allocations: 41.45 kB / 0.5322 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4343, allocations: 0 / 0.5322 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.4343, allocations: 9.156 kB / 0.5322 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4343, allocations: 2.906 kB / 0.5322 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4344, allocations: 0 / 0.5322 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.4353, allocations: 0.5928 MB / 0.5328 GB, free: 73.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.4354, allocations: 104.4 kB / 0.5329 GB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.4355, allocations: 6.906 kB / 0.5329 GB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.4356, allocations: 30.11 kB / 0.5329 GB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.4357, allocations: 16.81 kB / 0.5329 GB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.4358, allocations: 15.09 kB / 0.5329 GB, free: 73.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.4359, allocations: 196.1 kB / 0.5331 GB, free: 73.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.436, allocations: 0 / 0.5331 GB, free: 73.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000548/0.4365, allocations: 129.7 kB / 0.5332 GB, free: 73.69 MB / 362.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.0001885/0.4367, allocations: 149.4 kB / 0.5334 GB, free: 73.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.4382, allocations: 0.8929 MB / 0.5342 GB, free: 73.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4383, allocations: 0 / 0.5342 GB, free: 73.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.4386, allocations: 214.7 kB / 0.5345 GB, free: 73.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4389, allocations: 48.14 kB / 0.5345 GB, free: 73.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4403, allocations: 0.7722 MB / 0.5353 GB, free: 72.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.4405, allocations: 0.7772 MB / 0.536 GB, free: 72.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.4407, allocations: 35.31 kB / 0.536 GB, free: 72.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.4407, allocations: 19.44 kB / 0.5361 GB, free: 72.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4407, allocations: 0 / 0.5361 GB, free: 72.07 MB / 362.7 MB Notification: Performance of Templates: time 0.008174/0.4489, allocations: 4.089 MB / 0.5401 GB, free: 71.29 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1)