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.001096/0.001096, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001162/0.001162, allocations: 165 kB / 23.02 MB, free: 1.551 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.9504/0.9504, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.04823/0.04823, allocations: 12.93 MB / 272.9 MB, free: 0.5039 MB / 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.104e-06/2.104e-06, allocations: 0 / 347 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.96e-05, allocations: 4.562 kB / 347 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.00266/0.002689, allocations: 1.661 MB / 348.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.003571, allocations: 482.8 kB / 349.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.003658, allocations: 3.938 kB / 349.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.003781, allocations: 11.86 kB / 349.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.003857, allocations: 23.73 kB / 349.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.004074, allocations: 27.97 kB / 349.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.004241, allocations: 75.59 kB / 349.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.004352, allocations: 17.28 kB / 349.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.004536, allocations: 51.72 kB / 349.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.004592, allocations: 23.92 kB / 349.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.004609, allocations: 0 / 349.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.097e-05/0.00466, allocations: 8 kB / 349.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.00468, allocations: 11.91 kB / 349.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.004712, allocations: 15.94 kB / 349.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.004865, allocations: 47.77 kB / 349.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.004868, allocations: 0 / 349.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004869, allocations: 0 / 349.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.004875, allocations: 4 kB / 349.5 MB, free: 15.15 MB / 282.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.0005041/0.005379, allocations: 424.1 kB / 349.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.005425, allocations: 16.03 kB / 349.9 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.005593, allocations: 16.89 kB / 349.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.005833, allocations: 156.3 kB / 350.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.005848, allocations: 4.375 kB / 350.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.005866, allocations: 8.359 kB / 350.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.006026, allocations: 70.33 kB / 350.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.006039, allocations: 192 / 350.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.006051, allocations: 384 / 350.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.006063, allocations: 7.938 kB / 350.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/0.006107, allocations: 23.86 kB / 350.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.006588, allocations: 410.7 kB / 350.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.006671, allocations: 62.11 kB / 350.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.006706, allocations: 23.44 kB / 350.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.006726, allocations: 7.938 kB / 350.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.006752, allocations: 33.39 kB / 350.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.006754, allocations: 0 / 350.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002038/0.006957, allocations: 61.58 kB / 350.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.006997, allocations: 81.11 kB / 350.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.007156, allocations: 213.9 kB / 351 MB, free: 13.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.007169, allocations: 29.7 kB / 351.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.007255, allocations: 154.8 kB / 351.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.007269, allocations: 15.84 kB / 351.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.007308, allocations: 23.38 kB / 351.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.007451, allocations: 0.4923 MB / 351.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.007479, allocations: 11.92 kB / 351.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.007516, allocations: 35.06 kB / 351.8 MB, free: 12.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.483e-05/0.00758, allocations: 47.3 kB / 351.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007583, allocations: 0 / 351.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001139/0.007697, allocations: 73.5 kB / 351.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.007713, allocations: 7.938 kB / 351.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.007719, allocations: 4 kB / 351.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.007737, allocations: 0 / 351.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.007822, allocations: 8 kB / 351.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.007829, allocations: 4 kB / 351.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.007864, allocations: 12 kB / 351.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.007871, allocations: 8 kB / 352 MB, free: 12.38 MB / 282.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 8.321e-05/0.007955, allocations: 152.6 kB / 352.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.008002, allocations: 15.89 kB / 352.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.008035, allocations: 12.66 kB / 352.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.00804, allocations: 3.984 kB / 352.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.008044, allocations: 0 / 352.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008047, allocations: 0 / 352.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.008373, allocations: 313 kB / 352.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.008376, allocations: 0 / 352.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.008428, allocations: 8.031 kB / 352.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.008434, allocations: 7.938 kB / 352.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.008442, allocations: 0 / 352.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.008444, allocations: 0 / 352.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.008446, allocations: 0 / 352.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.008589, allocations: 219.4 kB / 352.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.008604, allocations: 7.953 kB / 352.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.00862, allocations: 3.984 kB / 352.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.008676, allocations: 4 kB / 352.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.008707, allocations: 0 / 352.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.008712, allocations: 4 kB / 352.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.792e-05/0.0088, allocations: 168.2 kB / 352.9 MB, free: 11.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0088, allocations: 0 / 352.9 MB, free: 11.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.009055, allocations: 12 kB / 352.9 MB, free: 11.39 MB / 282.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 0.0001108/0.009166, allocations: 95.23 kB / 353 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.009288, allocations: 31.61 kB / 353 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.009291, allocations: 0 / 353 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.009314, allocations: 15.69 kB / 353 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.009674, allocations: 21.72 kB / 353 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.01033, allocations: 218.2 kB / 353.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.978e-05/0.01038, allocations: 59.34 kB / 353.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.01041, allocations: 8.719 kB / 353.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01045, allocations: 12.5 kB / 353.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01045, allocations: 0 / 353.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of Templates: time 0.002968/0.01342, allocations: 0.64 MB / 354 MB, free: 10.24 MB / 282.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.8436328088864684]