Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG.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.001343/0.001343, allocations: 77.14 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.9584/0.9584, allocations: 177.1 MB / 201 MB, free: 5.727 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.001471/0.001471, allocations: 156.6 kB / 257.7 MB, free: 13 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.3294/0.3294, allocations: 80.25 MB / 394.5 MB, free: 2 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.02054/0.02054, allocations: 4.801 MB / 482.6 MB, free: 3.945 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.SimpleGenTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG") translateModel(OpenHPL.Examples.WithOpenIPSL.SimpleGenTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5687 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.849e-05, allocations: 10.31 kB / 0.5687 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.WithOpenIPSL.SimpleGenTG): time 0.008385/0.008404, allocations: 9.936 MB / 0.5784 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005775/0.01418, allocations: 4.994 MB / 0.5833 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.01473, allocations: 31.81 kB / 0.5833 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.01612, allocations: 1.208 MB / 0.5845 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.01762, allocations: 1.269 MB / 0.5857 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.01933, allocations: 1.449 MB / 0.5872 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.02113, allocations: 2.779 MB / 0.5899 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.02217, allocations: 1.17 MB / 0.591 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.02331, allocations: 1.516 MB / 0.5925 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008539/0.02417, allocations: 0.989 MB / 0.5935 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.02437, allocations: 200 kB / 0.5937 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.02505, allocations: 0.6086 MB / 0.5942 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.02541, allocations: 0.5367 MB / 0.5948 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.02592, allocations: 0.7593 MB / 0.5955 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.02771, allocations: 2.183 MB / 0.5976 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.02771, allocations: 3.984 kB / 0.5976 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.42e-07/0.02771, allocations: 0 / 0.5976 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.02773, allocations: 0 / 0.5976 GB, free: 2.246 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.2109/0.2386, allocations: 3.856 MB / 0.6014 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.2386, allocations: 11.88 kB / 0.6014 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/0.242, allocations: 1.117 MB / 0.6025 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.2437, allocations: 1.174 MB / 0.6037 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.244, allocations: 434 kB / 0.6041 GB, free: 163 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.2442, allocations: 153.8 kB / 0.6042 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.246, allocations: 1.52 MB / 0.6057 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.246, allocations: 11.05 kB / 0.6057 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.2462, allocations: 61.28 kB / 0.6058 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.2462, allocations: 33.47 kB / 0.6058 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.2473, allocations: 0.5825 MB / 0.6064 GB, free: 162.2 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.006576/0.2539, allocations: 4.885 MB / 0.6111 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.2552, allocations: 0.7705 MB / 0.6119 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/0.2558, allocations: 387.5 kB / 0.6123 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/0.2563, allocations: 127.8 kB / 0.6124 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.2563, allocations: 57.3 kB / 0.6124 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=155): time 3.256e-06/0.2563, allocations: 0 / 0.6124 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=161): time 0.01425/0.2705, allocations: 5.919 MB / 0.6182 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/0.2706, allocations: 357.3 kB / 0.6186 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.2721, allocations: 1.495 MB / 0.62 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.907e-05/0.2722, allocations: 57.14 kB / 0.6201 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.2727, allocations: 0.9738 MB / 0.621 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.2731, allocations: 0.5878 MB / 0.6216 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/0.2736, allocations: 348.8 kB / 0.6219 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.2737, allocations: 478 kB / 0.6224 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006296/0.2743, allocations: 388.1 kB / 0.6228 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007477/0.2751, allocations: 1.09 MB / 0.6238 GB, free: 155.7 MB / 0.5105 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.2771, allocations: 1.838 MB / 0.6256 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.2771, allocations: 0 / 0.6256 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.005512/0.2826, allocations: 3.318 MB / 0.6289 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2826, allocations: 7.938 kB / 0.6289 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2826, allocations: 8 kB / 0.6289 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005386/0.288, allocations: 2.198 MB / 0.631 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.2887, allocations: 325 kB / 0.6313 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.2952, allocations: 5.5 MB / 0.6367 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.2962, allocations: 125 kB / 0.6368 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/0.2963, allocations: 59.97 kB / 0.6369 GB, free: 144.5 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 2 initial equations are redundant, so they are removed from the initialization system: $DER.discharge.mdot = 0.0 surgeTank.Vdot = surgeTank.Vdot_0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008378/0.2971, allocations: 0.5368 MB / 0.6374 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006553/0.2978, allocations: 1.091 MB / 0.6385 GB, free: 142.6 MB / 0.5105 GB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001754/0.2996, allocations: 1.828 MB / 0.6403 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/0.2996, allocations: 4 kB / 0.6403 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.005211/0.3048, allocations: 3.319 MB / 0.6435 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3048, allocations: 8 kB / 0.6435 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3048, allocations: 7.844 kB / 0.6435 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004963/0.3098, allocations: 2.201 MB / 0.6457 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.3104, allocations: 312.7 kB / 0.646 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/0.3163, allocations: 5.51 MB / 0.6513 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009421/0.3173, allocations: 119.9 kB / 0.6515 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/0.3174, allocations: 55.97 kB / 0.6515 GB, free: 129.3 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 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: $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 (177): * Single equations (assignments): 175 * 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.0003223/0.3177, allocations: 386.9 kB / 0.6519 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.3179, allocations: 268 kB / 0.6521 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004778/0.3227, allocations: 2.969 MB / 0.655 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3227, allocations: 7.969 kB / 0.655 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3227, allocations: 0 / 0.655 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.3232, allocations: 378.3 kB / 0.6554 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.3234, allocations: 28 kB / 0.6554 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.324, allocations: 112.9 kB / 0.6555 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006441/0.3246, allocations: 0.5009 MB / 0.656 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002318/0.327, allocations: 1.445 MB / 0.6574 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001607/0.3286, allocations: 1.67 MB / 0.6591 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003767/0.3289, allocations: 315.6 kB / 0.6594 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006271/0.3296, allocations: 0.8526 MB / 0.6602 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of Backend: time 4e-07/0.3296, allocations: 4 kB / 0.6602 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006464/0.336, allocations: 3.861 MB / 0.664 GB, free: 117 MB / 0.5105 GB Notification: Performance of SimCode: time 0.004596/0.3406, allocations: 4.956 MB / 0.6688 GB, free: 112 MB / 0.5105 GB Notification: Performance of Templates: time 0.05442/0.3951, allocations: 58.69 MB / 0.7261 GB, free: 53.96 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG.pipe ; mkfifo OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG.pipe >> ../files/OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG.sim & ./OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.WithOpenIPSL.SimpleGenTG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 99.04435183200985]