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.0009782/0.0009782, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.236/1.236, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008306/0.0008306, allocations: 86.81 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05674/0.05674, allocations: 14 MB / 328.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.459e-05, allocations: 4 kB / 389.1 MB, free: 66.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06523/0.06527, allocations: 51.1 MB / 440.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2638/0.3291, allocations: 79.6 MB / 0.5076 GB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.3293, allocations: 71.03 kB / 0.5077 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01411/0.3435, allocations: 5.515 MB / 0.5131 GB, free: 9.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3435, allocations: 0 / 0.5131 GB, free: 9.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.3435, allocations: 7.75 kB / 0.5131 GB, free: 9.746 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.0006099/0.3441, allocations: 0.5447 MB / 0.5136 GB, free: 9.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3442, allocations: 15.53 kB / 0.5137 GB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.3442, allocations: 23.22 kB / 0.5137 GB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.3446, allocations: 292.8 kB / 0.514 GB, free: 9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3446, allocations: 7.656 kB / 0.514 GB, free: 9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.3446, allocations: 11.56 kB / 0.514 GB, free: 9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3449, allocations: 224.4 kB / 0.5142 GB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3449, allocations: 0 / 0.5142 GB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.345, allocations: 7 kB / 0.5142 GB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.345, allocations: 3.875 kB / 0.5142 GB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.3452, allocations: 116.4 kB / 0.5143 GB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009248/0.3461, allocations: 0.971 MB / 0.5153 GB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3464, allocations: 188.4 kB / 0.5154 GB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3465, allocations: 87.64 kB / 0.5155 GB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3466, allocations: 11.7 kB / 0.5155 GB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.3468, allocations: 189.2 kB / 0.5157 GB, free: 7.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.3468, allocations: 4 kB / 0.5157 GB, free: 7.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003952/0.3472, allocations: 269.9 kB / 0.516 GB, free: 7.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3472, allocations: 158.2 kB / 0.5161 GB, free: 7.043 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3474, allocations: 222.9 kB / 0.5163 GB, free: 6.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3474, allocations: 29.7 kB / 0.5164 GB, free: 6.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.3475, allocations: 138.9 kB / 0.5165 GB, free: 6.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.3475, allocations: 50.02 kB / 0.5165 GB, free: 6.664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.3475, allocations: 6.812 kB / 0.5166 GB, free: 6.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.3476, allocations: 330.2 kB / 0.5169 GB, free: 6.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3477, allocations: 71.3 kB / 0.5169 GB, free: 6.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3478, allocations: 134 kB / 0.5171 GB, free: 6.164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.3479, allocations: 109.3 kB / 0.5172 GB, free: 6.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.348, allocations: 0 / 0.5172 GB, free: 6.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003636/0.3483, allocations: 310.5 kB / 0.5175 GB, free: 5.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.834e-05/0.3484, allocations: 0.5621 MB / 0.518 GB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3484, allocations: 0 / 0.518 GB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3485, allocations: 7.984 kB / 0.518 GB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.3487, allocations: 60 kB / 0.5181 GB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3487, allocations: 11.92 kB / 0.5181 GB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.349, allocations: 54.94 kB / 0.5181 GB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.349, allocations: 8 kB / 0.5181 GB, free: 5.078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/0.349, allocations: 4 kB / 0.5182 GB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003274/0.3494, allocations: 271.5 kB / 0.5184 GB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-06/0.3494, allocations: 4 kB / 0.5184 GB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-06/0.3494, allocations: 0 / 0.5184 GB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3495, allocations: 31.92 kB / 0.5184 GB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.3495, allocations: 0 / 0.5184 GB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3496, allocations: 22.14 kB / 0.5185 GB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3497, allocations: 19.2 kB / 0.5185 GB, free: 4.789 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 () * 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 7.941e-05/0.3497, allocations: 160.2 kB / 0.5186 GB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.3498, allocations: 23.72 kB / 0.5187 GB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.3498, allocations: 29.33 kB / 0.5187 GB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3499, allocations: 0 / 0.5187 GB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3499, allocations: 0 / 0.5187 GB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3499, allocations: 0 / 0.5187 GB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3501, allocations: 292.5 kB / 0.519 GB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3501, allocations: 4 kB / 0.519 GB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.3503, allocations: 59.64 kB / 0.519 GB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3503, allocations: 0 / 0.519 GB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3503, allocations: 4 kB / 0.519 GB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3504, allocations: 0 / 0.519 GB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3504, allocations: 0 / 0.519 GB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.3509, allocations: 453.4 kB / 0.5195 GB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.3509, allocations: 104.5 kB / 0.5196 GB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.351, allocations: 4 kB / 0.5196 GB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3512, allocations: 51.58 kB / 0.5196 GB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.3513, allocations: 23.64 kB / 0.5196 GB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.3513, allocations: 8 kB / 0.5196 GB, free: 3.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.3514, allocations: 182.2 kB / 0.5198 GB, free: 3.504 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3514, allocations: 0 / 0.5198 GB, free: 3.504 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.3518, allocations: 95.47 kB / 0.5199 GB, free: 3.414 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) * 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.0001495/0.352, allocations: 143.4 kB / 0.52 GB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003941/0.3524, allocations: 429.3 kB / 0.5205 GB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3524, allocations: 0 / 0.5205 GB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3525, allocations: 172.6 kB / 0.5206 GB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3528, allocations: 43.67 kB / 0.5207 GB, free: 2.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.3533, allocations: 336.7 kB / 0.521 GB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.3535, allocations: 0.7407 MB / 0.5217 GB, free: 1.688 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.3537, allocations: 54.22 kB / 0.5218 GB, free: 1.637 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.3537, allocations: 19.44 kB / 0.5218 GB, free: 1.617 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3537, allocations: 7.938 kB / 0.5218 GB, free: 1.609 MB / 330.7 MB Notification: Performance of Templates: time 0.006397/0.3601, allocations: 3.873 MB / 0.5256 GB, free: 13.78 MB / 346.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)