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.001299/0.001299, allocations: 183.2 kB / 15.98 MB, free: 5.77 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.423/1.423, allocations: 205.1 MB / 221.8 MB, free: 8.488 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.001143/0.001143, allocations: 102.1 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06083/0.06083, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 59.86 kB / 391.6 MB, free: 64.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07539/0.07643, allocations: 50.14 MB / 441.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLimiterWithLag): time 0.00241/0.07887, allocations: 1.833 MB / 443.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.07964, allocations: 0.5659 MB / 444.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.07971, allocations: 3.938 kB / 444.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.07983, allocations: 15.92 kB / 444.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.07997, allocations: 23.78 kB / 444.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.08013, allocations: 51.94 kB / 444.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.08028, allocations: 191.4 kB / 444.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.08039, allocations: 33.05 kB / 444.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.08048, allocations: 71.75 kB / 444.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.08061, allocations: 91.62 kB / 444.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.08065, allocations: 12 kB / 444.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.08068, allocations: 8 kB / 444.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.08075, allocations: 27.91 kB / 444.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.08083, allocations: 75.58 kB / 444.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.08099, allocations: 163.7 kB / 444.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.081, allocations: 0 / 444.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.081, allocations: 0 / 444.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.08101, allocations: 0 / 444.9 MB, free: 11.54 MB / 298.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.00102/0.08204, allocations: 0.5701 MB / 445.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.08208, allocations: 8.031 kB / 445.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.08214, allocations: 24.75 kB / 445.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.08236, allocations: 220 kB / 445.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.08238, allocations: 8.312 kB / 445.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.08242, allocations: 16.31 kB / 445.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.08295, allocations: 173.8 kB / 445.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.08297, allocations: 0 / 445.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.083, allocations: 12 kB / 445.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.08301, allocations: 0 / 445.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.08376, allocations: 191.8 kB / 446.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.08459, allocations: 472.4 kB / 446.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.08536, allocations: 242.3 kB / 446.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.08574, allocations: 136.7 kB / 447 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.08578, allocations: 0 / 447 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/0.08635, allocations: 405.2 kB / 447.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.08637, allocations: 4 kB / 447.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.001384/0.08776, allocations: 0.495 MB / 447.9 MB, free: 8.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.08784, allocations: 247.3 kB / 448.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.08797, allocations: 178.3 kB / 448.3 MB, free: 7.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.088, allocations: 29.7 kB / 448.3 MB, free: 7.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.08805, allocations: 112.4 kB / 448.4 MB, free: 7.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.0881, allocations: 43.42 kB / 448.5 MB, free: 7.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.08818, allocations: 45.7 kB / 448.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.08823, allocations: 334.8 kB / 448.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.08863, allocations: 128.8 kB / 449 MB, free: 7.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.08901, allocations: 126.7 kB / 449.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007174/0.08974, allocations: 347.5 kB / 449.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.08975, allocations: 4 kB / 449.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008839/0.09064, allocations: 418.4 kB / 449.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.09069, allocations: 97.08 kB / 449.9 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.0907, allocations: 4 kB / 449.9 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.09072, allocations: 4 kB / 449.9 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.09097, allocations: 31.95 kB / 450 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.09099, allocations: 7.938 kB / 450 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.09133, allocations: 63.77 kB / 450 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.09136, allocations: 8 kB / 450 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004156/0.09178, allocations: 220 kB / 450.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003629/0.09216, allocations: 119.8 kB / 450.4 MB, free: 5.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006906/0.09286, allocations: 339.6 kB / 450.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.09287, allocations: 4 kB / 450.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008623/0.09374, allocations: 426.2 kB / 451.1 MB, free: 4.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.09378, allocations: 97.09 kB / 451.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.09379, allocations: 0 / 451.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.0938, allocations: 0 / 451.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.09401, allocations: 47.88 kB / 451.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.09402, allocations: 4 kB / 451.3 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.09434, allocations: 59.86 kB / 451.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.09437, allocations: 12 kB / 451.3 MB, free: 4.645 MB / 298.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 (HfSignal.count,$PRE.HfSignal.count,HfSignal.T_start,$PRE.HfSignal.T_start,LfSignal.count,$PRE.LfSignal.count,LfSignal.T_start,$PRE.LfSignal.T_start,limiterWithLag.satON,$PRE.limiterWithLag.satON,limiterWithLag.saturationLimitReached,$PRE.limiterWithLag.saturationLimitReached,limiterWithLag.state,$PRE.limiterWithLag.state,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.09453, allocations: 244 kB / 451.6 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.09457, allocations: 23.81 kB / 451.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.09463, allocations: 21.8 kB / 451.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.09464, allocations: 7.938 kB / 451.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.09465, allocations: 0 / 451.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.09466, allocations: 3.938 kB / 451.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.09486, allocations: 265.3 kB / 451.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.09487, allocations: 0 / 451.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.09508, allocations: 31.95 kB / 451.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.09509, allocations: 0 / 451.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.09511, allocations: 12 kB / 451.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.09512, allocations: 0 / 451.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.09513, allocations: 0 / 451.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.09674, allocations: 1.159 MB / 453.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.0968, allocations: 96.91 kB / 453.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.09685, allocations: 4 kB / 453.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.09717, allocations: 63.86 kB / 453.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.09732, allocations: 35.95 kB / 453.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.09735, allocations: 8 kB / 453.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.959e-05/0.09743, allocations: 136.3 kB / 453.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09744, allocations: 0 / 453.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005071/0.09795, allocations: 80 kB / 453.5 MB, free: 2.324 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.977e-05/0.09806, allocations: 115.2 kB / 453.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.09956, allocations: 0.8749 MB / 454.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.09957, allocations: 0 / 454.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.1001, allocations: 343.5 kB / 454.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1004, allocations: 49 kB / 454.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/0.1012, allocations: 0.4995 MB / 455.4 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1015, allocations: 0.7246 MB / 456.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1016, allocations: 21.06 kB / 456.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.1017, allocations: 19.44 kB / 456.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1017, allocations: 0 / 456.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Templates: time 0.006958/0.1087, allocations: 3.76 MB / 459.9 MB, free: 11.8 MB / 314.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)