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.001442/0.001442, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.001066/0.001066, allocations: 177.9 kB / 23.21 MB, free: 1.328 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.9428/0.9428, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.04706/0.04706, allocations: 12.71 MB / 272.7 MB, free: 0.9375 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 1.763e-06/1.763e-06, allocations: 0 / 403.1 MB, free: 9.594 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.694e-05, allocations: 6.219 kB / 403.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002641/0.002668, allocations: 1.61 MB / 404.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.003459, allocations: 466.8 kB / 405.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.00355, allocations: 7.938 kB / 405.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.00366, allocations: 11.86 kB / 405.2 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.003742, allocations: 23.75 kB / 405.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.003974, allocations: 31.89 kB / 405.3 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.004165, allocations: 79.59 kB / 405.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.004293, allocations: 17.16 kB / 405.4 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.004488, allocations: 55.77 kB / 405.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.004547, allocations: 11.92 kB / 405.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.004565, allocations: 4 kB / 405.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.004609, allocations: 4 kB / 405.4 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.004627, allocations: 15.92 kB / 405.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.004656, allocations: 15.94 kB / 405.5 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.004812, allocations: 71.72 kB / 405.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004814, allocations: 0 / 405.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004815, allocations: 0 / 405.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.00482, allocations: 0 / 405.5 MB, free: 7.164 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.0004823/0.005302, allocations: 317.8 kB / 405.8 MB, free: 6.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.005347, allocations: 8.031 kB / 405.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.005503, allocations: 24.83 kB / 405.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.005707, allocations: 150 kB / 406 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005719, allocations: 4.375 kB / 406 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.00573, allocations: 8.312 kB / 406 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.005865, allocations: 63.95 kB / 406.1 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.005874, allocations: 192 / 406.1 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.005885, allocations: 4.375 kB / 406.1 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.005892, allocations: 7.875 kB / 406.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.769e-05/0.00597, allocations: 27.92 kB / 406.1 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.006405, allocations: 308.7 kB / 406.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.066e-05/0.006496, allocations: 57.14 kB / 406.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.006544, allocations: 21.78 kB / 406.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.006562, allocations: 7.938 kB / 406.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.006586, allocations: 34.55 kB / 406.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.006587, allocations: 0 / 406.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002377/0.006825, allocations: 73.58 kB / 406.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.006872, allocations: 85.34 kB / 406.7 MB, free: 5.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.007022, allocations: 171.3 kB / 406.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.007033, allocations: 25.7 kB / 406.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.007106, allocations: 116 kB / 407 MB, free: 5.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.007116, allocations: 11.91 kB / 407 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.007152, allocations: 17.72 kB / 407 MB, free: 5.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.007262, allocations: 322.8 kB / 407.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.151e-05/0.007313, allocations: 11.98 kB / 407.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.007366, allocations: 38.5 kB / 407.4 MB, free: 5.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.026e-05/0.007456, allocations: 50.56 kB / 407.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.007459, allocations: 0 / 407.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001347/0.007593, allocations: 85.5 kB / 407.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007608, allocations: 4 kB / 407.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007613, allocations: 0 / 407.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.007628, allocations: 4 kB / 407.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.007708, allocations: 15.92 kB / 407.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.007713, allocations: 0 / 407.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.00775, allocations: 7.953 kB / 407.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.007758, allocations: 8.062 kB / 407.6 MB, free: 4.898 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.442e-05/0.007832, allocations: 122.4 kB / 407.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.007874, allocations: 11.89 kB / 407.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.007901, allocations: 16.64 kB / 407.7 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.007904, allocations: 3.984 kB / 407.7 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007908, allocations: 4.062 kB / 407.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007912, allocations: 0 / 407.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.008202, allocations: 266.9 kB / 408 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.008203, allocations: 4 kB / 408 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.008238, allocations: 12.02 kB / 408 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.00824, allocations: 0 / 408 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.008247, allocations: 0 / 408 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008249, allocations: 4 kB / 408 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.00825, allocations: 0 / 408 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.008389, allocations: 172.2 kB / 408.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.008403, allocations: 15.83 kB / 408.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.008415, allocations: 0 / 408.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.008468, allocations: 0 / 408.2 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.008503, allocations: 7.984 kB / 408.2 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.008506, allocations: 4 kB / 408.2 MB, free: 4.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.122e-05/0.008588, allocations: 119.2 kB / 408.3 MB, free: 4.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008588, allocations: 0 / 408.3 MB, free: 4.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.008835, allocations: 12 kB / 408.3 MB, free: 4.074 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 8.715e-05/0.008922, allocations: 91.25 kB / 408.4 MB, free: 3.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.009048, allocations: 35.91 kB / 408.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.009052, allocations: 12 kB / 408.5 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.009084, allocations: 12.19 kB / 408.5 MB, free: 3.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.00933, allocations: 18.73 kB / 408.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.009658, allocations: 228.3 kB / 408.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.206e-05/0.00972, allocations: 84.31 kB / 408.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.009748, allocations: 12.5 kB / 408.8 MB, free: 3.527 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009749, allocations: 0 / 408.8 MB, free: 3.527 MB / 330.7 MB Notification: Performance of Templates: time 0.001958/0.01171, allocations: 1.085 MB / 409.9 MB, free: 2.441 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 > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.547639659838751]