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.0009626/0.0009626, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.3 MB / 213.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009399/0.0009401, allocations: 90.22 kB / 261.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05266/0.05266, allocations: 14.01 MB / 323.4 MB, free: 13.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.652e-05, allocations: 7.938 kB / 381.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2875, allocations: 51.11 MB / 433 MB, free: 16.05 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3983, allocations: 79.05 MB / 0.5 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.3986, allocations: 67.95 kB / 0.5001 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01733/0.4159, allocations: 6.203 MB / 0.5061 GB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.416, allocations: 0 / 0.5061 GB, free: 10.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.416, allocations: 4 kB / 0.5061 GB, free: 10.6 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.0007781/0.4168, allocations: 0.5579 MB / 0.5067 GB, free: 9.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4168, allocations: 8.031 kB / 0.5067 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.4169, allocations: 35.75 kB / 0.5067 GB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.4174, allocations: 326.3 kB / 0.507 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4174, allocations: 8 kB / 0.507 GB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.4174, allocations: 15.95 kB / 0.5071 GB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002494/0.4177, allocations: 136.4 kB / 0.5072 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.4181, allocations: 248.1 kB / 0.5074 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4181, allocations: 0 / 0.5074 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.4181, allocations: 4 kB / 0.5074 GB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4181, allocations: 7.938 kB / 0.5074 GB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.4194, allocations: 1.025 MB / 0.5084 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.4198, allocations: 213.2 kB / 0.5086 GB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.42, allocations: 121.7 kB / 0.5088 GB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.42, allocations: 4.141 kB / 0.5088 GB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.4203, allocations: 191.2 kB / 0.5089 GB, free: 7.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.4203, allocations: 0 / 0.5089 GB, free: 7.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005308/0.4208, allocations: 272.6 kB / 0.5092 GB, free: 7.223 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.4209, allocations: 158.2 kB / 0.5094 GB, free: 7.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4212, allocations: 234.2 kB / 0.5096 GB, free: 6.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.4212, allocations: 29.7 kB / 0.5096 GB, free: 6.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.4213, allocations: 172.4 kB / 0.5098 GB, free: 6.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.4214, allocations: 67.05 kB / 0.5098 GB, free: 6.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.4214, allocations: 0 / 0.5098 GB, free: 6.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4215, allocations: 346.9 kB / 0.5102 GB, free: 6.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.4217, allocations: 75.98 kB / 0.5102 GB, free: 6.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.4219, allocations: 163.2 kB / 0.5104 GB, free: 5.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.422, allocations: 94.42 kB / 0.5105 GB, free: 5.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.422, allocations: 0 / 0.5105 GB, free: 5.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000947/0.423, allocations: 442.5 kB / 0.5109 GB, free: 5.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.4232, allocations: 0.5545 MB / 0.5115 GB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4233, allocations: 4 kB / 0.5115 GB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.4236, allocations: 93.75 kB / 0.5115 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4237, allocations: 27.97 kB / 0.5116 GB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007979/0.4245, allocations: 1.159 MB / 0.5127 GB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.4247, allocations: 31.86 kB / 0.5127 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.4248, allocations: 19.98 kB / 0.5128 GB, free: 3.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.4248, allocations: 4 kB / 0.5128 GB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005419/0.4254, allocations: 313.3 kB / 0.5131 GB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4254, allocations: 3.953 kB / 0.5131 GB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.4255, allocations: 69.69 kB / 0.5131 GB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4257, allocations: 27.92 kB / 0.5132 GB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2286/0.6543, allocations: 2.88 MB / 0.516 GB, free: 86.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.6546, allocations: 24.27 kB / 0.516 GB, free: 86.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.6547, allocations: 10.91 kB / 0.516 GB, free: 86.86 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: leadLagNegativeGain.gain_dir.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: leadLagPositiveGain.gain_dir.y:VARIABLE() "Output signal connector" type: Real 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 () * 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.000195/0.6549, allocations: 154.6 kB / 0.5161 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.655, allocations: 36.05 kB / 0.5162 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.655, allocations: 30 kB / 0.5162 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6551, allocations: 5.656 kB / 0.5162 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6551, allocations: 1.156 kB / 0.5162 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6551, allocations: 6.516 kB / 0.5162 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.6554, allocations: 293.5 kB / 0.5165 GB, free: 86.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6554, allocations: 0.5625 kB / 0.5165 GB, free: 86.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.6556, allocations: 45.09 kB / 0.5165 GB, free: 86.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6556, allocations: 2.078 kB / 0.5165 GB, free: 86.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.6557, allocations: 5.656 kB / 0.5166 GB, free: 86.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6557, allocations: 6.484 kB / 0.5166 GB, free: 86.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6557, allocations: 2.5 kB / 0.5166 GB, free: 86.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.6564, allocations: 456.2 kB / 0.517 GB, free: 86.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.6564, allocations: 104.3 kB / 0.5171 GB, free: 86.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.6565, allocations: 4.625 kB / 0.5171 GB, free: 86.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.6567, allocations: 21.22 kB / 0.5171 GB, free: 86.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.6567, allocations: 15.25 kB / 0.5171 GB, free: 86.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.6568, allocations: 11.83 kB / 0.5171 GB, free: 86.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.657, allocations: 186.9 kB / 0.5173 GB, free: 86.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.657, allocations: 0 / 0.5173 GB, free: 86.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006116/0.6576, allocations: 115.6 kB / 0.5174 GB, free: 86.3 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) * 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.000206/0.6578, allocations: 136 kB / 0.5176 GB, free: 86.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008555/0.6587, allocations: 0.7095 MB / 0.5183 GB, free: 85.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6587, allocations: 0 / 0.5183 GB, free: 85.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.6589, allocations: 181.7 kB / 0.5184 GB, free: 85.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.6592, allocations: 53.7 kB / 0.5185 GB, free: 85.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.6604, allocations: 0.5264 MB / 0.519 GB, free: 85.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.6606, allocations: 0.7755 MB / 0.5198 GB, free: 84.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.6608, allocations: 40.69 kB / 0.5198 GB, free: 84.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.6608, allocations: 22.73 kB / 0.5198 GB, free: 84.95 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6608, allocations: 0 / 0.5198 GB, free: 84.95 MB / 362.7 MB Notification: Performance of Templates: time 0.008574/0.6694, allocations: 4.362 MB / 0.5241 GB, free: 84.66 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)