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-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/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.001083/0.001084, allocations: 172.8 kB / 16.12 MB, free: 5.695 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.751/1.751, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007992/0.0007992, allocations: 84.92 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06159/0.06159, allocations: 14.2 MB / 333.1 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 8 kB / 394.9 MB, free: 64.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08875, allocations: 51.11 MB / 446 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3336/0.4224, allocations: 78.37 MB / 0.5121 GB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4227, allocations: 69.06 kB / 0.5121 GB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007773/0.4305, allocations: 2.712 MB / 0.5148 GB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4305, allocations: 8 kB / 0.5148 GB, free: 10.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4306, allocations: 3.719 kB / 0.5148 GB, free: 10.98 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008267/0.4314, allocations: 0.5765 MB / 0.5154 GB, free: 10.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4314, allocations: 12.03 kB / 0.5154 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.4315, allocations: 16.75 kB / 0.5154 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.4317, allocations: 222.4 kB / 0.5156 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.4317, allocations: 11.38 kB / 0.5156 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.4318, allocations: 8.375 kB / 0.5156 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.4323, allocations: 207.9 kB / 0.5158 GB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4323, allocations: 192 / 0.5158 GB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4323, allocations: 3.938 kB / 0.5158 GB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4323, allocations: 4 kB / 0.5158 GB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.4331, allocations: 247.7 kB / 0.5161 GB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.4339, allocations: 489.2 kB / 0.5165 GB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.4346, allocations: 281.8 kB / 0.5168 GB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.435, allocations: 153.5 kB / 0.5169 GB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.4351, allocations: 4 kB / 0.5169 GB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005601/0.4356, allocations: 432.6 kB / 0.5174 GB, free: 8.383 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/0.4356, allocations: 0 / 0.5174 GB, free: 8.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001321/0.437, allocations: 0.5719 MB / 0.5179 GB, free: 7.887 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.437, allocations: 246.6 kB / 0.5181 GB, free: 7.594 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4372, allocations: 174.7 kB / 0.5183 GB, free: 7.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.4372, allocations: 37.52 kB / 0.5183 GB, free: 7.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.4372, allocations: 109.4 kB / 0.5185 GB, free: 7.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.4373, allocations: 41.8 kB / 0.5185 GB, free: 7.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.4373, allocations: 3.438 kB / 0.5185 GB, free: 7.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.4374, allocations: 332.9 kB / 0.5188 GB, free: 6.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.4377, allocations: 149.7 kB / 0.519 GB, free: 6.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.4381, allocations: 156 kB / 0.5191 GB, free: 6.699 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.4389, allocations: 389.7 kB / 0.5195 GB, free: 6.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.4389, allocations: 0 / 0.5195 GB, free: 6.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008799/0.4398, allocations: 475 kB / 0.5199 GB, free: 5.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.4398, allocations: 185.8 kB / 0.5201 GB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4398, allocations: 3.938 kB / 0.5201 GB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4399, allocations: 0 / 0.5201 GB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.4402, allocations: 52.75 kB / 0.5202 GB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4402, allocations: 0 / 0.5202 GB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.4405, allocations: 90.95 kB / 0.5202 GB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.4405, allocations: 7.25 kB / 0.5203 GB, free: 5.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.4406, allocations: 8 kB / 0.5203 GB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009537/0.4415, allocations: 489 kB / 0.5207 GB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.4415, allocations: 0 / 0.5207 GB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-06/0.4415, allocations: 0 / 0.5207 GB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.4418, allocations: 59.89 kB / 0.5208 GB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.4418, allocations: 3.984 kB / 0.5208 GB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.4421, allocations: 79.17 kB / 0.5209 GB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.4421, allocations: 15.17 kB / 0.5209 GB, free: 5 MB / 330.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.0001736/0.4423, allocations: 247.2 kB / 0.5211 GB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.4423, allocations: 19.81 kB / 0.5211 GB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.4424, allocations: 29.16 kB / 0.5212 GB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4424, allocations: 0 / 0.5212 GB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4424, allocations: 0 / 0.5212 GB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4424, allocations: 0 / 0.5212 GB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.4426, allocations: 267.8 kB / 0.5214 GB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4426, allocations: 0 / 0.5214 GB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.4428, allocations: 43.95 kB / 0.5215 GB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4429, allocations: 0 / 0.5215 GB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.4429, allocations: 15.11 kB / 0.5215 GB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4429, allocations: 0 / 0.5215 GB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4429, allocations: 4 kB / 0.5215 GB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.4438, allocations: 490.4 kB / 0.5219 GB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.4438, allocations: 100.2 kB / 0.522 GB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.4439, allocations: 7.984 kB / 0.522 GB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.4442, allocations: 75.36 kB / 0.5221 GB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4443, allocations: 49.77 kB / 0.5222 GB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4443, allocations: 18.98 kB / 0.5222 GB, free: 3.707 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.431e-05/0.4444, allocations: 137 kB / 0.5223 GB, free: 3.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4444, allocations: 4 kB / 0.5223 GB, free: 3.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.4447, allocations: 78.69 kB / 0.5224 GB, free: 3.512 MB / 330.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.0001793/0.4449, allocations: 117.1 kB / 0.5225 GB, free: 3.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.4464, allocations: 0.9359 MB / 0.5234 GB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4464, allocations: 0 / 0.5234 GB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.4469, allocations: 374.1 kB / 0.5238 GB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.4472, allocations: 47.59 kB / 0.5238 GB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.4478, allocations: 345.8 kB / 0.5242 GB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.448, allocations: 0.7168 MB / 0.5249 GB, free: 1.191 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.4481, allocations: 29.5 kB / 0.5249 GB, free: 1.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.4481, allocations: 11.44 kB / 0.5249 GB, free: 1.152 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4481, allocations: 0 / 0.5249 GB, free: 1.152 MB / 330.7 MB Notification: Performance of Templates: time 0.005876/0.454, allocations: 3.443 MB / 0.5283 GB, free: 13.75 MB / 346.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)