Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.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.TestST3LRh_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009831/0.0009829, 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.525/1.525, 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.000796/0.0007962, allocations: 92.7 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4165/0.4165, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.694e-05, allocations: 8 kB / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 60.26 MB / 485.6 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.714/6.828, allocations: 2.974 GB / 3.448 GB, free: 94.42 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/6.828, allocations: 82.97 kB / 3.448 GB, free: 94.35 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 3.787/10.61, allocations: 1.054 GB / 4.502 GB, free: 30.05 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.723e-06/10.61, allocations: 0 / 4.502 GB, free: 30.05 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 6.801e-05/10.62, allocations: 26.19 kB / 4.502 GB, free: 30.04 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.01014/10.63, allocations: 2.681 MB / 4.505 GB, free: 28.44 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/10.63, allocations: 6.312 kB / 4.505 GB, free: 28.44 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/10.63, allocations: 199.7 kB / 4.505 GB, free: 28.37 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/10.63, allocations: 0.6438 MB / 4.506 GB, free: 27.93 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/10.63, allocations: 26.59 kB / 4.506 GB, free: 27.93 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/10.63, allocations: 55.72 kB / 4.506 GB, free: 27.93 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000881/10.63, allocations: 0.5326 MB / 4.506 GB, free: 27.71 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/10.63, allocations: 0.9447 MB / 4.507 GB, free: 27.09 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/10.63, allocations: 0 / 4.507 GB, free: 27.09 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/10.63, allocations: 14.56 kB / 4.507 GB, free: 27.08 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/10.63, allocations: 22.19 kB / 4.507 GB, free: 27.08 MB / 0.5421 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.5725/11.2, allocations: 133.3 MB / 4.638 GB, free: 19.62 MB / 0.5733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/11.2, allocations: 191.4 kB / 4.638 GB, free: 19.6 MB / 0.5733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/11.2, allocations: 85.67 kB / 4.638 GB, free: 19.59 MB / 0.5733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1153/11.32, allocations: 63.97 MB / 4.7 GB, free: 26.73 MB / 0.6202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/11.32, allocations: 36.81 kB / 4.7 GB, free: 26.68 MB / 0.6202 GB Notification: Performance of pre-optimization done (n=21): time 1.833e-06/11.32, allocations: 0 / 4.7 GB, free: 26.68 MB / 0.6202 GB Notification: Performance of matching and sorting (n=24): time 0.003607/11.32, allocations: 1.122 MB / 4.702 GB, free: 26.32 MB / 0.6202 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/11.32, allocations: 53.7 kB / 4.702 GB, free: 26.25 MB / 0.6202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/11.32, allocations: 0.4904 MB / 4.702 GB, free: 26.14 MB / 0.6202 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/11.32, allocations: 25.7 kB / 4.702 GB, free: 26.11 MB / 0.6202 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/11.32, allocations: 0.5179 MB / 4.703 GB, free: 25.88 MB / 0.6202 GB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/11.32, allocations: 92.08 kB / 4.703 GB, free: 25.83 MB / 0.6202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/11.32, allocations: 0 / 4.703 GB, free: 25.83 MB / 0.6202 GB Notification: Performance of setup shared object (initialization): time 0.0001426/11.32, allocations: 367.8 kB / 4.703 GB, free: 25.52 MB / 0.6202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/11.32, allocations: 145.2 kB / 4.703 GB, free: 25.51 MB / 0.6202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/11.32, allocations: 333.1 kB / 4.703 GB, free: 25.24 MB / 0.6202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/11.32, allocations: 207.5 kB / 4.704 GB, free: 25.23 MB / 0.6202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/11.32, allocations: 6.156 kB / 4.704 GB, free: 25.23 MB / 0.6202 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001265/11.33, allocations: 0.5711 MB / 4.704 GB, free: 25.14 MB / 0.6202 GB Notification: Performance of prepare postOptimizeDAE: time 0.000909/11.33, allocations: 2.865 MB / 4.707 GB, free: 22.14 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/11.33, allocations: 13.8 kB / 4.707 GB, free: 22.13 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/11.33, allocations: 95.81 kB / 4.707 GB, free: 22.12 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/11.33, allocations: 126.6 kB / 4.707 GB, free: 22.12 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004798/11.33, allocations: 0.6309 MB / 4.708 GB, free: 21.6 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/11.33, allocations: 69.44 kB / 4.708 GB, free: 21.59 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/11.33, allocations: 36.34 kB / 4.708 GB, free: 21.59 MB / 0.6202 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/11.33, allocations: 6.281 kB / 4.708 GB, free: 21.59 MB / 0.6202 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009502/11.33, allocations: 462.9 kB / 4.708 GB, free: 21.56 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/11.33, allocations: 11.25 kB / 4.708 GB, free: 21.56 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/11.33, allocations: 103.3 kB / 4.709 GB, free: 21.55 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/11.33, allocations: 121.4 kB / 4.709 GB, free: 21.55 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004175/11.33, allocations: 0.6281 MB / 4.709 GB, free: 21.03 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/11.33, allocations: 54.61 kB / 4.709 GB, free: 21.02 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/11.33, allocations: 28.69 kB / 4.709 GB, free: 21.02 MB / 0.6202 GB Warning: Assuming fixed start value for the following 2 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real steamTurbines.mixLP.h:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))))))))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))))))))) start = steamTurbines.mixLP.hstart unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.prefer ) "Fluid specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.mixLP.fluidState.phase,steamTurbines.ST_LP.steamState_iso.phase,steamTurbines.ST_IP.steamState_iso.phase,steamTurbines.ST_HP.steamState_iso.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000246/11.33, allocations: 179.8 kB / 4.709 GB, free: 20.9 MB / 0.6202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.814e-05/11.33, allocations: 62.39 kB / 4.71 GB, free: 20.87 MB / 0.6202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/11.33, allocations: 0.9216 MB / 4.71 GB, free: 20.77 MB / 0.6202 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/11.33, allocations: 6.016 kB / 4.71 GB, free: 20.77 MB / 0.6202 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/11.33, allocations: 7.266 kB / 4.71 GB, free: 20.76 MB / 0.6202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/11.33, allocations: 6.375 kB / 4.71 GB, free: 20.76 MB / 0.6202 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/11.33, allocations: 1.638 MB / 4.712 GB, free: 20.41 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/11.33, allocations: 0 / 4.712 GB, free: 20.41 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/11.33, allocations: 50.08 kB / 4.712 GB, free: 20.41 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/11.33, allocations: 113.7 kB / 4.712 GB, free: 20.39 MB / 0.6202 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/11.34, allocations: 4.406 kB / 4.712 GB, free: 20.39 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004383/11.34, allocations: 0.6778 MB / 4.713 GB, free: 19.88 MB / 0.6202 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/11.34, allocations: 3.75 kB / 4.713 GB, free: 19.88 MB / 0.6202 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009082/11.34, allocations: 1.006 MB / 4.714 GB, free: 19.54 MB / 0.6202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/11.34, allocations: 143.7 kB / 4.714 GB, free: 19.41 MB / 0.6202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/11.34, allocations: 3.812 kB / 4.714 GB, free: 19.41 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/11.34, allocations: 30.44 kB / 4.714 GB, free: 19.41 MB / 0.6202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/11.34, allocations: 17.47 kB / 4.714 GB, free: 19.41 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/11.34, allocations: 11.16 kB / 4.714 GB, free: 19.41 MB / 0.6202 GB Notification: Performance of sorting global known variables: time 0.0003758/11.34, allocations: 372.8 kB / 4.714 GB, free: 19.32 MB / 0.6202 GB Notification: Performance of sort global known variables: time 2e-07/11.34, allocations: 0 / 4.714 GB, free: 19.32 MB / 0.6202 GB Notification: Performance of remove unused functions: time 0.006017/11.34, allocations: 1.591 MB / 4.716 GB, free: 19.32 MB / 0.6202 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/11.35, allocations: 2.906 MB / 4.719 GB, free: 18.89 MB / 0.6202 GB Notification: Performance of simCode: created initialization part: time 0.001164/11.36, allocations: 0.6424 MB / 4.719 GB, free: 18.87 MB / 0.6202 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/11.36, allocations: 0 / 4.719 GB, free: 18.87 MB / 0.6202 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/11.36, allocations: 230.1 kB / 4.72 GB, free: 18.87 MB / 0.6202 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/11.36, allocations: 189 kB / 4.72 GB, free: 18.86 MB / 0.6202 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/11.36, allocations: 1.149 MB / 4.721 GB, free: 18.43 MB / 0.6202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/11.36, allocations: 1.005 MB / 4.722 GB, free: 17.71 MB / 0.6202 GB Notification: Performance of simCode: alias equations: time 0.0008762/11.36, allocations: 0.54 MB / 4.722 GB, free: 17.68 MB / 0.6202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/11.36, allocations: 42.16 kB / 4.723 GB, free: 17.68 MB / 0.6202 GB Notification: Performance of SimCode: time 3.8e-07/11.36, allocations: 1.875 kB / 4.723 GB, free: 17.68 MB / 0.6202 GB Notification: Performance of Templates: time 0.05655/11.42, allocations: 42.35 MB / 4.764 GB, free: 14.77 MB / 0.6202 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.makefile (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.sim & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe 2>&1)