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.001494/0.001494, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00175/0.00175, allocations: 181 kB / 23.36 MB, free: 1.133 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.9776/0.9776, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.05078/0.05078, allocations: 13.12 MB / 273.4 MB, free: 208 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 1.553e-06/1.553e-06, allocations: 0 / 294.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.573e-05, allocations: 3.125 kB / 294.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.007893/0.007919, allocations: 1.696 MB / 296.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.00891, allocations: 496.8 kB / 296.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.009012, allocations: 5.188 kB / 296.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.009131, allocations: 10.47 kB / 296.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.009218, allocations: 27.95 kB / 296.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.01253, allocations: 35.28 kB / 296.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.01274, allocations: 78.73 kB / 296.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.01284, allocations: 18.11 kB / 296.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.01302, allocations: 52.19 kB / 296.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.01308, allocations: 21.44 kB / 296.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.0131, allocations: 2.781 kB / 296.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.472e-05/0.01314, allocations: 6.766 kB / 296.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.01316, allocations: 16.73 kB / 296.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.01318, allocations: 18.34 kB / 296.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.01333, allocations: 51.16 kB / 296.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01334, allocations: 0 / 296.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01334, allocations: 1.188 kB / 296.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.01334, allocations: 0 / 296.9 MB, free: 10.31 MB / 266.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.0003349/0.01368, allocations: 316.2 kB / 297.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01371, allocations: 10.28 kB / 297.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.01383, allocations: 16.94 kB / 297.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.014, allocations: 163.8 kB / 297.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.01401, allocations: 1.812 kB / 297.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.01402, allocations: 4.578 kB / 297.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.01412, allocations: 70.06 kB / 297.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.01413, allocations: 192 / 297.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.01414, allocations: 384 / 297.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01414, allocations: 5.344 kB / 297.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.01417, allocations: 12 kB / 297.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.01444, allocations: 240.4 kB / 297.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.271e-05/0.01449, allocations: 44.12 kB / 297.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.01451, allocations: 17.25 kB / 297.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.01452, allocations: 5.312 kB / 297.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.01454, allocations: 35.7 kB / 297.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.01454, allocations: 0 / 297.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001432/0.01468, allocations: 51.98 kB / 297.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.01471, allocations: 79.36 kB / 298 MB, free: 9.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.01482, allocations: 187.4 kB / 298.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.01482, allocations: 30.8 kB / 298.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.01486, allocations: 94.3 kB / 298.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.315e-06/0.01487, allocations: 18.52 kB / 298.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.0149, allocations: 20.09 kB / 298.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.01494, allocations: 322.3 kB / 298.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.01495, allocations: 5.172 kB / 298.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.01497, allocations: 29.33 kB / 298.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.01502, allocations: 31.81 kB / 298.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01502, allocations: 1.188 kB / 298.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.003137/0.01816, allocations: 60.55 kB / 298.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.01818, allocations: 10.56 kB / 298.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.01819, allocations: 1.188 kB / 298.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01821, allocations: 1.281 kB / 298.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.0183, allocations: 11.73 kB / 298.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.0183, allocations: 3.094 kB / 298.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.01835, allocations: 5.531 kB / 298.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.01836, allocations: 6.969 kB / 298.8 MB, free: 8.605 MB / 266.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.937e-05/0.01842, allocations: 116.5 kB / 298.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.01846, allocations: 6.312 kB / 298.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.01849, allocations: 20.03 kB / 298.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01849, allocations: 5.125 kB / 299 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.0185, allocations: 0 / 299 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.0185, allocations: 1.844 kB / 299 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.01875, allocations: 205.5 kB / 299.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01876, allocations: 0 / 299.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.0188, allocations: 6.578 kB / 299.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.0188, allocations: 5 kB / 299.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01881, allocations: 4.75 kB / 299.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01881, allocations: 1.094 kB / 299.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01881, allocations: 1.781 kB / 299.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.125e-05/0.01889, allocations: 154.2 kB / 299.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.01891, allocations: 12.19 kB / 299.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.01892, allocations: 1.75 kB / 299.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.01899, allocations: 1.688 kB / 299.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.01901, allocations: 4 kB / 299.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.01902, allocations: 1.094 kB / 299.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.76e-05/0.01907, allocations: 49.03 kB / 299.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01907, allocations: 0 / 299.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.01928, allocations: 8.906 kB / 299.4 MB, free: 8.082 MB / 266.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.0001006/0.01938, allocations: 77.86 kB / 299.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.336e-05/0.01946, allocations: 28.7 kB / 299.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.01947, allocations: 2.25 kB / 299.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.01948, allocations: 14.69 kB / 299.5 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01972, allocations: 18.05 kB / 299.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/0.0204, allocations: 244 kB / 299.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.02043, allocations: 62.19 kB / 299.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.234e-05/0.02048, allocations: 9.891 kB / 299.8 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.02053, allocations: 62.77 kB / 299.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02053, allocations: 0 / 299.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of Templates: time 0.003605/0.02414, allocations: 0.6405 MB / 300.5 MB, free: 7.582 MB / 266.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.7314829737879336]