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.001145/0.001145, allocations: 87.56 kB / 20.21 MB, free: 4.211 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.001167/0.001167, allocations: 157.3 kB / 23.53 MB, free: 0.8984 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.9997/0.9997, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.05634/0.05634, allocations: 12.73 MB / 273.1 MB, free: 0.7383 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.695e-06/2.695e-06, allocations: 0 / 346 MB, free: 3.082 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.522e-05, allocations: 2.312 kB / 346 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002822/0.002857, allocations: 1.611 MB / 347.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004027, allocations: 466.8 kB / 348 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.004166, allocations: 4 kB / 348 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.00434, allocations: 7.875 kB / 348 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.18e-05/0.004431, allocations: 27.72 kB / 348.1 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.004704, allocations: 31.84 kB / 348.1 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.00489, allocations: 75.66 kB / 348.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.005017, allocations: 17.3 kB / 348.2 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.005245, allocations: 51.77 kB / 348.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.005305, allocations: 19.92 kB / 348.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.005324, allocations: 0 / 348.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.005375, allocations: 8 kB / 348.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.005392, allocations: 11.92 kB / 348.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.005422, allocations: 15.92 kB / 348.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.005581, allocations: 59.75 kB / 348.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005584, allocations: 0 / 348.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005585, allocations: 0 / 348.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.005592, allocations: 4 kB / 348.4 MB, free: 0.668 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.0004624/0.006055, allocations: 435.8 kB / 348.8 MB, free: 212 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.006105, allocations: 8.031 kB / 348.8 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.006267, allocations: 20.83 kB / 348.8 MB, free: 184 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.006474, allocations: 156.4 kB / 349 MB, free: 0 / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006487, allocations: 0.5 kB / 349 MB, free: 16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.0065, allocations: 8.312 kB / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.006659, allocations: 69.61 kB / 349 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.006667, allocations: 4.188 kB / 349 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.006678, allocations: 384 / 349 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.006686, allocations: 7.938 kB / 349.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.006755, allocations: 27.92 kB / 349.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.007298, allocations: 418.7 kB / 349.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.007409, allocations: 66.12 kB / 349.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.007465, allocations: 31.42 kB / 349.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.007488, allocations: 3.938 kB / 349.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.007519, allocations: 45.39 kB / 349.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.007521, allocations: 0 / 349.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002592/0.007781, allocations: 69.58 kB / 349.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.007832, allocations: 81.11 kB / 349.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.008032, allocations: 234.6 kB / 350 MB, free: 14.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.008049, allocations: 33.7 kB / 350 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.00816, allocations: 158.8 kB / 350.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.008174, allocations: 11.91 kB / 350.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.008221, allocations: 27.61 kB / 350.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.008389, allocations: 0.4962 MB / 350.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.008433, allocations: 15.98 kB / 350.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.008489, allocations: 43.05 kB / 350.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.008584, allocations: 51 kB / 350.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.008587, allocations: 128 / 350.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001425/0.008729, allocations: 85.5 kB / 350.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.008748, allocations: 8 kB / 350.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.008754, allocations: 4.062 kB / 350.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.008772, allocations: 0 / 350.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.008862, allocations: 19.98 kB / 351 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.008868, allocations: 0 / 351 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.008913, allocations: 7.953 kB / 351 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.00892, allocations: 0 / 351 MB, free: 13.8 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 9.596e-05/0.009016, allocations: 160.6 kB / 351.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.009069, allocations: 19.92 kB / 351.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.009255, allocations: 16.59 kB / 351.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009259, allocations: 4 kB / 351.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.009264, allocations: 7.938 kB / 351.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.009268, allocations: 3.938 kB / 351.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.009618, allocations: 321 kB / 351.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00962, allocations: 0 / 351.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.009656, allocations: 8 kB / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009658, allocations: 0 / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.009666, allocations: 0 / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.009669, allocations: 0 / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.009671, allocations: 4 kB / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.009874, allocations: 227.4 kB / 351.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.009889, allocations: 11.98 kB / 351.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.009903, allocations: 0 / 351.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.009956, allocations: 4 kB / 351.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.009997, allocations: 3.984 kB / 351.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.01, allocations: 0 / 351.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.0101, allocations: 179.4 kB / 351.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0101, allocations: 0 / 351.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.01035, allocations: 8 kB / 351.9 MB, free: 12.76 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 9.689e-05/0.01045, allocations: 95.25 kB / 352 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.01059, allocations: 51.59 kB / 352.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01059, allocations: 0 / 352.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.01062, allocations: 19.62 kB / 352.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.01096, allocations: 31.77 kB / 352.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.0114, allocations: 232.1 kB / 352.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.01149, allocations: 84.56 kB / 352.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.01153, allocations: 12.5 kB / 352.4 MB, free: 12.17 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01153, allocations: 0 / 352.4 MB, free: 12.17 MB / 282.7 MB Notification: Performance of Templates: time 0.002679/0.01421, allocations: 1.097 MB / 353.5 MB, free: 11.07 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 > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.333598440978676]