Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 174.6 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.232/1.232, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.000894/0.000894, allocations: 83.78 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.05612/0.05612, allocations: 14.01 MB / 328.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.653e-05, allocations: 8 kB / 389.1 MB, free: 66.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06685/0.06689, allocations: 51.1 MB / 440.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.3429, allocations: 79.89 MB / 0.5079 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.3431, allocations: 72.86 kB / 0.508 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.3583, allocations: 6.21 MB / 0.5141 GB, free: 9.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3583, allocations: 0 / 0.5141 GB, free: 9.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.3584, allocations: 8.219 kB / 0.5141 GB, free: 9.262 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005952/0.359, allocations: 0.577 MB / 0.5146 GB, free: 8.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.359, allocations: 12.03 kB / 0.5147 GB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.3591, allocations: 31.62 kB / 0.5147 GB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.3594, allocations: 300 kB / 0.515 GB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3595, allocations: 19.81 kB / 0.515 GB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.3595, allocations: 19.81 kB / 0.515 GB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.3599, allocations: 262 kB / 0.5153 GB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3599, allocations: 3.938 kB / 0.5153 GB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.3599, allocations: 15.86 kB / 0.5153 GB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3599, allocations: 4 kB / 0.5153 GB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.3602, allocations: 154.5 kB / 0.5154 GB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009491/0.3611, allocations: 1.07 MB / 0.5165 GB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.3615, allocations: 231.2 kB / 0.5167 GB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3616, allocations: 120.2 kB / 0.5168 GB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3617, allocations: 0 / 0.5168 GB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.3619, allocations: 202.5 kB / 0.517 GB, free: 6.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.3619, allocations: 4 kB / 0.517 GB, free: 6.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.000454/0.3624, allocations: 309 kB / 0.5173 GB, free: 6.211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3624, allocations: 165.7 kB / 0.5175 GB, free: 6.016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3626, allocations: 232.4 kB / 0.5177 GB, free: 5.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3627, allocations: 28.89 kB / 0.5177 GB, free: 5.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.3627, allocations: 163.8 kB / 0.5179 GB, free: 5.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.3628, allocations: 66 kB / 0.5179 GB, free: 5.602 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.3628, allocations: 7.375 kB / 0.5179 GB, free: 5.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.3629, allocations: 335 kB / 0.5183 GB, free: 5.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.363, allocations: 85.98 kB / 0.5183 GB, free: 5.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3632, allocations: 161.4 kB / 0.5185 GB, free: 5.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3633, allocations: 119.3 kB / 0.5186 GB, free: 4.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3633, allocations: 0 / 0.5186 GB, free: 4.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009161/0.3642, allocations: 0.5261 MB / 0.5191 GB, free: 4.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.635e-05/0.3643, allocations: 0.5587 MB / 0.5197 GB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3644, allocations: 3.938 kB / 0.5197 GB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.3646, allocations: 93.03 kB / 0.5198 GB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3647, allocations: 27.98 kB / 0.5198 GB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008113/0.3655, allocations: 1.243 MB / 0.521 GB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.3658, allocations: 54.81 kB / 0.521 GB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.3658, allocations: 19.55 kB / 0.5211 GB, free: 2.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/0.3659, allocations: 4 kB / 0.5211 GB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000367/0.3662, allocations: 297 kB / 0.5214 GB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.3662, allocations: 12.14 kB / 0.5214 GB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.3663, allocations: 0 / 0.5214 GB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.3664, allocations: 55.41 kB / 0.5214 GB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.3665, allocations: 0 / 0.5214 GB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3666, allocations: 35.16 kB / 0.5214 GB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.3666, allocations: 12 kB / 0.5215 GB, free: 2.16 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,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * 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 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 9.648e-05/0.3667, allocations: 172.6 kB / 0.5216 GB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.3668, allocations: 27.72 kB / 0.5217 GB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.3669, allocations: 26.84 kB / 0.5217 GB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3669, allocations: 7.984 kB / 0.5217 GB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3669, allocations: 0 / 0.5217 GB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3669, allocations: 3.953 kB / 0.5217 GB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3671, allocations: 331.5 kB / 0.522 GB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3671, allocations: 3.938 kB / 0.522 GB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.3674, allocations: 63.89 kB / 0.5221 GB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3674, allocations: 0 / 0.5221 GB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.3674, allocations: 11.42 kB / 0.5221 GB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3674, allocations: 0 / 0.5221 GB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3674, allocations: 0 / 0.5221 GB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.368, allocations: 0.5081 MB / 0.5226 GB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.3681, allocations: 96.77 kB / 0.5227 GB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.3681, allocations: 7.938 kB / 0.5227 GB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3684, allocations: 39.95 kB / 0.5227 GB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.3684, allocations: 39.22 kB / 0.5228 GB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.3685, allocations: 12.06 kB / 0.5228 GB, free: 0.9297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3686, allocations: 182.9 kB / 0.5229 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3686, allocations: 0 / 0.5229 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.369, allocations: 109.7 kB / 0.523 GB, free: 0.6797 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.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 (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.0001603/0.3692, allocations: 138.5 kB / 0.5232 GB, free: 0.5391 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009148/0.3701, allocations: 0.6067 MB / 0.5238 GB, free: 40 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3701, allocations: 0 / 0.5238 GB, free: 40 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.3703, allocations: 189 kB / 0.5239 GB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3706, allocations: 53.53 kB / 0.524 GB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.3713, allocations: 375.7 kB / 0.5244 GB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3716, allocations: 0.7645 MB / 0.5251 GB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.3718, allocations: 55.12 kB / 0.5252 GB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.3719, allocations: 15.44 kB / 0.5252 GB, free: 14.65 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.3719, allocations: 3.938 kB / 0.5252 GB, free: 14.65 MB / 346.7 MB Notification: Performance of Templates: time 0.008171/0.3801, allocations: 4.618 MB / 0.5297 GB, free: 10.05 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)