Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 82.02 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 173.7 kB / 23.28 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8933/0.8933, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.06257/0.06257, allocations: 12.99 MB / 273.2 MB, free: 328 kB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestFreeOffset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset") translateModel(PowerGrids.Controls.Test.TestFreeOffset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 347.5 MB, free: 2.355 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.647e-05, allocations: 6.312 kB / 347.5 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002021/0.002047, allocations: 1.655 MB / 349.2 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006219/0.002669, allocations: 490.7 kB / 349.6 MB, free: 200 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.002734, allocations: 3.938 kB / 349.6 MB, free: 196 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.002827, allocations: 11.88 kB / 349.7 MB, free: 184 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.002887, allocations: 27.72 kB / 349.7 MB, free: 156 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.003045, allocations: 27.97 kB / 349.7 MB, free: 128 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.003163, allocations: 79.58 kB / 349.8 MB, free: 48 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.003243, allocations: 9.312 kB / 349.8 MB, free: 40 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.003387, allocations: 51.91 kB / 349.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.00343, allocations: 19.83 kB / 349.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.003444, allocations: 4 kB / 349.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.783e-05/0.003482, allocations: 11.94 kB / 349.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.003492, allocations: 3.938 kB / 349.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.003513, allocations: 15.94 kB / 349.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.003613, allocations: 59.69 kB / 350 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003615, allocations: 0 / 350 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003616, allocations: 0 / 350 MB, free: 15.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.003619, allocations: 0 / 350 MB, free: 15.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003276/0.003947, allocations: 436 kB / 350.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.003978, allocations: 8.031 kB / 350.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.004067, allocations: 24.83 kB / 350.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.004201, allocations: 152.4 kB / 350.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.004209, allocations: 4.375 kB / 350.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-06/0.004215, allocations: 384 / 350.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.004304, allocations: 82.25 kB / 350.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.00431, allocations: 4.188 kB / 350.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.004316, allocations: 384 / 350.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004321, allocations: 7.938 kB / 350.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.004342, allocations: 11.98 kB / 350.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.00461, allocations: 387.3 kB / 351.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.00466, allocations: 54.19 kB / 351.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.004681, allocations: 27.36 kB / 351.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.004693, allocations: 4 kB / 351.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.004712, allocations: 37.33 kB / 351.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004713, allocations: 0 / 351.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001197/0.004833, allocations: 65.53 kB / 351.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.004863, allocations: 77.11 kB / 351.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.004965, allocations: 225.8 kB / 351.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.004974, allocations: 25.7 kB / 351.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.005035, allocations: 154.8 kB / 351.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-06/0.005042, allocations: 15.88 kB / 351.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.00507, allocations: 23.38 kB / 351.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.005186, allocations: 0.4962 MB / 352.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.005195, allocations: 0 / 352.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.005219, allocations: 39.3 kB / 352.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.005258, allocations: 39 kB / 352.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00526, allocations: 0 / 352.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.922e-05/0.005329, allocations: 73.52 kB / 352.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.00534, allocations: 11.88 kB / 352.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005344, allocations: 0 / 352.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.005352, allocations: 7.984 kB / 352.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.005406, allocations: 11.94 kB / 352.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.005409, allocations: 64 / 352.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.00543, allocations: 8 kB / 352.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.005434, allocations: 0 / 352.4 MB, free: 13.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 5.917e-05/0.005493, allocations: 164.6 kB / 352.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.005519, allocations: 15.84 kB / 352.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.005538, allocations: 12.66 kB / 352.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.005541, allocations: 4 kB / 352.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005542, allocations: 0 / 352.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005545, allocations: 0 / 352.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.005754, allocations: 285.7 kB / 352.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.005756, allocations: 4.031 kB / 352.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.005779, allocations: 15.92 kB / 352.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.005781, allocations: 0 / 352.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005785, allocations: 0 / 352.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005786, allocations: 0 / 352.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005787, allocations: 0 / 352.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.005888, allocations: 199.7 kB / 353.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.0059, allocations: 15.84 kB / 353.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.005911, allocations: 15.94 kB / 353.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.08e-05/0.005942, allocations: 0 / 353.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.005965, allocations: 3.984 kB / 353.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005967, allocations: 8 kB / 353.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.836e-05/0.006026, allocations: 159.1 kB / 353.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006026, allocations: 0 / 353.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.006171, allocations: 12 kB / 353.3 MB, free: 12.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.887e-05/0.00625, allocations: 95.19 kB / 353.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.511e-05/0.006325, allocations: 27.61 kB / 353.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006327, allocations: 0 / 353.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.006342, allocations: 15.67 kB / 353.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.006548, allocations: 27.94 kB / 353.5 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.006956, allocations: 210.2 kB / 353.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.809e-05/0.006994, allocations: 63.34 kB / 353.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.007032, allocations: 12.66 kB / 353.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.007084, allocations: 74.2 kB / 353.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.007085, allocations: 0 / 353.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of Templates: time 0.002349/0.009434, allocations: 0.6787 MB / 354.5 MB, free: 10.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4612997081130743]