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.8166/0.8166, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 20.59 kB / 237.8 MB, free: 1.789 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05461/0.05497, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.603/1.658, allocations: 299 MB / 0.5548 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4994/2.157, allocations: 189.8 MB / 0.7402 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/2.158, allocations: 19.56 kB / 0.7402 GB, free: 1.75 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.0007047/2.159, allocations: 250.5 kB / 0.7404 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/2.16, allocations: 492.4 kB / 0.7409 GB, free: 1.75 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.02927/2.189, allocations: 12.45 MB / 0.7531 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001949/2.191, allocations: 1.928 MB / 0.7549 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/2.192, allocations: 1.148 MB / 0.7561 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009361/2.193, allocations: 0.7916 MB / 0.7568 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007342/2.194, allocations: 0.8362 MB / 0.7576 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/2.194, allocations: 217.2 kB / 0.7579 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03471/2.229, allocations: 22.14 MB / 0.7795 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005554/2.23, allocations: 420.8 kB / 0.7799 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/2.231, allocations: 0.9336 MB / 0.7808 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02581/2.257, allocations: 12.1 MB / 0.7926 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/2.257, allocations: 0.9062 kB / 0.7926 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/2.257, allocations: 0 / 0.7926 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.105e-05/2.257, allocations: 2.219 kB / 0.7926 GB, free: 8.359 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.0094/2.266, allocations: 2.986 MB / 0.7955 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/2.266, allocations: 9.594 kB / 0.7955 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/2.267, allocations: 194.4 kB / 0.7957 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/2.268, allocations: 0.743 MB / 0.7964 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/2.268, allocations: 123.6 kB / 0.7966 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/2.268, allocations: 158.2 kB / 0.7967 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/2.271, allocations: 1.836 MB / 0.7985 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/2.271, allocations: 5.75 kB / 0.7985 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/2.271, allocations: 69.25 kB / 0.7986 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/2.271, allocations: 45.19 kB / 0.7986 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/2.274, allocations: 1.338 MB / 0.7999 GB, free: 3.031 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.08232/2.356, allocations: 40.34 MB / 0.8393 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/2.358, allocations: 0.6196 MB / 0.8399 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/2.359, allocations: 379.3 kB / 0.8403 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1045/2.463, allocations: 58.66 MB / 0.8976 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/2.463, allocations: 39.12 kB / 0.8976 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=71): time 3.126e-06/2.463, allocations: 3.938 kB / 0.8976 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=71): time 0.009039/2.472, allocations: 2.341 MB / 0.8999 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/2.472, allocations: 55.97 kB / 0.9 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/2.474, allocations: 0.949 MB / 0.9009 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/2.474, allocations: 37.7 kB / 0.9009 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/2.475, allocations: 0.6934 MB / 0.9016 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/2.475, allocations: 258.2 kB / 0.9018 GB, free: 348 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/2.475, allocations: 210.4 kB / 0.902 GB, free: 132 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001213/2.475, allocations: 345.9 kB / 0.9024 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/2.476, allocations: 354.1 kB / 0.9027 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009927/2.477, allocations: 0.7166 MB / 0.9034 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/2.479, allocations: 1.125 MB / 0.9045 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/2.479, allocations: 4 kB / 0.9045 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003169/2.482, allocations: 1.453 MB / 0.9059 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/2.482, allocations: 16 kB / 0.9059 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/2.482, allocations: 12 kB / 0.906 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/2.485, allocations: 0.7337 MB / 0.9067 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/2.486, allocations: 184.5 kB / 0.9069 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/2.489, allocations: 2.495 MB / 0.9093 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009864/2.49, allocations: 162.3 kB / 0.9094 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/2.49, allocations: 55.98 kB / 0.9095 GB, free: 8.215 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.0005513/2.49, allocations: 319.7 kB / 0.9098 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/2.491, allocations: 122.5 kB / 0.9099 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/2.493, allocations: 1.224 MB / 0.9111 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/2.493, allocations: 3.984 kB / 0.9111 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/2.493, allocations: 0 / 0.9111 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/2.493, allocations: 275.6 kB / 0.9114 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/2.494, allocations: 15.94 kB / 0.9114 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/2.494, allocations: 35.06 kB / 0.9114 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/2.494, allocations: 48.5 kB / 0.9115 GB, free: 6.16 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.00296/2.497, allocations: 2.804 MB / 0.9142 GB, free: 2.656 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