Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8842/0.8842, allocations: 150.9 MB / 167.2 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 16.09 kB / 237.8 MB, free: 1.758 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05833/0.05869, allocations: 31.34 MB / 269.1 MB, free: 7.027 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine): time 1.646/1.705, allocations: 299.2 MB / 0.555 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5043/2.209, allocations: 189.8 MB / 0.7403 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/2.21, allocations: 15.47 kB / 0.7403 GB, free: 1.773 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Combustion/BoundaryConditions/FuelSourcePQ.mo:26:3-28:26:writable] Warning: Connector C is not balanced: The number of potential variables (13) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:39:3-40:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:47:3-48:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/Compressor.mo:50:3-51:54:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/Compressor.mo:52:3-53:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Combustion/CombustionChambers/GTCombustionChamber.mo:102:3-104:16:writable] Warning: Connector Cfuel is not balanced: The number of potential variables (13) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Combustion/CombustionChambers/GTCombustionChamber.mo:105:3-107:16:writable] Warning: Connector Ca is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Combustion/CombustionChambers/GTCombustionChamber.mo:108:3-109:83:writable] Warning: Connector Cfg is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Combustion/CombustionChambers/GTCombustionChamber.mo:110:3-112:17:writable] Warning: Connector Cws is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CombustionTurbine.mo:40:3-41:54:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CombustionTurbine.mo:42:3-43:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/GasTurbine.mo:57:3-58:65:writable] Warning: Connector Entree_air is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/GasTurbine.mo:59:3-60:63:writable] Warning: Connector Sortie_fumees is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/GasTurbine.mo:61:3-62:66:writable] Warning: Connector Entree_eau_combustion is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/GasTurbine.mo:63:3-64:82:writable] Warning: Connector Entree_combustible is not balanced: The number of potential variables (13) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006852/2.211, allocations: 272.6 kB / 0.7406 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/2.212, allocations: 0.4962 MB / 0.7411 GB, free: 1.773 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03352/2.245, allocations: 12.65 MB / 0.7534 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002214/2.247, allocations: 1.928 MB / 0.7553 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/2.248, allocations: 1.151 MB / 0.7564 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009205/2.249, allocations: 0.7884 MB / 0.7572 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/2.25, allocations: 0.8466 MB / 0.758 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/2.25, allocations: 213.5 kB / 0.7582 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03593/2.286, allocations: 22.14 MB / 0.7799 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005512/2.287, allocations: 424.8 kB / 0.7803 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/2.288, allocations: 0.9296 MB / 0.7812 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02503/2.313, allocations: 12.12 MB / 0.793 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/2.313, allocations: 1 kB / 0.793 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/2.313, allocations: 0 / 0.793 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.101e-05/2.313, allocations: 0 / 0.793 GB, free: 8.195 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 428 * Number of variables: 428 Notification: Performance of Generate backend data structure: time 0.007179/2.32, allocations: 3.098 MB / 0.796 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/2.321, allocations: 8.062 kB / 0.796 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/2.321, allocations: 201.9 kB / 0.7962 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/2.322, allocations: 0.7463 MB / 0.797 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-05/2.322, allocations: 123.1 kB / 0.7971 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/2.322, allocations: 156.6 kB / 0.7972 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/2.326, allocations: 1.84 MB / 0.799 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/2.326, allocations: 10.38 kB / 0.799 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/2.326, allocations: 71.56 kB / 0.7991 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/2.326, allocations: 46.44 kB / 0.7992 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/2.329, allocations: 1.331 MB / 0.8005 GB, free: 2.625 MB / 0.6075 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.08293/2.411, allocations: 40.36 MB / 0.8399 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/2.413, allocations: 0.6281 MB / 0.8405 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007515/2.414, allocations: 370.6 kB / 0.8408 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.11/2.524, allocations: 58.66 MB / 0.8981 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/2.524, allocations: 43.12 kB / 0.8982 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=71): time 4.438e-06/2.524, allocations: 0 / 0.8982 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=71): time 0.009624/2.534, allocations: 2.339 MB / 0.9004 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/2.534, allocations: 59.95 kB / 0.9005 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/2.535, allocations: 0.9532 MB / 0.9014 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/2.535, allocations: 37.7 kB / 0.9015 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/2.536, allocations: 0.7247 MB / 0.9022 GB, free: 132 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/2.536, allocations: 263.5 kB / 0.9024 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/2.537, allocations: 210.5 kB / 0.9026 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001424/2.537, allocations: 349.7 kB / 0.903 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/2.538, allocations: 354.1 kB / 0.9033 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/2.539, allocations: 0.7157 MB / 0.904 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/2.541, allocations: 1.122 MB / 0.9051 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/2.541, allocations: 4 kB / 0.9051 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003376/2.544, allocations: 1.454 MB / 0.9065 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/2.544, allocations: 12 kB / 0.9065 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/2.544, allocations: 17.16 kB / 0.9065 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003363/2.548, allocations: 0.7373 MB / 0.9073 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/2.548, allocations: 184.5 kB / 0.9074 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/2.552, allocations: 2.492 MB / 0.9099 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/2.553, allocations: 178.8 kB / 0.91 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/2.553, allocations: 55.98 kB / 0.9101 GB, free: 7.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 18 (gasTurbine.chambreCombustionTAC.Cfg.ftype,sourcePQ.C.ftype,gasTurbine.chambreCombustionTAC.fluids[1],gasTurbine.xAIR.fluid,gasTurbine.Compresseur.fluid,sink.fluid,gasTurbine.TurbineAgaz.fluid,water.C.ftype,gasTurbine.chambreCombustionTAC.fluid_ws,water.fluid1,sourcePQ.fluid1,gasTurbine.chambreCombustionTAC.Cfg.diff_on_2,gasTurbine.chambreCombustionTAC.Cfg.diff_on_1,gasTurbine.Sortie_fumees.diff_on_1,gasTurbine.chambreCombustionTAC.Ca.diff_on_2,gasTurbine.Entree_air.diff_on_2,gasTurbine.chambreCombustionTAC.Cws.diff_on_2,gasTurbine.Compresseur.Cs.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(12,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006762/2.554, allocations: 312.9 kB / 0.9104 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/2.554, allocations: 119.2 kB / 0.9105 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/2.557, allocations: 1.237 MB / 0.9117 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/2.557, allocations: 3.984 kB / 0.9117 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.557, allocations: 0 / 0.9117 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/2.557, allocations: 280.1 kB / 0.912 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/2.557, allocations: 12 kB / 0.912 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/2.558, allocations: 31.97 kB / 0.912 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/2.558, allocations: 44.5 kB / 0.9121 GB, free: 5.676 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_pT(gasTurbine.xAIR.rho_vap0, gasTurbine.xAIR.pro.h, gasTurbine.xAIR.pro.u, gasTurbine.xAIR.pro.s, gasTurbine.xAIR.pro.cp, gasTurbine.xAIR.pro.ddTp, gasTurbine.xAIR.pro.ddpT, gasTurbine.xAIR.pro.dupT, gasTurbine.xAIR.pro.duTp, gasTurbine.xAIR.pro.x) = $cse1 Variables: 1: gasTurbine.xAIR.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 2: $cse1.ddTp:VARIABLE(protected = true ) type: Real unreplaceable 3: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse1.ddpT:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse1.dupT:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 7: gasTurbine.xAIR.ppvap:VARIABLE(min = 0.0 start = 1e4 unit = "Pa" nominal = 1e5 ) "Vapor partial pressure" type: Real 8: gasTurbine.xAIR.psvap:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Vapor saturation pressure in the air" type: Real 9: gasTurbine.xAIR.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Air temperature" type: Real 10: $cse1.u:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): gasTurbine.Compresseur.He = if sourcePQ.Q > 0.0 then sourcePQ.h else gasTurbine.TurbineAgaz.He 2/2 (1): gasTurbine.TurbineAgaz.He = ThermoSysPro.Properties.FlueGases.FlueGases_h(gasTurbine.TurbineAgaz.Pe, gasTurbine.chambreCombustionTAC.Tsf, sink.Xco2, sink.Xh2o, sink.Xo2, sink.Xso2) 3/3 (1): gasTurbine.chambreCombustionTAC.rhosf = ThermoSysPro.Properties.FlueGases.FlueGases_rho(gasTurbine.TurbineAgaz.Pe, gasTurbine.chambreCombustionTAC.Tsf, sink.Xco2, sink.Xh2o, sink.Xo2, sink.Xso2) 4/4 (1): gasTurbine.chambreCombustionTAC.Vsf = if gasTurbine.chambreCombustionTAC.rhosf > 0.001 then 1.0 / gasTurbine.chambreCombustionTAC.rhosf else 10.0 5/5 (1): gasTurbine.chambreCombustionTAC.Vccbm = 0.5 * (gasTurbine.chambreCombustionTAC.Vea + gasTurbine.chambreCombustionTAC.Vsf) 6/6 (1): gasTurbine.chambreCombustionTAC.Vea = if gasTurbine.chambreCombustionTAC.rhoea > 0.001 then 1.0 / gasTurbine.chambreCombustionTAC.rhoea else 0.9090909090909091 7/7 (1): gasTurbine.chambreCombustionTAC.rhoea = ThermoSysPro.Properties.FlueGases.FlueGases_rho(gasTurbine.chambreCombustionTAC.Pscpat, gasTurbine.chambreCombustionTAC.Tea, 0.0, gasTurbine.chambreCombustionTAC.XeaH2O, gasTurbine.chambreCombustionTAC.XeaO2c, 0.0) 8/8 (1): gasTurbine.xAIR.T = ThermoSysPro.Properties.FlueGases.FlueGases_T(sourcePQ.P0, gasTurbine.Compresseur.He, 0.0, gasTurbine.chambreCombustionTAC.XeaH2O, 0.20994, 0.0) 9/9 (1): gasTurbine.Compresseur.He = ThermoSysPro.Properties.FlueGases.FlueGases_h(sourcePQ.P0, gasTurbine.Compresseur.Te, 0.0, gasTurbine.chambreCombustionTAC.XeaH2O, gasTurbine.chambreCombustionTAC.XeaO2, 0.0) 10/10 (1): gasTurbine.Compresseur.Se = ThermoSysPro.Properties.FlueGases.FlueGases_s(sourcePQ.P0, gasTurbine.Compresseur.Te, 0.0, gasTurbine.chambreCombustionTAC.XeaH2O, gasTurbine.chambreCombustionTAC.XeaO2, 0.0) 11/11 (1): gasTurbine.Compresseur.Se = ThermoSysPro.Properties.FlueGases.FlueGases_s(gasTurbine.chambreCombustionTAC.Pscpat, gasTurbine.Compresseur.Tis, 0.0, gasTurbine.chambreCombustionTAC.XeaH2O, gasTurbine.chambreCombustionTAC.XeaO2, 0.0) 12/12 (1): gasTurbine.Compresseur.His = ThermoSysPro.Properties.FlueGases.FlueGases_h(gasTurbine.chambreCombustionTAC.Pscpat, gasTurbine.Compresseur.Tis, 0.0, gasTurbine.chambreCombustionTAC.XeaH2O, gasTurbine.chambreCombustionTAC.XeaO2, 0.0) 13/13 (1): gasTurbine.chambreCombustionTAC.Hea = (gasTurbine.Compresseur.His + gasTurbine.Compresseur.is_eff * gasTurbine.Compresseur.He - gasTurbine.Compresseur.He) / gasTurbine.Compresseur.is_eff 14/14 (1): gasTurbine.Compresseur.is_eff = (gasTurbine.Compresseur.A4 * gasTurbine.Compresseur.Xtau ^ 4.0 + gasTurbine.Compresseur.A3 * gasTurbine.Compresseur.Xtau ^ 3.0 + gasTurbine.Compresseur.A2 * gasTurbine.Compresseur.Xtau ^ 2.0 + gasTurbine.Compresseur.A1 * gasTurbine.Compresseur.Xtau + gasTurbine.Compresseur.A0) * gasTurbine.Compresseur.is_eff_n 15/15 (1): gasTurbine.Compresseur.Xtau = gasTurbine.Compresseur.tau / gasTurbine.Compresseur.tau_n 16/16 (1): gasTurbine.Compresseur.tau = gasTurbine.chambreCombustionTAC.Pscpat / sourcePQ.P0 17/17 (1): gasTurbine.chambreCombustionTAC.Hea = ThermoSysPro.Properties.FlueGases.FlueGases_h(gasTurbine.chambreCombustionTAC.Pscpat, gasTurbine.chambreCombustionTAC.Tea, 0.0, gasTurbine.chambreCombustionTAC.XeaH2O, gasTurbine.chambreCombustionTAC.XeaO2c, 0.0) 18/18 (1): gasTurbine.chambreCombustionTAC.Pscpat - gasTurbine.TurbineAgaz.Pe = gasTurbine.chambreCombustionTAC.deltaPccb 19/19 (1): gasTurbine.chambreCombustionTAC.deltaPccb = 0.5 * gasTurbine.chambreCombustionTAC.kcham * gasTurbine.chambreCombustionTAC.v ^ 2.0 / gasTurbine.chambreCombustionTAC.Vccbm 20/20 (1): gasTurbine.chambreCombustionTAC.v = gasTurbine.chambreCombustionTAC.Qm * gasTurbine.chambreCombustionTAC.Vccbm / gasTurbine.chambreCombustionTAC.Achamc 21/21 (1): gasTurbine.xAIR.rho_air = ThermoSysPro.Properties.FlueGases.FlueGases_rho(gasTurbine.xAIR.ppair, gasTurbine.xAIR.T, 0.0, gasTurbine.chambreCombustionTAC.XeaH2O, 0.20994, 0.0) 22/22 (1): gasTurbine.chambreCombustionTAC.XeaH2O = gasTurbine.xAIR.rho_vap / (gasTurbine.xAIR.rho_vap + gasTurbine.xAIR.rho_air) 23/23 (1): 0.0 = if gasTurbine.xAIR.ppvap < 6.108e-6 then gasTurbine.xAIR.rho_vap - gasTurbine.xAIR.rho_vap0 * gasTurbine.xAIR.ppvap / gasTurbine.xAIR.ppvap0 else gasTurbine.xAIR.rho_vap - gasTurbine.xAIR.rho_vap0 24/24 (1): gasTurbine.xAIR.psvap = ThermoSysPro.Properties.WaterSteam.BaseIF97.Basic.psat(gasTurbine.xAIR.T) 25/25 (1): gasTurbine.xAIR.ppvap = gasTurbine.xAIR.psvap * humidity.k 26/26 (10): $cse1 = ThermoSysPro.Properties.WaterSteam.IF97.Water_PT(gasTurbine.xAIR.ppvap, gasTurbine.xAIR.T, gasTurbine.xAIR.mode) 27/36 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_pT(gasTurbine.xAIR.rho_vap0, gasTurbine.xAIR.pro.h, gasTurbine.xAIR.pro.u, gasTurbine.xAIR.pro.s, gasTurbine.xAIR.pro.cp, gasTurbine.xAIR.pro.ddTp, gasTurbine.xAIR.pro.ddpT, gasTurbine.xAIR.pro.dupT, gasTurbine.xAIR.pro.duTp, gasTurbine.xAIR.pro.x) = $cse1 28/46 (1): gasTurbine.xAIR.ppair = sourcePQ.P0 - gasTurbine.xAIR.ppvap 29/47 (1): 0.0 = if gasTurbine.xAIR.ppvap < 6.108e-6 then gasTurbine.xAIR.ppvap0 - 6.108e-6 else gasTurbine.xAIR.ppvap - gasTurbine.xAIR.ppvap0 30/48 (1): sink.Xh2o * (sourcePQ.Q + water.Q0 + fuelSourcePQ.Q) = water.Q0 + sourcePQ.Q * gasTurbine.chambreCombustionTAC.XeaH2O + 8.936446521225829 * fuelSourcePQ.Q * fuelSourcePQ.Xh 31/49 (1): gasTurbine.TurbineAgaz.Te = ThermoSysPro.Properties.Fluid.Temperature_Ph(gasTurbine.TurbineAgaz.Pe, gasTurbine.TurbineAgaz.He, gasTurbine.TurbineAgaz.fluid, 0, sink.Xco2, sink.Xh2o, sink.Xo2, sink.Xso2) 32/50 (1): gasTurbine.TurbineAgaz.Qred = sink.Q * sqrt(gasTurbine.TurbineAgaz.Te) / gasTurbine.TurbineAgaz.Pe 33/51 (1): gasTurbine.chambreCombustionTAC.Hrfg = 2.501569e6 * sink.Xh2o 34/52 (1): 0.0 = (sourcePQ.Q + water.Q0 + fuelSourcePQ.Q) * (gasTurbine.TurbineAgaz.He - gasTurbine.chambreCombustionTAC.Hrfg) + gasTurbine.chambreCombustionTAC.Wpth + sourcePQ.Q * (gasTurbine.chambreCombustionTAC.Hrair - gasTurbine.chambreCombustionTAC.Hea) + water.Q0 * (2.501569e6 - gasTurbine.chambreCombustionTAC.Hews) - fuelSourcePQ.Q * (gasTurbine.chambreCombustionTAC.Hfuel + fuelSourcePQ.LHV * gasTurbine.chambreCombustionTAC.eta_comb) 35/53 (1): gasTurbine.chambreCombustionTAC.Hrair = 2.501569e6 * gasTurbine.chambreCombustionTAC.XeaH2O 36/54 (1): gasTurbine.chambreCombustionTAC.XeaO2 = 0.20994 * (1.0 - gasTurbine.chambreCombustionTAC.XeaH2O) 37/55 (1): 0.0 = if gasTurbine.chambreCombustionTAC.XeaO2 > 1e-6 then gasTurbine.chambreCombustionTAC.XeaO2c - gasTurbine.chambreCombustionTAC.XeaO2 else gasTurbine.chambreCombustionTAC.XeaO2c - 1e-6 38/56 (1): sink.Xo2 * (sourcePQ.Q + water.Q0 + fuelSourcePQ.Q) = sourcePQ.Q * gasTurbine.chambreCombustionTAC.XeaO2c + 15.9994 * (-fuelSourcePQ.Q) * (0.16651194931376262 * fuelSourcePQ.Xc + 0.49604650932071387 * fuelSourcePQ.Xh + 0.062375249500998 * fuelSourcePQ.Xs) + fuelSourcePQ.Q * fuelSourcePQ.Xo 39/57 (1): gasTurbine.chambreCombustionTAC.Hews = if water.Q0 > 0.0 then 1e5 else gasTurbine.TurbineAgaz.He Variables: 1: gasTurbine.chambreCombustionTAC.Hews:VARIABLE(start = 1e4 unit = "J/kg" ) "Water/steam specific enthalpy at the inlet" type: Real 2: sink.Xo2:VARIABLE(min = 0.0 max = 1.0 start = 0.2 unit = "1" ) "O2 mass fraction of the fluid crossing the boundary of the control volume" type: Real 3: gasTurbine.chambreCombustionTAC.XeaO2c:VARIABLE(start = 0.2 ) "Intermediate variable for the computation of the O2 mass fraction" type: Real 4: gasTurbine.chambreCombustionTAC.XeaO2:VARIABLE(min = 0.0 max = 1.0 start = 0.2 ) "O2 mass fraction at the air inlet" type: Real 5: gasTurbine.chambreCombustionTAC.Hrair:VARIABLE(start = 1e4 unit = "J/kg" ) "Air reference specific enthalpy" type: Real 6: gasTurbine.chambreCombustionTAC.Hea:VARIABLE(start = 5e4 unit = "J/kg" ) "Air specific enthalpy at the inlet" type: Real 7: gasTurbine.chambreCombustionTAC.Hrfg:VARIABLE(start = 1e4 unit = "J/kg" ) "Flue gases reference specific enthalpy" type: Real 8: gasTurbine.TurbineAgaz.Pe:VARIABLE(min = 0.0 start = 1.32e6 unit = "Pa" nominal = 1e5 ) "Flue gases pressure at the inlet" type: Real 9: gasTurbine.TurbineAgaz.Te:VARIABLE(min = 0.0 start = 1495.0 unit = "K" nominal = 300.0 ) "Flue gases temperature at the inlet" type: Real 10: sink.Xh2o:VARIABLE(min = 0.0 max = 1.0 start = 0.05 unit = "1" ) "H2O mass fraction of the fluid crossing the boundary of the control volume" type: Real 11: gasTurbine.xAIR.ppvap0:VARIABLE(min = 0.0 start = 4104.0 unit = "Pa" nominal = 1e5 ) "Intermediate vapor partial pressure" type: Real 12: gasTurbine.xAIR.ppair:VARIABLE(min = 0.0 unit = "Pa" nominal = 1e5 ) "Air partial pressure" type: Real 13: gasTurbine.xAIR.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 14: $cse1.ddTp:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse1.cp:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse1.ddpT:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse1.dupT:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse1.s:VARIABLE(protected = true ) type: Real unreplaceable 19: gasTurbine.xAIR.ppvap:VARIABLE(min = 0.0 start = 1e4 unit = "Pa" nominal = 1e5 ) "Vapor partial pressure" type: Real 20: gasTurbine.xAIR.psvap:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Vapor saturation pressure in the air" type: Real 21: gasTurbine.xAIR.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" nominal = 300.0 ) "Air temperature" type: Real 22: $cse1.u:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse1.h:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse1.duTp:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse1.d:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse1.x:VARIABLE(protected = true ) type: Real unreplaceable 27: gasTurbine.xAIR.pro.duTp:VARIABLE(unit = "J/(kg.K)" ) "Derivative of the inner energy wrt. temperature at constant pressure" type: Real 28: gasTurbine.xAIR.pro.dupT:VARIABLE(unit = "J.m.s2/kg" ) "Derivative of the inner energy wrt. pressure at constant temperature" type: Real 29: gasTurbine.xAIR.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 30: gasTurbine.xAIR.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 31: gasTurbine.xAIR.pro.h:VARIABLE(min = -1e6 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific enthalpy" type: Real 32: gasTurbine.xAIR.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 33: gasTurbine.xAIR.pro.ddTp:VARIABLE(unit = "kg/(m3.K)" ) "Derivative of the density wrt. temperature at constant pressure" type: Real 34: gasTurbine.xAIR.pro.ddpT:VARIABLE(unit = "s2/m2" ) "Derivative of the density wrt. presure at constant temperature" type: Real 35: gasTurbine.xAIR.rho_vap0:VARIABLE(min = 1e-9 max = 1e5 start = 200.0 unit = "kg/m3" nominal = 998.0 ) "Intermediate H2O density" type: Real 36: gasTurbine.xAIR.rho_vap:VARIABLE(min = 0.0 start = 0.029 unit = "kg/m3" ) "H20 density" type: Real 37: gasTurbine.xAIR.rho_air:VARIABLE(min = 0.0 start = 1.0836 unit = "kg/m3" ) "Air density" type: Real 38: gasTurbine.chambreCombustionTAC.v:VARIABLE(start = 100.0 unit = "m/s" ) "Flue gases reference velocity in the combusiton chamber" type: Real 39: gasTurbine.chambreCombustionTAC.Vccbm:VARIABLE(start = 0.001 ) "Average volume mass in the combustion chamber" type: Real 40: gasTurbine.chambreCombustionTAC.deltaPccb:VARIABLE(start = 1000.0 unit = "Pa" ) "Pressure loss in the combusiton chamber" type: Real 41: gasTurbine.chambreCombustionTAC.Tea:VARIABLE(min = 0.0 start = 729.0 unit = "K" nominal = 300.0 ) "Air temperature at the inlet" type: Real 42: gasTurbine.chambreCombustionTAC.Pscpat:VARIABLE(min = 0.0 start = 1e5 unit = "Pa" nominal = 1e5 ) "Pressure at the outlet of the atomisation compressor" type: Real 43: gasTurbine.Compresseur.tau:VARIABLE(start = 15.0 ) "Compression rate" type: Real 44: gasTurbine.Compresseur.Xtau:VARIABLE(start = 1.0 ) "Normal and nominal compression rates ratio" type: Real 45: gasTurbine.Compresseur.is_eff:VARIABLE(start = 0.85 ) "Isentropic efficiency" type: Real 46: gasTurbine.Compresseur.His:VARIABLE(start = 4.5e5 unit = "J/kg" ) "Air specific enthalpy after the isentropic compression" type: Real 47: gasTurbine.Compresseur.Tis:VARIABLE(min = 0.0 start = 630.0 unit = "K" nominal = 300.0 ) "Isentropic air temperature at the outlet" type: Real 48: gasTurbine.Compresseur.Se:VARIABLE(unit = "J/(kg.K)" ) "Air specific entropy at the inlet" type: Real 49: gasTurbine.Compresseur.Te:VARIABLE(min = 0.0 start = 302.56000000000006 unit = "K" nominal = 300.0 ) "Air temperature at the inlet" type: Real 50: gasTurbine.Compresseur.He:VARIABLE(start = 8e4 unit = "J/kg" ) "Air specific enthalpy at the inlet" type: Real 51: gasTurbine.chambreCombustionTAC.XeaH2O:VARIABLE(min = 0.0 max = 1.0 start = 0.1 ) "H2O mass fraction at the air inlet" type: Real 52: gasTurbine.chambreCombustionTAC.rhoea:VARIABLE(min = 0.0 start = 0.001 unit = "kg/m3" ) "Air density at the inlet" type: Real 53: gasTurbine.chambreCombustionTAC.Vea:VARIABLE(start = 0.001 ) "Air volume mass (m3/kg)" type: Real 54: gasTurbine.chambreCombustionTAC.Vsf:VARIABLE(start = 0.001 ) "Flue gases volume mass (m3/kg)" type: Real 55: gasTurbine.chambreCombustionTAC.rhosf:VARIABLE(min = 0.0 start = 0.001 unit = "kg/m3" ) "Flue gases density at the outlet" type: Real 56: gasTurbine.chambreCombustionTAC.Tsf:VARIABLE(min = 0.0 start = 1532.57 unit = "K" nominal = 300.0 ) "Flue gases temperature at the outlet" type: Real 57: gasTurbine.TurbineAgaz.He:VARIABLE(start = 1.2e6 unit = "J/kg" ) "Flue gases specific enthalpy at the inlet" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003342/2.561, allocations: 2.809 MB / 0.9148 GB, free: 2.172 MB / 0.7325 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine could not be translated