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.001485/0.001485, allocations: 174.8 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.325/1.325, 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.0007884/0.0007885, allocations: 84.52 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.05733/0.05733, allocations: 14 MB / 328.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.098e-05, allocations: 4 kB / 387.6 MB, free: 68.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06187/0.06191, allocations: 51.11 MB / 438.8 MB, free: 17.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2589/0.3209, allocations: 78.24 MB / 0.5049 GB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.3211, allocations: 71.03 kB / 0.5049 GB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007674/0.3288, allocations: 2.696 MB / 0.5076 GB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3288, allocations: 0.875 kB / 0.5076 GB, free: 10.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3288, allocations: 3.844 kB / 0.5076 GB, free: 10.34 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.0007405/0.3296, allocations: 0.5526 MB / 0.5081 GB, free: 9.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.3296, allocations: 11.69 kB / 0.5081 GB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.3297, allocations: 19.34 kB / 0.5082 GB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.3299, allocations: 216.2 kB / 0.5084 GB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3299, allocations: 10.48 kB / 0.5084 GB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.3299, allocations: 7.688 kB / 0.5084 GB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3302, allocations: 127.6 kB / 0.5085 GB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.3302, allocations: 0 / 0.5085 GB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.3302, allocations: 0 / 0.5085 GB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3302, allocations: 3.812 kB / 0.5085 GB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.3304, allocations: 82.27 kB / 0.5086 GB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.3311, allocations: 495.2 kB / 0.5091 GB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3313, allocations: 115.9 kB / 0.5092 GB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3315, allocations: 75.16 kB / 0.5092 GB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3315, allocations: 3.281 kB / 0.5092 GB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.3318, allocations: 357.2 kB / 0.5096 GB, free: 8.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.3318, allocations: 3.938 kB / 0.5096 GB, free: 8.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003911/0.3322, allocations: 263.6 kB / 0.5098 GB, free: 8.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.3322, allocations: 249.9 kB / 0.5101 GB, free: 8.441 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3324, allocations: 155 kB / 0.5102 GB, free: 8.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3324, allocations: 32.17 kB / 0.5102 GB, free: 8.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.3324, allocations: 110.9 kB / 0.5104 GB, free: 8.219 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3325, allocations: 53.52 kB / 0.5104 GB, free: 8.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.3325, allocations: 2.75 kB / 0.5104 GB, free: 8.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.3325, allocations: 328.6 kB / 0.5107 GB, free: 7.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.3327, allocations: 65.56 kB / 0.5108 GB, free: 7.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3328, allocations: 67.98 kB / 0.5108 GB, free: 7.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3329, allocations: 136.6 kB / 0.511 GB, free: 7.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3329, allocations: 112 / 0.511 GB, free: 7.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003474/0.3332, allocations: 321.9 kB / 0.5113 GB, free: 7.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.3333, allocations: 190.1 kB / 0.5115 GB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3333, allocations: 0 / 0.5115 GB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3333, allocations: 0 / 0.5115 GB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3336, allocations: 50.45 kB / 0.5115 GB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3336, allocations: 0 / 0.5115 GB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.334, allocations: 81.11 kB / 0.5116 GB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.334, allocations: 15.06 kB / 0.5116 GB, free: 7.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-06/0.334, allocations: 7.188 kB / 0.5116 GB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003854/0.3344, allocations: 322.2 kB / 0.5119 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.3344, allocations: 4 kB / 0.5119 GB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/0.3344, allocations: 0 / 0.5119 GB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3347, allocations: 58.62 kB / 0.512 GB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-06/0.3347, allocations: 0 / 0.512 GB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.335, allocations: 81.48 kB / 0.5121 GB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3351, allocations: 11.31 kB / 0.5121 GB, free: 7.184 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 () * 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 8.74e-05/0.3352, allocations: 154.7 kB / 0.5122 GB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.3352, allocations: 27.41 kB / 0.5122 GB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.3353, allocations: 16.59 kB / 0.5123 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3353, allocations: 0 / 0.5123 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3353, allocations: 0 / 0.5123 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3353, allocations: 0 / 0.5123 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3354, allocations: 263 kB / 0.5125 GB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3354, allocations: 4 kB / 0.5125 GB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.3357, allocations: 54.69 kB / 0.5126 GB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3357, allocations: 3.938 kB / 0.5126 GB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.3357, allocations: 11.2 kB / 0.5126 GB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3357, allocations: 0 / 0.5126 GB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3357, allocations: 7.875 kB / 0.5126 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.3361, allocations: 330.4 kB / 0.5129 GB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3362, allocations: 88.73 kB / 0.513 GB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.3362, allocations: 11.12 kB / 0.513 GB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.3366, allocations: 73.86 kB / 0.5131 GB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3367, allocations: 48.64 kB / 0.5131 GB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.3367, allocations: 3.875 kB / 0.5131 GB, free: 6.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.3368, allocations: 131.2 kB / 0.5132 GB, free: 6.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3368, allocations: 0 / 0.5132 GB, free: 6.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000294/0.3371, allocations: 92.19 kB / 0.5133 GB, free: 6.375 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) * 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 9.677e-05/0.3372, allocations: 117.7 kB / 0.5134 GB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005539/0.3378, allocations: 0.7039 MB / 0.5141 GB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3378, allocations: 0 / 0.5141 GB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.338, allocations: 300.5 kB / 0.5144 GB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.3382, allocations: 27.14 kB / 0.5144 GB, free: 5.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.3387, allocations: 232.7 kB / 0.5147 GB, free: 5.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.3388, allocations: 0.7237 MB / 0.5154 GB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.3389, allocations: 32.95 kB / 0.5154 GB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.339, allocations: 15.2 kB / 0.5154 GB, free: 4.934 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.339, allocations: 7.844 kB / 0.5154 GB, free: 4.93 MB / 330.7 MB Notification: Performance of Templates: time 0.005168/0.3442, allocations: 3.629 MB / 0.519 GB, free: 2.938 MB / 330.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)