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.001425/0.001425, allocations: 79.52 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001545/0.001545, allocations: 162.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.07894/0.07894, allocations: 12.74 MB / 271.9 MB, free: 4.391 MB / 254.1 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 1.683e-06/1.683e-06, allocations: 0 / 403.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.431e-05, allocations: 2.281 kB / 403.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002694/0.002718, allocations: 1.607 MB / 404.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.003619, allocations: 470.7 kB / 405.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.003679, allocations: 0 / 405.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.198e-05/0.003771, allocations: 11.88 kB / 405.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.003849, allocations: 27.73 kB / 405.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.004019, allocations: 31.89 kB / 405.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.004167, allocations: 75.66 kB / 405.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.004253, allocations: 9.172 kB / 405.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.004419, allocations: 59.75 kB / 405.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.00447, allocations: 15.92 kB / 405.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.004488, allocations: 4 kB / 405.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.004525, allocations: 4 kB / 405.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.004542, allocations: 11.94 kB / 405.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.004602, allocations: 19.92 kB / 405.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.004738, allocations: 63.73 kB / 405.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00474, allocations: 0 / 405.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004741, allocations: 0 / 405.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.004744, allocations: 0 / 405.5 MB, free: 12.15 MB / 334.1 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.0004931/0.005237, allocations: 321.8 kB / 405.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.005281, allocations: 12.03 kB / 405.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.005421, allocations: 16.84 kB / 405.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.005681, allocations: 158 kB / 406 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.005692, allocations: 4.359 kB / 406 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.005704, allocations: 8.312 kB / 406 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.005845, allocations: 59.97 kB / 406.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005854, allocations: 4.125 kB / 406.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.005873, allocations: 4.375 kB / 406.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.00588, allocations: 3.938 kB / 406.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.005982, allocations: 31.91 kB / 406.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.006413, allocations: 320.7 kB / 406.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.006531, allocations: 49.2 kB / 406.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.006607, allocations: 29.7 kB / 406.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.006625, allocations: 3.938 kB / 406.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.006657, allocations: 34.56 kB / 406.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.006658, allocations: 0 / 406.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002775/0.006935, allocations: 81.78 kB / 406.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.007074, allocations: 77.11 kB / 406.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.007245, allocations: 171.3 kB / 406.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.007264, allocations: 25.7 kB / 406.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.007357, allocations: 108.1 kB / 407 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.007371, allocations: 11.91 kB / 407 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.007413, allocations: 21.7 kB / 407.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.007576, allocations: 322.8 kB / 407.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.007629, allocations: 11.94 kB / 407.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.007702, allocations: 38.59 kB / 407.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.00781, allocations: 50.59 kB / 407.5 MB, free: 10 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007812, allocations: 0 / 407.5 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001723/0.007984, allocations: 85.48 kB / 407.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.008, allocations: 8 kB / 407.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008005, allocations: 0 / 407.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.008018, allocations: 0 / 407.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.00811, allocations: 19.92 kB / 407.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.008115, allocations: 4.062 kB / 407.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.008168, allocations: 11.89 kB / 407.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.008173, allocations: 0 / 407.6 MB, free: 9.871 MB / 334.1 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 0.0001041/0.008277, allocations: 121.8 kB / 407.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.008328, allocations: 15.89 kB / 407.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.008352, allocations: 12.61 kB / 407.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.008357, allocations: 4 kB / 407.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.008361, allocations: 0 / 407.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008364, allocations: 0 / 407.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.008688, allocations: 258.9 kB / 408 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.008689, allocations: 4.031 kB / 408 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.008742, allocations: 11.98 kB / 408 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.008744, allocations: 0 / 408 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.008752, allocations: 3.938 kB / 408 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008753, allocations: 0 / 408 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008754, allocations: 0 / 408 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.008952, allocations: 180.2 kB / 408.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.008972, allocations: 8.078 kB / 408.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.008991, allocations: 4 kB / 408.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.009061, allocations: 8 kB / 408.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.009095, allocations: 3.984 kB / 408.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.009101, allocations: 4 kB / 408.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.009213, allocations: 119.2 kB / 408.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.009213, allocations: 0 / 408.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.009445, allocations: 12 kB / 408.4 MB, free: 9.051 MB / 334.1 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.931e-05/0.009544, allocations: 91.25 kB / 408.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.009728, allocations: 35.91 kB / 408.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.009729, allocations: 128 / 408.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.009776, allocations: 16 kB / 408.5 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.01008, allocations: 30.02 kB / 408.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.01053, allocations: 198.6 kB / 408.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/0.01062, allocations: 84.31 kB / 408.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.622e-05/0.01066, allocations: 12.84 kB / 408.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.01069, allocations: 12.5 kB / 408.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.0107, allocations: 0 / 408.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of Templates: time 0.003391/0.01409, allocations: 0.6064 MB / 409.4 MB, free: 7.926 MB / 334.1 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.34254365041852]