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.001574/0.001574, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.3 MB / 213.4 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 90.7 kB / 261.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05213/0.05213, allocations: 14.01 MB / 323.4 MB, free: 13.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.577e-05, allocations: 4 kB / 380.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 51.11 MB / 431.8 MB, free: 16.24 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.351, allocations: 77.58 MB / 0.4974 GB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.3513, allocations: 75.95 kB / 0.4975 GB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008521/0.3599, allocations: 2.681 MB / 0.5001 GB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3599, allocations: 0 / 0.5001 GB, free: 15.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3599, allocations: 0 / 0.5001 GB, free: 15.79 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.000938/0.3609, allocations: 0.5538 MB / 0.5007 GB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3609, allocations: 8.031 kB / 0.5007 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.361, allocations: 19.81 kB / 0.5007 GB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3613, allocations: 210.9 kB / 0.5009 GB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3613, allocations: 7.938 kB / 0.5009 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3613, allocations: 11.98 kB / 0.5009 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002037/0.3616, allocations: 87.94 kB / 0.501 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.3618, allocations: 112.1 kB / 0.5011 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3618, allocations: 0 / 0.5011 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3618, allocations: 4 kB / 0.5011 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3618, allocations: 0 / 0.5011 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008752/0.3627, allocations: 469 kB / 0.5016 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.3629, allocations: 110.6 kB / 0.5017 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.363, allocations: 72.83 kB / 0.5017 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3631, allocations: 4.031 kB / 0.5017 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003714/0.3635, allocations: 345.4 kB / 0.5021 GB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.3635, allocations: 0 / 0.5021 GB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004346/0.3639, allocations: 219.9 kB / 0.5023 GB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.3641, allocations: 251.2 kB / 0.5025 GB, free: 13.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3642, allocations: 153.5 kB / 0.5027 GB, free: 12.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.3643, allocations: 33.64 kB / 0.5027 GB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.3643, allocations: 104.5 kB / 0.5028 GB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.3644, allocations: 47.36 kB / 0.5028 GB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.3644, allocations: 4 kB / 0.5028 GB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3646, allocations: 330.8 kB / 0.5032 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3647, allocations: 67.98 kB / 0.5032 GB, free: 12.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3648, allocations: 56 kB / 0.5033 GB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.3649, allocations: 49.5 kB / 0.5033 GB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3649, allocations: 0 / 0.5033 GB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003544/0.3653, allocations: 225.5 kB / 0.5035 GB, free: 12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.295e-05/0.3654, allocations: 178.8 kB / 0.5037 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3654, allocations: 0 / 0.5037 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3654, allocations: 4 kB / 0.5037 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.3657, allocations: 59.88 kB / 0.5038 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3657, allocations: 4 kB / 0.5038 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.3661, allocations: 75.83 kB / 0.5039 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.3661, allocations: 4 kB / 0.5039 GB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.3661, allocations: 4 kB / 0.5039 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003627/0.3665, allocations: 215.8 kB / 0.5041 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.3665, allocations: 0 / 0.5041 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-06/0.3665, allocations: 4 kB / 0.5041 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.3667, allocations: 51.95 kB / 0.5041 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-06/0.3668, allocations: 0 / 0.5041 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.3671, allocations: 79.77 kB / 0.5042 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3671, allocations: 11.94 kB / 0.5042 GB, free: 11.3 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 () * 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.0001466/0.3673, allocations: 164.9 kB / 0.5044 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3673, allocations: 23.77 kB / 0.5044 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.3674, allocations: 13.97 kB / 0.5044 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3674, allocations: 4 kB / 0.5044 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3674, allocations: 0 / 0.5044 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3674, allocations: 0 / 0.5044 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3676, allocations: 234 kB / 0.5046 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3676, allocations: 0 / 0.5046 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3679, allocations: 47.95 kB / 0.5047 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3679, allocations: 0 / 0.5047 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.3679, allocations: 4 kB / 0.5047 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3679, allocations: 3.953 kB / 0.5047 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.3679, allocations: 4 kB / 0.5047 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.3683, allocations: 284.8 kB / 0.505 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.3684, allocations: 88.92 kB / 0.505 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.3684, allocations: 8 kB / 0.505 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.3688, allocations: 71.92 kB / 0.5051 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.3689, allocations: 51.86 kB / 0.5052 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.369, allocations: 12 kB / 0.5052 GB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.875e-05/0.3691, allocations: 127.2 kB / 0.5053 GB, free: 10.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3691, allocations: 0 / 0.5053 GB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.3694, allocations: 79.98 kB / 0.5054 GB, free: 10.02 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) * 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.0001415/0.3696, allocations: 107.2 kB / 0.5055 GB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006978/0.3703, allocations: 0.6924 MB / 0.5062 GB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3703, allocations: 0 / 0.5062 GB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.3706, allocations: 283.4 kB / 0.5064 GB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.3709, allocations: 33.34 kB / 0.5065 GB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.3714, allocations: 221.2 kB / 0.5067 GB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3717, allocations: 0.7246 MB / 0.5074 GB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.3718, allocations: 33.73 kB / 0.5074 GB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.3719, allocations: 15.44 kB / 0.5074 GB, free: 7.781 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3719, allocations: 0 / 0.5074 GB, free: 7.781 MB / 362.7 MB Notification: Performance of Templates: time 0.006187/0.3781, allocations: 3.391 MB / 0.5107 GB, free: 4.414 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)