Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 180.6 kB / 8.344 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 84.72 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4618/0.4618, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.558e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 60.26 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.007/7.133, allocations: 3.117 GB / 3.591 GB, free: 134.1 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/7.133, allocations: 78.39 kB / 3.591 GB, free: 134.1 MB / 0.5108 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/PowerPlants.mo:3950:70-3951:22:writable] Error: Variable q_nom not found in scope ThermoPower.PowerPlants.HRSG.Components. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/PowerPlants.mo:3960:21-3960:69:writable] Error: Cyclically dependent constants or parameters found in scope : {q_nom}, {head_nom} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 4.573/11.71, allocations: 1.376 GB / 4.967 GB, free: 16.86 MB / 0.5577 GB Notification: Performance of FrontEnd: time 1.793e-06/11.71, allocations: 0 / 4.967 GB, free: 16.86 MB / 0.5577 GB Notification: Performance of Transformations before backend: time 0.0001992/11.71, allocations: 60.06 kB / 4.967 GB, free: 16.84 MB / 0.5577 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.01389/11.72, allocations: 3.875 MB / 4.971 GB, free: 14.65 MB / 0.5577 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/11.72, allocations: 15.56 kB / 4.971 GB, free: 14.65 MB / 0.5577 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/11.72, allocations: 351.6 kB / 4.971 GB, free: 14.51 MB / 0.5577 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/11.73, allocations: 1.38 MB / 4.973 GB, free: 13.68 MB / 0.5577 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/11.73, allocations: 98.34 kB / 4.973 GB, free: 13.64 MB / 0.5577 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004755/11.73, allocations: 98.17 kB / 4.973 GB, free: 13.64 MB / 0.5577 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002779/11.73, allocations: 1.244 MB / 4.974 GB, free: 13.1 MB / 0.5577 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/11.73, allocations: 1.691 MB / 4.976 GB, free: 11.98 MB / 0.5577 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/11.73, allocations: 11.84 kB / 4.976 GB, free: 11.97 MB / 0.5577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/11.73, allocations: 4 kB / 4.976 GB, free: 11.97 MB / 0.5577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/11.73, allocations: 43.38 kB / 4.976 GB, free: 11.93 MB / 0.5577 GB Warning: The model contains alias variables with conflicting start and/or 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.6336/12.37, allocations: 120.1 MB / 5.093 GB, free: 10.88 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/12.37, allocations: 0.7186 MB / 5.094 GB, free: 10.85 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/12.37, allocations: 347.7 kB / 5.094 GB, free: 10.84 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1295/12.5, allocations: 65.79 MB / 5.158 GB, free: 17.61 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/12.5, allocations: 43.62 kB / 5.159 GB, free: 17.56 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=72): time 3.537e-06/12.5, allocations: 0 / 5.159 GB, free: 17.56 MB / 0.6515 GB Notification: Performance of matching and sorting (n=81): time 0.0108/12.51, allocations: 3.103 MB / 5.162 GB, free: 16.98 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/12.51, allocations: 63.31 kB / 5.162 GB, free: 16.92 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/12.51, allocations: 0.8698 MB / 5.162 GB, free: 16.77 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 9.597e-05/12.51, allocations: 25.7 kB / 5.162 GB, free: 16.74 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/12.51, allocations: 0.8387 MB / 5.163 GB, free: 16.43 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/12.51, allocations: 273.6 kB / 5.164 GB, free: 16.29 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/12.51, allocations: 0 / 5.164 GB, free: 16.29 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0001296/12.51, allocations: 355.4 kB / 5.164 GB, free: 15.98 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/12.51, allocations: 414.8 kB / 5.164 GB, free: 15.97 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/12.51, allocations: 0.7416 MB / 5.165 GB, free: 15.5 MB / 0.6515 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/12.52, allocations: 1.735 MB / 5.167 GB, free: 15.44 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/12.52, allocations: 7.125 kB / 5.167 GB, free: 15.44 MB / 0.6515 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004021/12.52, allocations: 1.583 MB / 5.168 GB, free: 15.25 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 0.001692/12.53, allocations: 5.048 MB / 5.173 GB, free: 9.949 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/12.53, allocations: 12.59 kB / 5.173 GB, free: 9.949 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/12.53, allocations: 0.6195 MB / 5.174 GB, free: 9.898 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/12.53, allocations: 237.6 kB / 5.174 GB, free: 9.898 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/12.53, allocations: 4.288 MB / 5.178 GB, free: 6.535 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/12.54, allocations: 120.7 kB / 5.178 GB, free: 6.516 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/12.54, allocations: 68.7 kB / 5.178 GB, free: 6.516 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/12.54, allocations: 3.531 kB / 5.178 GB, free: 6.516 MB / 0.6515 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003239/12.54, allocations: 1.287 MB / 5.18 GB, free: 6.414 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/12.54, allocations: 12.53 kB / 5.18 GB, free: 6.414 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/12.54, allocations: 374 kB / 5.18 GB, free: 6.359 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/12.54, allocations: 291 kB / 5.18 GB, free: 6.355 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005546/12.55, allocations: 6.803 MB / 5.187 GB, free: 16.45 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/12.55, allocations: 105 kB / 5.187 GB, free: 16.43 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/12.55, allocations: 65.33 kB / 5.187 GB, free: 16.43 MB / 0.6671 GB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real sTG_3LRh.controlledCondeser.condenserIdeal_tap.Vl:VARIABLE(start = sTG_3LRh.controlledCondeser.condenserIdeal_tap.Vlstart unit = "m3" stateSelect=StateSelect.prefer ) "Liquid volume" type: Real sTG_3LRh.controlledCondeser.pID.I:VARIABLE(start = sTG_3LRh.controlledCondeser.pID.CSstart / sTG_3LRh.controlledCondeser.pID.Kp ) "Integral action / Kp" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.sTG_3LRh.steamTurbines.mixLP.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (sTG_3LRh.totalFeedPump.feedWaterPump.int_Np,sTG_3LRh.steamTurbines.ST_LP.steamState_in.phase,sTG_3LRh.steamTurbines.ST_IP.steamState_in.phase,sTG_3LRh.steamTurbines.ST_HP.steamState_in.phase,sTG_3LRh.totalFeedPump.feedWaterPump.inletFluidState.phase,sTG_3LRh.steamTurbines.valveLP.fluidState.phase,sTG_3LRh.steamTurbines.valveIP.fluidState.phase,sTG_3LRh.steamTurbines.valveHP.fluidState.phase,sTG_3LRh.steamTurbines.mixLP.fluidState.phase,sTG_3LRh.steamTurbines.ST_LP.steamState_iso.phase,sTG_3LRh.steamTurbines.ST_IP.steamState_iso.phase,sTG_3LRh.steamTurbines.ST_HP.steamState_iso.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {2 14,1 7,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004869/12.55, allocations: 174.6 kB / 5.187 GB, free: 16.31 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/12.55, allocations: 123.8 kB / 5.187 GB, free: 16.25 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/12.55, allocations: 3.195 MB / 5.191 GB, free: 15.89 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/12.55, allocations: 37.27 kB / 5.191 GB, free: 15.89 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/12.55, allocations: 0 / 5.191 GB, free: 15.89 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/12.55, allocations: 3.516 kB / 5.191 GB, free: 15.89 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/12.56, allocations: 5.068 MB / 5.196 GB, free: 15.39 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/12.56, allocations: 0 / 5.196 GB, free: 15.39 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/12.56, allocations: 105.7 kB / 5.196 GB, free: 15.39 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/12.57, allocations: 1.521 MB / 5.197 GB, free: 15.3 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/12.57, allocations: 15.91 kB / 5.197 GB, free: 15.3 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004397/12.57, allocations: 5.449 MB / 5.202 GB, free: 11.4 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/12.57, allocations: 3.344 kB / 5.202 GB, free: 11.4 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005655/12.58, allocations: 3.782 MB / 5.206 GB, free: 10.93 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007801/12.58, allocations: 362.2 kB / 5.206 GB, free: 10.75 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/12.58, allocations: 0 / 5.206 GB, free: 10.75 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/12.58, allocations: 83.92 kB / 5.207 GB, free: 10.73 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/12.58, allocations: 62.88 kB / 5.207 GB, free: 10.73 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/12.58, allocations: 32.39 kB / 5.207 GB, free: 10.73 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.0009675/12.58, allocations: 0.6369 MB / 5.207 GB, free: 10.62 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.4e-07/12.58, allocations: 0 / 5.207 GB, free: 10.62 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.009064/12.59, allocations: 1.976 MB / 5.209 GB, free: 10.55 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (constantSpeed.phi,sTG_3LRh.steamTurbines.mixLP.h,sTG_3LRh.controlledCondeser.pID.I,sTG_3LRh.controlledCondeser.condenserIdeal_tap.Vl) * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 5 {1 4,1 10,1 10,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0126/12.6, allocations: 3.623 MB / 5.213 GB, free: 9.867 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.004217/12.6, allocations: 2.435 MB / 5.215 GB, free: 9.297 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/12.6, allocations: 0 / 5.215 GB, free: 9.297 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/12.61, allocations: 0.8872 MB / 5.216 GB, free: 9.18 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/12.61, allocations: 408.2 kB / 5.216 GB, free: 9.156 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/12.61, allocations: 2.666 MB / 5.219 GB, free: 8.352 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/12.61, allocations: 1.414 MB / 5.22 GB, free: 7.605 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.001856/12.62, allocations: 0.993 MB / 5.221 GB, free: 7.559 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/12.62, allocations: 70.47 kB / 5.221 GB, free: 7.551 MB / 0.6671 GB Notification: Performance of SimCode: time 5.81e-07/12.62, allocations: 0 / 5.221 GB, free: 7.551 MB / 0.6671 GB Notification: Performance of Templates: time 0.4977/13.11, allocations: 61.91 MB / 5.282 GB, free: 131.1 MB / 0.6671 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.makefile (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.sim & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.pipe 2>&1)