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.0008836/0.0008836, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009085/0.0009085, allocations: 173 kB / 23.5 MB, free: 1.055 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.9123/0.9123, allocations: 177.1 MB / 203.8 MB, free: 5.266 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.04777/0.04777, allocations: 12.73 MB / 273 MB, free: 0.625 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.024e-06/2.024e-06, allocations: 0 / 346.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.774e-05, allocations: 2.312 kB / 346.7 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002375/0.002403, allocations: 1.648 MB / 348.4 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007129/0.003116, allocations: 482.7 kB / 348.8 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.003192, allocations: 3.938 kB / 348.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.00331, allocations: 11.86 kB / 348.9 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.003381, allocations: 31.73 kB / 348.9 MB, free: 1.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.003598, allocations: 23.97 kB / 348.9 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.003763, allocations: 83.58 kB / 349 MB, free: 1.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.003878, allocations: 13.3 kB / 349 MB, free: 1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.004037, allocations: 47.78 kB / 349.1 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.004093, allocations: 19.91 kB / 349.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.00411, allocations: 0 / 349.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.697e-05/0.004157, allocations: 12 kB / 349.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.004171, allocations: 7.922 kB / 349.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.004202, allocations: 15.94 kB / 349.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004341, allocations: 55.7 kB / 349.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004343, allocations: 0 / 349.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004344, allocations: 0 / 349.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.004349, allocations: 0 / 349.2 MB, free: 0.8438 MB / 314.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.0004608/0.00481, allocations: 428.1 kB / 349.6 MB, free: 400 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.004853, allocations: 12.03 kB / 349.6 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.004975, allocations: 16.84 kB / 349.6 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.005167, allocations: 156.4 kB / 349.8 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.005177, allocations: 4.375 kB / 349.8 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.005191, allocations: 8.375 kB / 349.8 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.005328, allocations: 78.25 kB / 349.9 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.005336, allocations: 192 / 349.9 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.005349, allocations: 4.359 kB / 349.9 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.00536, allocations: 11.88 kB / 349.9 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.005397, allocations: 7.984 kB / 349.9 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.005835, allocations: 418.6 kB / 350.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.005906, allocations: 58.17 kB / 350.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.00594, allocations: 31.38 kB / 350.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.005958, allocations: 7.938 kB / 350.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.005979, allocations: 33.39 kB / 350.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.005981, allocations: 0 / 350.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001828/0.006163, allocations: 57.58 kB / 350.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.006209, allocations: 81.11 kB / 350.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.006342, allocations: 218.6 kB / 350.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006354, allocations: 25.7 kB / 350.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.006448, allocations: 159.1 kB / 350.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.006463, allocations: 15.84 kB / 351 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.006495, allocations: 23.38 kB / 351 MB, free: 14.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.006653, allocations: 0.4923 MB / 351.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.006678, allocations: 7.984 kB / 351.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.006708, allocations: 31.06 kB / 351.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.006762, allocations: 43 kB / 351.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.006765, allocations: 0 / 351.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.479e-05/0.006849, allocations: 73.56 kB / 351.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.006866, allocations: 10.5 kB / 351.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.006874, allocations: 4 kB / 351.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.006888, allocations: 0 / 351.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.006964, allocations: 8 kB / 351.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.006972, allocations: 7.938 kB / 351.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.006997, allocations: 7.938 kB / 351.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.007004, allocations: 8 kB / 351.7 MB, free: 14.07 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 7.111e-05/0.007075, allocations: 152.6 kB / 351.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.007101, allocations: 15.89 kB / 351.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.007126, allocations: 12.66 kB / 351.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.007128, allocations: 4 kB / 351.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.007132, allocations: 0 / 351.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.007138, allocations: 3.984 kB / 351.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.007391, allocations: 309.1 kB / 352.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.007394, allocations: 3.984 kB / 352.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.00742, allocations: 7.938 kB / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.007423, allocations: 4 kB / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.00743, allocations: 0 / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007431, allocations: 0 / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007432, allocations: 0 / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.007561, allocations: 215.5 kB / 352.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.007575, allocations: 11.95 kB / 352.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007587, allocations: 0 / 352.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.007622, allocations: 8.203 kB / 352.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.007659, allocations: 11.92 kB / 352.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.007664, allocations: 4 kB / 352.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.007733, allocations: 159.4 kB / 352.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007733, allocations: 0 / 352.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.00788, allocations: 15.95 kB / 352.6 MB, free: 13.07 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 9.014e-05/0.00797, allocations: 99.23 kB / 352.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.008065, allocations: 23.62 kB / 352.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.008068, allocations: 0 / 352.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.00809, allocations: 23.67 kB / 352.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.008322, allocations: 15 kB / 352.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.00889, allocations: 222.5 kB / 353 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.008935, allocations: 63.34 kB / 353 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.008964, allocations: 8.719 kB / 353 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.008995, allocations: 12.5 kB / 353 MB, free: 12.55 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008996, allocations: 0 / 353 MB, free: 12.55 MB / 330.7 MB Notification: Performance of Templates: time 0.002544/0.01154, allocations: 0.6219 MB / 353.7 MB, free: 11.94 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.631363302934915]