Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006323/0.006323, 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.506/1.506, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009129/0.0009129, allocations: 90.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05469/0.05469, allocations: 14.17 MB / 332 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004166, allocations: 9.297 kB / 395.6 MB, free: 50.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09439, allocations: 51.12 MB / 446.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.2002, allocations: 79.69 MB / 0.5141 GB, free: 5.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.2005, allocations: 67.97 kB / 0.5142 GB, free: 5.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1918/0.3923, allocations: 5.524 MB / 0.5196 GB, free: 82.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3924, allocations: 0 / 0.5196 GB, free: 82.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.3924, allocations: 9.625 kB / 0.5196 GB, free: 82.24 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008166/0.3932, allocations: 0.5703 MB / 0.5201 GB, free: 81.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3933, allocations: 9.031 kB / 0.5201 GB, free: 81.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.3934, allocations: 27.97 kB / 0.5202 GB, free: 81.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.3937, allocations: 294.7 kB / 0.5204 GB, free: 81.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3938, allocations: 7.906 kB / 0.5204 GB, free: 81.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.3938, allocations: 14.03 kB / 0.5205 GB, free: 81.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.3944, allocations: 291.8 kB / 0.5207 GB, free: 81.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3945, allocations: 4.266 kB / 0.5207 GB, free: 81.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.3945, allocations: 5.969 kB / 0.5207 GB, free: 81.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3945, allocations: 2.719 kB / 0.5207 GB, free: 81.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.3953, allocations: 262.4 kB / 0.521 GB, free: 81.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3965, allocations: 0.9739 MB / 0.5219 GB, free: 80.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3976, allocations: 333.1 kB / 0.5223 GB, free: 80.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.3976, allocations: 3.578 kB / 0.5223 GB, free: 80.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006488/0.3983, allocations: 264.8 kB / 0.5225 GB, free: 80.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3983, allocations: 1.188 kB / 0.5225 GB, free: 80.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001663/0.4, allocations: 0.6261 MB / 0.5231 GB, free: 80.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.4, allocations: 161.5 kB / 0.5233 GB, free: 80.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.4003, allocations: 222.2 kB / 0.5235 GB, free: 80.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.4003, allocations: 35.33 kB / 0.5235 GB, free: 80.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.4004, allocations: 144.1 kB / 0.5237 GB, free: 80.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.4005, allocations: 47.12 kB / 0.5237 GB, free: 79.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.4005, allocations: 4.656 kB / 0.5237 GB, free: 79.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.4006, allocations: 332.7 kB / 0.524 GB, free: 79.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.401, allocations: 147.6 kB / 0.5242 GB, free: 79.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.4015, allocations: 215.5 kB / 0.5244 GB, free: 79.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.4019, allocations: 177.5 kB / 0.5246 GB, free: 79.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4019, allocations: 1.469 kB / 0.5246 GB, free: 79.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001097/0.403, allocations: 458.5 kB / 0.525 GB, free: 79.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.4032, allocations: 0.5597 MB / 0.5255 GB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4032, allocations: 1.031 kB / 0.5255 GB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4032, allocations: 2.344 kB / 0.5255 GB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.4035, allocations: 66.53 kB / 0.5256 GB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4035, allocations: 2.984 kB / 0.5256 GB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.4038, allocations: 62.53 kB / 0.5257 GB, free: 78.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.4038, allocations: 8.938 kB / 0.5257 GB, free: 78.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.4039, allocations: 3.531 kB / 0.5257 GB, free: 78.86 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005038/0.4044, allocations: 282.8 kB / 0.5259 GB, free: 78.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.4044, allocations: 5.375 kB / 0.526 GB, free: 78.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.199e-06/0.4044, allocations: 3.062 kB / 0.526 GB, free: 78.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4045, allocations: 31.95 kB / 0.526 GB, free: 78.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.4045, allocations: 3.156 kB / 0.526 GB, free: 78.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.4047, allocations: 23.45 kB / 0.526 GB, free: 78.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.4047, allocations: 14.45 kB / 0.526 GB, free: 78.8 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.4049, allocations: 255.8 kB / 0.5263 GB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.4049, allocations: 19.91 kB / 0.5263 GB, free: 78.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.405, allocations: 33.06 kB / 0.5263 GB, free: 78.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.405, allocations: 0 / 0.5263 GB, free: 78.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.405, allocations: 1.688 kB / 0.5263 GB, free: 78.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.405, allocations: 0.75 kB / 0.5263 GB, free: 78.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.4054, allocations: 294.9 kB / 0.5266 GB, free: 78.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4054, allocations: 0 / 0.5266 GB, free: 78.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.4057, allocations: 57.59 kB / 0.5267 GB, free: 78.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4057, allocations: 1.188 kB / 0.5267 GB, free: 78.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.4057, allocations: 10.89 kB / 0.5267 GB, free: 78.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4057, allocations: 1.094 kB / 0.5267 GB, free: 78.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4057, allocations: 1.125 kB / 0.5267 GB, free: 78.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.4074, allocations: 0.6602 MB / 0.5273 GB, free: 78.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.4074, allocations: 100.5 kB / 0.5274 GB, free: 78.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.4075, allocations: 3.875 kB / 0.5274 GB, free: 78.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.4077, allocations: 53.7 kB / 0.5275 GB, free: 78.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4078, allocations: 25.22 kB / 0.5275 GB, free: 78.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.4079, allocations: 10.59 kB / 0.5275 GB, free: 78.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.4081, allocations: 179.6 kB / 0.5277 GB, free: 78 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4081, allocations: 0 / 0.5277 GB, free: 78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005267/0.4086, allocations: 106.8 kB / 0.5278 GB, free: 77.98 MB / 362.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 (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.0002185/0.4089, allocations: 130.9 kB / 0.5279 GB, free: 77.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.41, allocations: 0.5697 MB / 0.5285 GB, free: 77.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.41, allocations: 0 / 0.5285 GB, free: 77.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.4105, allocations: 248.1 kB / 0.5287 GB, free: 77.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.4109, allocations: 39.53 kB / 0.5287 GB, free: 77.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4119, allocations: 0.5313 MB / 0.5292 GB, free: 77.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.4121, allocations: 0.7513 MB / 0.53 GB, free: 76.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.4123, allocations: 29.12 kB / 0.53 GB, free: 76.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.4124, allocations: 15.94 kB / 0.53 GB, free: 76.68 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4124, allocations: 0 / 0.53 GB, free: 76.68 MB / 362.7 MB Notification: Performance of Templates: time 0.006879/0.4192, allocations: 3.49 MB / 0.5334 GB, free: 76.43 MB / 362.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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)