Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.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.TestLimiterWithLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag") translateModel(PowerGrids.Controls.Test.TestLimiterWithLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005623/0.005623, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.494/1.494, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008327/0.0008328, allocations: 86.88 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.05188/0.05188, allocations: 14.17 MB / 332 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 9.391 kB / 393.6 MB, free: 51.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08174, allocations: 51.13 MB / 444.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.1829, allocations: 78.33 MB / 0.5108 GB, free: 8.441 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.1832, allocations: 67.97 kB / 0.5109 GB, free: 8.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00879/0.192, allocations: 2.716 MB / 0.5135 GB, free: 5.648 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1921, allocations: 0 / 0.5135 GB, free: 5.648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1921, allocations: 4 kB / 0.5135 GB, free: 5.645 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001013/0.1931, allocations: 0.5816 MB / 0.5141 GB, free: 4.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1932, allocations: 16.02 kB / 0.5141 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.1932, allocations: 15.81 kB / 0.5141 GB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1935, allocations: 218.8 kB / 0.5143 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1935, allocations: 8 kB / 0.5143 GB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.1936, allocations: 12 kB / 0.5144 GB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.1942, allocations: 205.4 kB / 0.5146 GB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1942, allocations: 0 / 0.5146 GB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1942, allocations: 0 / 0.5146 GB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1942, allocations: 4 kB / 0.5146 GB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/0.195, allocations: 247.7 kB / 0.5148 GB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009395/0.196, allocations: 488.5 kB / 0.5153 GB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.1968, allocations: 278.4 kB / 0.5155 GB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1969, allocations: 0 / 0.5155 GB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007459/0.1976, allocations: 441.3 kB / 0.5159 GB, free: 2.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.1977, allocations: 4 kB / 0.516 GB, free: 2.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.00157/0.1992, allocations: 0.6366 MB / 0.5166 GB, free: 2.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.1994, allocations: 247.3 kB / 0.5168 GB, free: 1.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1996, allocations: 153.5 kB / 0.517 GB, free: 1.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.1996, allocations: 29.7 kB / 0.517 GB, free: 1.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.1997, allocations: 116.5 kB / 0.5171 GB, free: 1.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.1998, allocations: 43.39 kB / 0.5171 GB, free: 1.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.1998, allocations: 8 kB / 0.5171 GB, free: 1.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1999, allocations: 334.8 kB / 0.5175 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.2004, allocations: 147.9 kB / 0.5176 GB, free: 1.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.2008, allocations: 147.9 kB / 0.5177 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.2012, allocations: 221.2 kB / 0.518 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2013, allocations: 0 / 0.518 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001062/0.2023, allocations: 486.2 kB / 0.5184 GB, free: 264 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.2025, allocations: 186.8 kB / 0.5186 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2025, allocations: 0 / 0.5186 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2025, allocations: 0 / 0.5186 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1745/0.377, allocations: 52.77 kB / 0.5186 GB, free: 83.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3771, allocations: 1.531 kB / 0.5186 GB, free: 83.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.3776, allocations: 78.25 kB / 0.5187 GB, free: 83.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.3777, allocations: 9.297 kB / 0.5187 GB, free: 83.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3777, allocations: 4.781 kB / 0.5187 GB, free: 83.82 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00114/0.3788, allocations: 482.9 kB / 0.5192 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3789, allocations: 0.75 kB / 0.5192 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.3789, allocations: 1.312 kB / 0.5192 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.3791, allocations: 61.14 kB / 0.5193 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.3791, allocations: 0.5 kB / 0.5193 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.3795, allocations: 77.75 kB / 0.5193 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3795, allocations: 8.688 kB / 0.5193 GB, free: 83.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.limiterWithLag.state,limiterWithLag.state,$PRE.limiterWithLag.saturationLimitReached,limiterWithLag.saturationLimitReached,$PRE.limiterWithLag.satON,limiterWithLag.satON,$PRE.LfSignal.T_start,LfSignal.T_start,$PRE.LfSignal.count,LfSignal.count,$PRE.HfSignal.T_start,HfSignal.T_start,$PRE.HfSignal.count,HfSignal.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 3 * 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.0002046/0.3797, allocations: 253.7 kB / 0.5196 GB, free: 83.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.3798, allocations: 26.41 kB / 0.5196 GB, free: 83.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.3798, allocations: 18.5 kB / 0.5196 GB, free: 83.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3799, allocations: 3.938 kB / 0.5196 GB, free: 83.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3799, allocations: 2.406 kB / 0.5196 GB, free: 83.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3799, allocations: 3.969 kB / 0.5196 GB, free: 83.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.3801, allocations: 253.2 kB / 0.5199 GB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3801, allocations: 0 / 0.5199 GB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.3804, allocations: 56.86 kB / 0.5199 GB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3804, allocations: 0.875 kB / 0.5199 GB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.3804, allocations: 12.05 kB / 0.5199 GB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3804, allocations: 0 / 0.5199 GB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3805, allocations: 4.219 kB / 0.5199 GB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.3816, allocations: 491.8 kB / 0.5204 GB, free: 83.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.3817, allocations: 94.77 kB / 0.5205 GB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.3817, allocations: 6.797 kB / 0.5205 GB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.3821, allocations: 78.94 kB / 0.5206 GB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.3822, allocations: 44.95 kB / 0.5206 GB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.3823, allocations: 12.8 kB / 0.5206 GB, free: 83.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.269e-05/0.3824, allocations: 131.5 kB / 0.5208 GB, free: 83.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.3824, allocations: 0 / 0.5208 GB, free: 83.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.3827, allocations: 88.89 kB / 0.5209 GB, free: 83.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,limiterWithLag.state,limiterWithLag.saturationLimitReached,limiterWithLag.satON,LfSignal.T_start,LfSignal.count,HfSignal.T_start,HfSignal.count) * Number of discrete states: 11 (LfSignal.count,HfSignal.count,limiterWithLag.satON,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,limiterWithLag.saturationLimitReached,limiterWithLag.state,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.0001585/0.3829, allocations: 112.8 kB / 0.521 GB, free: 82.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.3846, allocations: 0.9425 MB / 0.5219 GB, free: 82.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3846, allocations: 0 / 0.5219 GB, free: 82.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.3852, allocations: 376 kB / 0.5222 GB, free: 82.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.3854, allocations: 36.33 kB / 0.5223 GB, free: 82.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.3862, allocations: 345.7 kB / 0.5226 GB, free: 82.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.3863, allocations: 0.7222 MB / 0.5233 GB, free: 81.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3865, allocations: 24.42 kB / 0.5233 GB, free: 81.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.3865, allocations: 14.16 kB / 0.5233 GB, free: 81.59 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.3866, allocations: 0 / 0.5233 GB, free: 81.59 MB / 362.7 MB Notification: Performance of Templates: time 0.006192/0.3927, allocations: 3.415 MB / 0.5267 GB, free: 81.34 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.pipe 2>&1)