Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen.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.0008866/0.0008866, allocations: 77.95 kB / 20.67 MB, free: 3.836 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.9633/0.9633, allocations: 177.2 MB / 201.1 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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.001273/0.001273, allocations: 152.7 kB / 257.7 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2748/0.2748, allocations: 80.24 MB / 394.5 MB, free: 1.996 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.04801/0.04801, allocations: 4.799 MB / 482.6 MB, free: 3.844 MB / 394.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenHPL.Examples.WithOpenIPSL.SimpleGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen") translateModel(OpenHPL.Examples.WithOpenIPSL.SimpleGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5687 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.908e-05/4.062e-05, allocations: 2.312 kB / 0.5687 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.WithOpenIPSL.SimpleGen): time 0.008921/0.008962, allocations: 10.37 MB / 0.5788 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008349/0.01731, allocations: 5.419 MB / 0.5841 GB, free: 56 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.01881, allocations: 35.81 kB / 0.5842 GB, free: 20 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.02078, allocations: 1.332 MB / 0.5855 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.02379, allocations: 1.405 MB / 0.5868 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.02721, allocations: 1.811 MB / 0.5886 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003624/0.03083, allocations: 3.185 MB / 0.5917 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.03303, allocations: 1.36 MB / 0.5931 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.03571, allocations: 1.745 MB / 0.5948 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.03708, allocations: 1.184 MB / 0.5959 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.03741, allocations: 236 kB / 0.5961 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.03871, allocations: 0.6516 MB / 0.5968 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.03919, allocations: 0.6574 MB / 0.5974 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000949/0.04014, allocations: 0.8605 MB / 0.5983 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2023/0.2424, allocations: 2.45 MB / 0.6006 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2425, allocations: 2.344 kB / 0.6006 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2425, allocations: 0 / 0.6006 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001564/0.2426, allocations: 0 / 0.6006 GB, free: 153.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.008585/0.2512, allocations: 4.269 MB / 0.6048 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2512, allocations: 8.719 kB / 0.6048 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/0.255, allocations: 1.184 MB / 0.606 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.2574, allocations: 1.397 MB / 0.6073 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.2576, allocations: 363.1 kB / 0.6077 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.2579, allocations: 170.2 kB / 0.6079 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.26, allocations: 1.695 MB / 0.6095 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.26, allocations: 7.203 kB / 0.6095 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.2601, allocations: 61 kB / 0.6096 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.2602, allocations: 37.94 kB / 0.6096 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2616, allocations: 0.6535 MB / 0.6103 GB, free: 149.8 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007871/0.2694, allocations: 5.371 MB / 0.6155 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.271, allocations: 0.8708 MB / 0.6163 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.2716, allocations: 415.2 kB / 0.6167 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/0.272, allocations: 136 kB / 0.6169 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.2721, allocations: 58.58 kB / 0.6169 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 4.629e-06/0.2721, allocations: 0.75 kB / 0.6169 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=177): time 0.01694/0.289, allocations: 6.703 MB / 0.6235 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.2891, allocations: 409.8 kB / 0.6239 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.2914, allocations: 1.786 MB / 0.6256 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003399/0.2917, allocations: 55.89 kB / 0.6257 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006741/0.2924, allocations: 1.132 MB / 0.6268 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/0.2929, allocations: 0.6436 MB / 0.6274 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005091/0.2934, allocations: 372.5 kB / 0.6278 GB, free: 145 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.2934, allocations: 476.8 kB / 0.6282 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/0.2942, allocations: 401.1 kB / 0.6286 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009237/0.2951, allocations: 1.186 MB / 0.6297 GB, free: 143.3 MB / 0.5105 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 (0.0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.2984, allocations: 2.396 MB / 0.6321 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.2984, allocations: 4 kB / 0.6321 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007567/0.306, allocations: 3.409 MB / 0.6354 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.306, allocations: 8 kB / 0.6354 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.306, allocations: 7.984 kB / 0.6354 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00716/0.3132, allocations: 2.191 MB / 0.6376 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.3146, allocations: 367.9 kB / 0.6379 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/0.3231, allocations: 5.501 MB / 0.6433 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.3251, allocations: 143.8 kB / 0.6434 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.3252, allocations: 59.67 kB / 0.6435 GB, free: 130.7 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: turbine.speedSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real turbine.inertia.w:VARIABLE(start = turbine.f_0 * 2.0 * 3.141592653589793 * turbine.f_nom unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.intake.mdot = 0.0 $DER.discharge.mdot = 0.0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001282/0.3265, allocations: 0.5579 MB / 0.644 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009172/0.3274, allocations: 1.18 MB / 0.6452 GB, free: 128.7 MB / 0.5105 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = surgeTank.Vdot_0 (0.0 = surgeTank.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003179/0.3306, allocations: 2.378 MB / 0.6475 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.987e-06/0.3306, allocations: 0 / 0.6475 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=253) (initialization_lambda0): time 0.007715/0.3383, allocations: 3.398 MB / 0.6508 GB, free: 123 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3384, allocations: 15.94 kB / 0.6508 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3384, allocations: 8 kB / 0.6509 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006129/0.3445, allocations: 2.193 MB / 0.653 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3455, allocations: 357.8 kB / 0.6533 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006667/0.3522, allocations: 5.509 MB / 0.6587 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.3541, allocations: 131.9 kB / 0.6588 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.3542, allocations: 59.97 kB / 0.6589 GB, free: 114.8 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: turbine.speedSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real turbine.inertia.w:VARIABLE(start = turbine.f_0 * 2.0 * 3.141592653589793 * turbine.f_nom unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.intake.mdot = 0.0 $DER.discharge.mdot = 0.0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (193): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,23), (26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004562/0.3547, allocations: 394.8 kB / 0.6593 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.3551, allocations: 302.4 kB / 0.6596 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005416/0.3605, allocations: 3.183 MB / 0.6627 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.3605, allocations: 7.969 kB / 0.6627 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3605, allocations: 0 / 0.6627 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.3615, allocations: 428.7 kB / 0.6631 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.3618, allocations: 39.98 kB / 0.6631 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.3626, allocations: 119.8 kB / 0.6632 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007231/0.3633, allocations: 0.5282 MB / 0.6638 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003007/0.3663, allocations: 1.623 MB / 0.6653 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002081/0.3684, allocations: 1.807 MB / 0.6671 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004209/0.3688, allocations: 340 kB / 0.6674 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001009/0.3698, allocations: 0.9976 MB / 0.6684 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of Backend: time 8.12e-07/0.3698, allocations: 0 / 0.6684 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008068/0.3779, allocations: 4.057 MB / 0.6724 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of SimCode: time 0.008525/0.3864, allocations: 5.54 MB / 0.6778 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.06802/0.4545, allocations: 63.91 MB / 0.7402 GB, free: 32.95 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen.pipe ; mkfifo OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen.pipe >> ../files/OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen.sim & ./OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGen.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.759936005342752]