Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 107.3 kB / 16.42 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 191.3 kB / 17.36 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2547/0.2547, allocations: 54.96 MB / 325.6 MB, free: 4.84 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.467e-05, allocations: 12.81 kB / 456.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4141/0.4141, allocations: 190.3 MB / 0.632 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00806/0.4222, allocations: 5.611 MB / 0.6375 GB, free: 6.906 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009834/0.4232, allocations: 39.75 kB / 0.6375 GB, free: 6.867 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.4247, allocations: 0.6214 MB / 0.6381 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.428, allocations: 1.656 MB / 0.6397 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.4305, allocations: 1.207 MB / 0.6409 GB, free: 3.383 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.4336, allocations: 2.977 MB / 0.6438 GB, free: 408 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.4348, allocations: 1.069 MB / 0.6448 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4365, allocations: 1.152 MB / 0.646 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.438, allocations: 0.8756 MB / 0.6468 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.4381, allocations: 111.9 kB / 0.6469 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.4404, allocations: 1.376 MB / 0.6483 GB, free: 11.81 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.00159/0.442, allocations: 2.106 MB / 0.6503 GB, free: 9.684 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009468/0.443, allocations: 1.355 MB / 0.6517 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.4433, allocations: 207.4 kB / 0.6519 GB, free: 8.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0002067/0.4435, allocations: 43.75 kB / 0.6519 GB, free: 8.066 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 (210) * Number of variables: 227 (193) Notification: Performance of Bindings: time 0.005119/0.4486, allocations: 5.92 MB / 0.6577 GB, free: 1.973 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0004462/0.449, allocations: 0.4919 MB / 0.6582 GB, free: 1.492 MB / 478.1 MB Notification: Performance of Early Inline: time 0.002472/0.4515, allocations: 2.697 MB / 0.6608 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simplify1: time 0.0002284/0.4518, allocations: 207.7 kB / 0.661 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Alias: time 0.00361/0.4554, allocations: 3.473 MB / 0.6644 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simplify2: time 0.0001959/0.4556, allocations: 171.8 kB / 0.6645 GB, free: 10.61 MB / 494.1 MB Notification: Performance of Events: time 0.000542/0.4561, allocations: 0.4938 MB / 0.665 GB, free: 10.12 MB / 494.1 MB Notification: Performance of Detect States: time 0.0008311/0.457, allocations: 0.7349 MB / 0.6657 GB, free: 9.363 MB / 494.1 MB Notification: Performance of Partitioning: time 0.00108/0.4581, allocations: 1.141 MB / 0.6669 GB, free: 8.066 MB / 494.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency bou.C_in_internal could not be divided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) bou.ports.C_outflow = {bou.C_in_internal for $i1 in 1:2} ($RES_SIM_116) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (145/183) **************************** (1) [ALGB] (1) flow Real[1] sou.ports.m_flow (min = {-1e60}, max = {1e60}) (2) [ALGB] (1) Real sou1.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (3) [ALGB] (1) Real[1] volDyn.mXi (4) [ALGB] (2) stream Real[2, 1] bou.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}, max = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, nominal = {{0.1 for $i1 in 1:1} for $ports1 in 1:2}) (5) [ALGB] (1) protected Real[1] volDyn.dynBal.C (start = {1.0 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = volDyn.dynBal.C_nominal) (6) [ALGB] (1) stream Real[1, 1] sou1.ports.C_outflow (start = {{1.0 for $i1 in 1:1}}, min = {{0.0 for $i1 in 1:1}}) (7) [ALGB] (1) Real bou.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (8) [ALGB] (1) protected Real[1] volSte.steBal.C_flow_internal (9) [ALGB] (1) protected Real volSte.steBal.port_a.p (start = 101325.0, min = 0.0, max = 1e8, nominal = 1e5) (10) [ALGB] (1) Real sou.medium.state.p (start = 101325.0, min = 0.0, max = 1e8, nominal = 1e5) (11) [ALGB] (1) protected Real[1] volDyn.dynBal.medium.Xi (start = volDyn.dynBal.X_start[1:1], min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}, StateSelect = default) (12) [ALGB] (1) protected Real volSte.steBal.m_flow = volSte.steBal.m_flow (start = volSte.steBal._m_flow_start) (13) [ALGB] (2) protected Real[2] sou.X_in_internal (14) [ALGB] (2) stream Real[2, 1] volSte.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}, max = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, nominal = {{0.1 for $i1 in 1:1} for $ports1 in 1:2}) (15) [ALGB] (1) stream Real[1, 1] sou.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1}}, max = {{1.0 for $i1 in 1:1}}, nominal = {{0.1 for $i1 in 1:1}}) (16) [ALGB] (1) protected Real volDyn.dynBal.Hb_flow (17) [ALGB] (2) flow Real[2] volSte.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (18) [ALGB] (2) stream Real[2] volDyn.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (19) [ALGB] (2) Real[2] sou1.medium.X (start = {0.01, 0.99}, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (20) [ALGB] (1) protected Real[1] volSte.steBal.COut (min = {0.0 for $i1 in 1:1}) (21) [DISC] (1) Boolean $SEV_16 (22) [ALGB] (1) protected Real volDyn.dynBal.medium.R (start = 1000.0, min = 0.0, max = 1e7, nominal = 1000.0) (23) [ALGB] (1) Real[1] volSte.C_flow (24) [DISC] (2) Boolean[2] $SEV_14[$i1] (25) [ALGB] (1) Real sou1.medium.R (start = 1000.0, min = 0.0, max = 1e7, nominal = 1000.0) (26) [ALGB] (2) protected Real[2] volDyn.dynBal.medium.X (start = volDyn.dynBal.X_start, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (27) [ALGB] (1) protected Real volDyn.dynBal.medium.X_air (min = 0.0, max = 1.0, nominal = 0.1) (28) [ALGB] (2) Real[2] bou.medium.state.X (start = {0.01, 0.99}, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (29) [ALGB] (1) protected Real[1] volDyn.dynBal.mXiOut (min = {0.0 for $i1 in 1:1}) (30) [ALGB] (1) Real volDyn.p = volDyn.ports[1].p (31) [ALGB] (1) Real bou.medium.MM (min = 0.001, max = 0.25, nominal = 0.032) (32) [ALGB] (1) protected Real volDyn.dynBal.medium.X_steam (min = 0.0, max = 1.0, nominal = 0.1) (33) [ALGB] (2) protected stream Real[2, 1] volDyn.dynBal.ports.C_outflow (start = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}) (34) [ALGB] (2) stream Real[2, 1] volDyn.ports.C_outflow (start = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}) (35) [ALGB] (2) protected Real[2, 1] volDyn.dynBal.ports_mC_flow (36) [ALGB] (2) Real[2] volSte.ports.p (start = {101325.0 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (37) [ALGB] (1) protected Real sou.medium.X_steam (min = 0.0, max = 1.0, nominal = 0.1) (38) [ALGB] (2) Real[2] volDyn.ports.p (start = {101325.0 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (39) [ALGB] (1) protected Real volDyn.dynBal.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (40) [ALGB] (2) protected stream Real[2, 1] volDyn.dynBal.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}, max = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, nominal = {{0.1 for $i1 in 1:1} for $ports1 in 1:2}) (41) [DER-] (1) Real[1] $DER.volDyn.dynBal.mXi (42) [ALGB] (1) protected Real sou.medium.X_air (min = 0.0, max = 1.0, nominal = 0.1) (43) [ALGB] (1) Real $FUN_9 (44) [ALGB] (1) Real $FUN_8 (45) [ALGB] (1) protected Real volSte.steBal.dp = volSte.steBal.port_a.p - volSte.steBal.port_a.p (start = volSte.steBal._dp_start) (46) [ALGB] (1) Real $FUN_7 (47) [ALGB] (1) Real volDyn.T = Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.volDyn.Medium.temperature_phX(volDyn.p, -((-84437.5) - volDyn.dynBal.medium.u), {volDyn.Xi[1], 1.0 - sum(volDyn.Xi)}) (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (48) [ALGB] (1) Real $FUN_6 (49) [ALGB] (1) Real $FUN_5 (50) [ALGB] (1) Real volSte.p = volSte.ports[1].p (51) [ALGB] (1) Real $FUN_4 (52) [DISC] (2) Boolean[2] $SEV_18[$i1] (53) [ALGB] (2) protected stream Real[2] volDyn.dynBal.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (54) [ALGB] (1) Real $FUN_3 (55) [ALGB] (1) Real $FUN_1 (56) [ALGB] (1) protected Real[1] volDyn.dynBal.mbC_flow (57) [ALGB] (1) protected Real[1] volDyn.dynBal.mCOut (min = {0.0 for $i1 in 1:1}) (58) [ALGB] (1) Real[1] sou.medium.Xi (start = {0.01}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}, StateSelect = default) (59) [ALGB] (1) Real[1] volDyn.C = volDyn.COut_internal (start = {1.0 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = volDyn.C_nominal) (60) [ALGB] (1) flow Real[1] sou1.ports.m_flow (min = {-1e60}, max = {1e60}) (61) [ALGB] (1) stream Real[1] sou.ports.h_outflow (min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (62) [ALGB] (1) protected Real[1] volDyn.XiOut_internal (63) [ALGB] (1) Real[1] volDyn.mC (64) [ALGB] (1) Real volSte.T = Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.volSte.Medium.temperature_phX(volSte.p, volSte.steBal.port_b.h_outflow, {volSte.Xi[1], 1.0 - sum(volSte.Xi)}) (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (65) [ALGB] (1) protected Real volDyn.dynBal.medium.state.p (start = 101325.0, min = 0.0, max = 1e8, nominal = 1e5) (66) [ALGB] (1) Real $FUN_18 (67) [ALGB] (2) protected flow Real[2] volDyn.dynBal.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (68) [ALGB] (1) Real $FUN_17 (69) [ALGB] (1) Real $FUN_15 (70) [ALGB] (1) Real $FUN_12 (71) [ALGB] (1) Real $FUN_11 (72) [ALGB] (1) Real[1] sou1.medium.Xi (start = {0.01}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}, StateSelect = default) (73) [ALGB] (1) Real $FUN_10 (74) [ALGB] (1) Real[1] volSte.C = volSte.COut_internal (start = {1.0 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, nominal = volSte.C_nominal) (75) [DISC] (1) Boolean $SEV_9 (76) [ALGB] (1) stream Real[1, 1] sou.ports.C_outflow (start = {{1.0 for $i1 in 1:1}}, min = {{0.0 for $i1 in 1:1}}) (77) [ALGB] (1) protected Real bou.medium.X_steam (min = 0.0, max = 1.0, nominal = 0.1) (78) [ALGB] (1) protected Real[1] sou1.C_in_internal (79) [DISC] (1) Boolean $SEV_5 (80) [DISC] (1) Boolean $SEV_4 (81) [DER-] (1) Real $DER.volDyn.dynBal.U (82) [DISC] (1) Boolean $SEV_3 (83) [ALGB] (1) protected Real[1] volDyn.dynBal.C_flow_internal (84) [DISC] (1) Boolean $SEV_2 (85) [ALGB] (2) protected Real[2] volDyn.dynBal.medium.state.X (start = {0.01, 0.99}, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (86) [ALGB] (1) protected Real volDyn.dynBal.medium.MM (min = 0.001, max = 0.25, nominal = 0.032) (87) [ALGB] (1) protected stream Real[1] volSte.steBal.port_b.C_outflow (start = {1.0 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}) (88) [ALGB] (1) protected Real[1] volDyn.dynBal.C_flow (89) [ALGB] (1) protected Real volDyn.dynBal.medium.state.T (start = 293.15, min = 1.0, max = 1e4, nominal = 300.0) (90) [ALGB] (1) protected Real[1] volDyn.dynBal.COut (min = {0.0 for $i1 in 1:1}) (91) [ALGB] (1) protected Real sou1.medium.X_steam (min = 0.0, max = 1.0, nominal = 0.1) (92) [ALGB] (1) Real sou.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * sou.medium.p_bar) (93) [ALGB] (1) Real sou.medium.R (start = 1000.0, min = 0.0, max = 1e7, nominal = 1000.0) (94) [ALGB] (2) stream Real[2, 1] volSte.ports.C_outflow (start = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}) (95) [ALGB] (2) protected Real[2] volDyn.dynBal.ports_H_flow (min = {-1e8 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1000.0 for $i1 in 1:2}) (96) [ALGB] (1) Real[1] sou1.ports.p (start = {101325.0}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (97) [ALGB] (2) Real[2] sou.medium.X (start = {0.01, 0.99}, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (98) [ALGB] (1) protected stream Real volSte.steBal.port_b.h_outflow (start = 45300.945, min = -1e10, max = 1e10, nominal = 1e6) (99) [ALGB] (1) protected Real sou1.medium.X_air (min = 0.0, max = 1.0, nominal = 0.1) (100) [ALGB] (1) protected Real[1] volSte.COut_internal (101) [ALGB] (2) flow Real[2] bou.ports.m_flow (min = {-1e60 for $ports1 in 1:2}, max = {1e60 for $ports1 in 1:2}) (102) [ALGB] (1) stream Real[1, 1] sou1.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1}}, max = {{1.0 for $i1 in 1:1}}, nominal = {{0.1 for $i1 in 1:1}}) (103) [DER-] (1) Real $DER.volDyn.dynBal.medium.p_bar (104) [ALGB] (1) protected Real[1] volSte.steBal.XiOut (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (105) [ALGB] (2) stream Real[2] volSte.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (106) [ALGB] (1) protected Real volSte.steBal.m_flowInv (107) [ALGB] (1) Real[1] bou.medium.Xi (start = {0.01}, min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}, StateSelect = default) (108) [ALGB] (1) Real sou.medium.u (min = -1e8, max = 1e8, nominal = 1e6) (109) [ALGB] (2) protected Real[2] bou.X_in_internal (110) [ALGB] (1) protected Real[1] volSte.steBal.C_flow (111) [ALGB] (1) protected Real[1] volDyn.dynBal.XiOut (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (112) [ALGB] (1) Real[1] volDyn.C_flow (113) [ALGB] (2) stream Real[2, 1] volDyn.ports.Xi_outflow (min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}, max = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, nominal = {{0.1 for $i1 in 1:1} for $ports1 in 1:2}) (114) [DISC] (2) Boolean[2] $SEV_11[$i1] (115) [DISC] (2) Boolean[2] $SEV_7[$i1] (116) [ALGB] (1) protected Real[1] volSte.XiOut_internal (117) [ALGB] (1) Real[1] sou.ports.p (start = {101325.0}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (118) [ALGB] (2) protected Real[2] sou1.X_in_internal (119) [ALGB] (2) stream Real[2] bou.ports.h_outflow (min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2}) (120) [ALGB] (1) protected stream Real[1] volSte.steBal.port_b.Xi_outflow (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}, nominal = {0.1 for $i1 in 1:1}) (121) [ALGB] (2) protected Real[2, 1] volDyn.dynBal.ports_mXi_flow (122) [ALGB] (1) Real sou1.medium.state.p (start = 101325.0, min = 0.0, max = 1e8, nominal = 1e5) (123) [DER-] (1) Real[1] $DER.volDyn.dynBal.mC (124) [ALGB] (1) protected Real[1] volDyn.dynBal.mbXi_flow (125) [ALGB] (1) protected Real[1] sou.C_in_internal (126) [ALGB] (2) flow Real[2] volDyn.ports.m_flow (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}) (127) [ALGB] (1) Real sou.medium.MM (min = 0.001, max = 0.25, nominal = 0.032) (128) [ALGB] (1) Real bou.medium.R (start = 1000.0, min = 0.0, max = 1e7, nominal = 1000.0) (129) [ALGB] (1) protected Real volDyn.dynBal.mb_flow (130) [ALGB] (2) stream Real[2, 1] bou.ports.C_outflow (start = {{1.0 for $i1 in 1:1} for $ports1 in 1:2}, min = {{0.0 for $i1 in 1:1} for $ports1 in 1:2}) (131) [ALGB] (1) protected Real[1] volDyn.COut_internal (132) [ALGB] (2) Real[2] sou1.medium.state.X (start = {0.01, 0.99}, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (133) [ALGB] (2) Real[2] bou.medium.X (start = {0.01, 0.99}, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (134) [ALGB] (1) protected Real[1] volSte.steBal.mXi_flow (135) [ALGB] (1) stream Real[1] sou1.ports.h_outflow (min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (136) [ALGB] (2) Real[2] sou.medium.state.X (start = {0.01, 0.99}, min = {0.0 for $i1 in 1:2}, max = {1.0 for $i1 in 1:2}, nominal = {0.1 for $i1 in 1:2}) (137) [ALGB] (1) Real[1] volSte.Xi = volSte.XiOut_internal (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (138) [ALGB] (1) Real sou1.medium.MM (min = 0.001, max = 0.25, nominal = 0.032) (139) [ALGB] (2) protected Real[2] volDyn.dynBal.ports.p (start = {101325.0 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (140) [ALGB] (1) protected Real volDyn.dynBal.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - volDyn.dynBal.medium.T_degC)) (141) [ALGB] (1) Real sou1.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * sou1.medium.p_bar) (142) [ALGB] (1) protected Real bou.medium.X_air (min = 0.0, max = 1.0, nominal = 0.1) (143) [ALGB] (1) protected Real[1] bou.C_in_internal (144) [ALGB] (1) Real[1] volDyn.Xi = volDyn.XiOut_internal (min = {0.0 for $i1 in 1:1}, max = {1.0 for $i1 in 1:1}) (145) [ALGB] (2) Real[2] bou.ports.p (start = {101325.0 for $ports1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) System Equations (162/183) **************************** (1) [SCAL] (1) volDyn.dynBal.ports_mXi_flow[2, 1] = $FUN_9 ($RES_SIM_80) (2) [ARRY] (1) bou.C_in_internal = bou.C ($RES_SIM_120) (3) [ARRY] (1) volDyn.dynBal.C_flow = volDyn.C_flow ($RES_SIM_206) (4) [SCAL] (1) volDyn.dynBal.ports_H_flow[2] = $FUN_8 ($RES_SIM_81) (5) [ARRY] (2) bou.X_in_internal = bou.X ($RES_SIM_121) (6) [ARRY] (1) volDyn.COut_internal = volDyn.dynBal.COut ($RES_SIM_207) (7) [SCAL] (1) volDyn.dynBal.ports_mC_flow[1, 1] = $FUN_7 ($RES_SIM_82) (8) [ARRY] (1) volDyn.XiOut_internal = volDyn.dynBal.XiOut ($RES_SIM_208) (9) [SCAL] (1) volDyn.dynBal.ports_mXi_flow[1, 1] = $FUN_6 ($RES_SIM_83) (10) [SCAL] (1) volDyn.dynBal.ports_H_flow[1] = $FUN_5 ($RES_SIM_84) (11) [ARRY] (1) volDyn.dynBal.COut = volDyn.dynBal.C ($RES_SIM_85) (12) [ARRY] (1) volDyn.dynBal.XiOut = volDyn.dynBal.medium.Xi ($RES_SIM_86) (13) [ARRY] (1) volDyn.dynBal.mC = 1.1843079200592153e-5 * (99999.99999999999 * volDyn.dynBal.medium.p_bar) * volDyn.dynBal.C ($RES_SIM_88) (14) [SCAL] (1) bou.medium.X[2] = 1.0 - $FUN_3 ($RES_SIM_128) (15) [SCAL] (1) volDyn.dynBal.U = (1.1843079200592153e-5 * (99999.99999999999 * volDyn.dynBal.medium.p_bar)) * volDyn.dynBal.medium.u ($RES_SIM_89) (16) [ARRY] (1) bou.medium.Xi = bou.medium.X[1:1] ($RES_SIM_129) (17) [SCAL] (1) $SEV_9 = volDyn.ports[1].m_flow > (-volDyn.m_flow_small) ($RES_EVT_292) (18) [FOR-] (2) ($RES_EVT_294) (18) [----] for $i1 in 1:2 loop (18) [----] [SCAL] (1) $SEV_11[$i1] = volDyn.dynBal.medium.X[$i1] >= (-1e-5) and volDyn.dynBal.medium.X[$i1] <= 1.00001 ($RES_EVT_295) (18) [----] end for; (19) [ARRY] (1) volDyn.mC = volDyn.dynBal.mCOut ($RES_SIM_210) (20) [FOR-] (2) ($RES_EVT_298) (20) [----] for $i1 in 1:2 loop (20) [----] [SCAL] (1) $SEV_14[$i1] = bou.medium.X[$i1] >= (-1e-5) and bou.medium.X[$i1] <= 1.00001 ($RES_EVT_299) (20) [----] end for; (21) [ARRY] (1) volSte.steBal.port_b.C_outflow = {sou1.ports[1].C_outflow[1]} + volSte.steBal.C_flow_internal .* volSte.steBal.m_flowInv ($RES_SIM_14) (22) [ARRY] (1) volDyn.mXi = volDyn.dynBal.mXiOut ($RES_SIM_212) (23) [SCAL] (1) volDyn.dynBal.ports[2].h_outflow = volDyn.ports[2].h_outflow ($RES_SIM_214) (24) [SCAL] (1) volSte.steBal.m_flow * (sou1.ports[1].h_outflow - volSte.steBal.port_b.h_outflow) = 0.0 ($RES_SIM_16) (25) [ARRY] (2) bou.medium.state.X = bou.medium.X ($RES_SIM_130) (26) [SCAL] (1) volDyn.dynBal.ports[1].h_outflow = volDyn.ports[1].h_outflow ($RES_SIM_215) (27) [ARRY] (1) volDyn.dynBal.mXi = 1.1843079200592153e-5 * (99999.99999999999 * volDyn.dynBal.medium.p_bar) * volDyn.dynBal.medium.Xi ($RES_SIM_90) (28) [SCAL] (1) volDyn.dynBal.ports[2].Xi_outflow[1] = volDyn.ports[2].Xi_outflow[1] ($RES_SIM_216) (29) [ARRY] (1) volSte.steBal.port_b.Xi_outflow = {sou1.ports[1].Xi_outflow[1]} + volSte.steBal.mXi_flow .* volSte.steBal.m_flowInv ($RES_SIM_18) (30) [SCAL] (1) volDyn.dynBal.ports[1].Xi_outflow[1] = volDyn.ports[1].Xi_outflow[1] ($RES_SIM_217) (31) [SCAL] (1) volDyn.dynBal.ports[2].C_outflow[1] = volDyn.ports[2].C_outflow[1] ($RES_SIM_218) (32) [SCAL] (1) volDyn.dynBal.ports[1].C_outflow[1] = volDyn.ports[1].C_outflow[1] ($RES_SIM_219) (33) [SCAL] (1) bou.medium.R = 287.0512249529787 * bou.medium.X_air + 461.5233290850878 * bou.medium.X_steam ($RES_SIM_135) (34) [SCAL] (1) volDyn.dynBal.medium.X[2] = 1.0 - $FUN_4 ($RES_SIM_96) (35) [SCAL] (1) -((-84437.5) - bou.medium.u) = 1006.0 * ((-273.15) + bou.T) * bou.medium.X_air + (2.5010145e6 + 1860.0 * ((-273.15) + bou.T)) * bou.medium.X_steam ($RES_SIM_136) (36) [ARRY] (1) volDyn.dynBal.medium.Xi = volDyn.dynBal.medium.X[1:1] ($RES_SIM_97) (37) [ARRY] (2) volDyn.dynBal.medium.state.X = volDyn.dynBal.medium.X ($RES_SIM_98) (38) [SCAL] (1) bou.medium.X_air = 1.0 - bou.medium.Xi[1] ($RES_SIM_138) (39) [SCAL] (1) volDyn.dynBal.medium.state.T = -((-273.15) - volDyn.dynBal.medium.T_degC) ($RES_SIM_99) (40) [SCAL] (1) bou.medium.X_steam = bou.medium.Xi[1] ($RES_SIM_139) (41) [SCAL] (1) $SEV_16 = abs(sum({abs(sou.ports[1].m_flow)}) - abs(sou.ports[1].m_flow)) <= 1e-60 ($RES_EVT_301) (42) [FOR-] (2) ($RES_EVT_303) (42) [----] for $i1 in 1:2 loop (42) [----] [SCAL] (1) $SEV_18[$i1] = sou.medium.X[$i1] >= (-1e-5) and sou.medium.X[$i1] <= 1.00001 ($RES_EVT_304) (42) [----] end for; (43) [ARRY] (1) volSte.steBal.COut = volSte.steBal.port_b.C_outflow ($RES_SIM_20) (44) [ARRY] (1) volSte.steBal.XiOut = volSte.steBal.port_b.Xi_outflow ($RES_SIM_21) (45) [FOR-] (2) ($RES_SIM_220) (45) [----] for $i1 in 1:2 loop (45) [----] [SCAL] (1) volDyn.dynBal.ports[$i1].m_flow - volDyn.ports[$i1].m_flow = 0.0 ($RES_SIM_221) (45) [----] end for; (46) [SCAL] (1) volSte.steBal.m_flowInv = if $SEV_3 then 1/volSte.steBal.m_flow else if $SEV_4 then volSte.steBal.m_flow / (volSte.steBal.deltaReg * volSte.steBal.deltaReg) else Annex60.Utilities.Math.Functions.BaseClasses.smoothTransition(volSte.steBal.m_flow, volSte.steBal.deltaReg, volSte.steBal.deltaInvReg, volSte.steBal.aReg, volSte.steBal.bReg, volSte.steBal.cReg, volSte.steBal.dReg, volSte.steBal.eReg, volSte.steBal.fReg) ($RES_SIM_23) (47) [ARRY] (2) volDyn.dynBal.ports.p = volDyn.ports.p ($RES_SIM_222) (48) [ARRY] (1) volSte.steBal.mXi_flow = 0.0 ($RES_SIM_24) (49) [ARRY] (1) volDyn.dynBal.C_flow = volDyn.dynBal.C_flow_internal ($RES_SIM_224) (50) [SCAL] (1) sou1.ports[1].p = 99999.99999999999 * sou1.medium.p_bar ($RES_SIM_26) (51) [SCAL] (1) sou1.ports[1].h_outflow = -((-84437.5) - sou1.medium.u) ($RES_SIM_27) (52) [SCAL] (1) bou.medium.MM = 1/(55.508435061791985 * bou.medium.Xi[1] + 34.52428788658843 * (1.0 - bou.medium.Xi[1])) ($RES_SIM_140) (53) [ARRY] (1) sou1.ports[1].Xi_outflow = sou1.medium.Xi ($RES_SIM_28) (54) [SCAL] (1) sou.ports[1].p = 99999.99999999999 * sou.medium.p_bar ($RES_SIM_142) (55) [SCAL] (1) sou.ports[1].h_outflow = -((-84437.5) - sou.medium.u) ($RES_SIM_143) (56) [ARRY] (1) sou.ports[1].Xi_outflow = sou.medium.Xi ($RES_SIM_144) (57) [ARRY] (1) sou.ports.C_outflow = {sou.C_in_internal} ($RES_SIM_146) (58) [ARRY] (1) sou.medium.Xi = sou.X_in_internal[1:1] ($RES_SIM_147) (59) [SCAL] (1) $FUN_1 = sum(sou.medium.Xi) ($RES_$AUX_264) (60) [SCAL] (1) -sou.m_flow = sum(sou.ports.m_flow) ($RES_$AUX_263) (61) [SCAL] (1) $FUN_3 = sum(bou.medium.Xi) ($RES_$AUX_262) (62) [SCAL] (1) $FUN_4 = sum(volDyn.dynBal.medium.Xi) ($RES_$AUX_261) (63) [SCAL] (1) $FUN_5 = semiLinear(volDyn.dynBal.ports[1].m_flow, sou.ports[1].h_outflow, volDyn.dynBal.ports[1].h_outflow) ($RES_$AUX_260) (64) [ARRY] (1) sou1.ports.C_outflow = {sou1.C_in_internal} ($RES_SIM_30) (65) [ARRY] (1) sou1.medium.Xi = sou1.X_in_internal[1:1] ($RES_SIM_31) (66) [ARRY] (1) sou1.C_in_internal = sou1.C ($RES_SIM_34) (67) [ARRY] (2) sou1.X_in_internal = sou1.X ($RES_SIM_35) (68) [ARRY] (1) sou.C_in_internal = sou.C ($RES_SIM_150) (69) [ARRY] (2) sou.X_in_internal = sou.X ($RES_SIM_151) (70) [SCAL] (1) $FUN_6 = semiLinear(volDyn.dynBal.ports[1].m_flow, sou.ports[1].Xi_outflow[1], volDyn.dynBal.ports[1].Xi_outflow[1]) ($RES_$AUX_259) (71) [SCAL] (1) $FUN_7 = semiLinear(volDyn.dynBal.ports[1].m_flow, sou.ports[1].C_outflow[1], volDyn.dynBal.ports[1].C_outflow[1]) ($RES_$AUX_258) (72) [SCAL] (1) $FUN_8 = semiLinear(volDyn.dynBal.ports[2].m_flow, bou.ports[2].h_outflow, volDyn.dynBal.ports[2].h_outflow) ($RES_$AUX_257) (73) [SCAL] (1) $FUN_9 = semiLinear(volDyn.dynBal.ports[2].m_flow, bou.ports[2].Xi_outflow[1], volDyn.dynBal.ports[2].Xi_outflow[1]) ($RES_$AUX_256) (74) [SCAL] (1) $FUN_10 = semiLinear(volDyn.dynBal.ports[2].m_flow, bou.ports[2].C_outflow[1], volDyn.dynBal.ports[2].C_outflow[1]) ($RES_$AUX_255) (75) [SCAL] (1) $FUN_11 = sum(volDyn.dynBal.ports_mXi_flow[:, 1]) ($RES_$AUX_254) (76) [SCAL] (1) sou.medium.X[2] = 1.0 - $FUN_1 ($RES_SIM_158) (77) [SCAL] (1) $FUN_12 = sum(volDyn.dynBal.ports_mC_flow[:, 1]) ($RES_$AUX_253) (78) [ARRY] (1) sou.medium.Xi = sou.medium.X[1:1] ($RES_SIM_159) (79) [SCAL] (1) volDyn.dynBal.mb_flow = sum(volDyn.dynBal.ports.m_flow) ($RES_$AUX_252) (80) [SCAL] (1) volDyn.dynBal.Hb_flow = sum(volDyn.dynBal.ports_H_flow) ($RES_$AUX_251) (81) [SCAL] (1) $FUN_15 = sum(sou1.medium.Xi) ($RES_$AUX_250) (82) [SCAL] (1) sou1.medium.X[2] = 1.0 - $FUN_15 ($RES_SIM_42) (83) [ARRY] (1) sou1.medium.Xi = sou1.medium.X[1:1] ($RES_SIM_43) (84) [ARRY] (2) sou1.medium.state.X = sou1.medium.X ($RES_SIM_44) (85) [SCAL] (1) sou1.medium.state.p = 99999.99999999999 * sou1.medium.p_bar ($RES_SIM_46) (86) [ARRY] (2) sou.medium.state.X = sou.medium.X ($RES_SIM_160) (87) [SCAL] (1) sou1.medium.R = 287.0512249529787 * sou1.medium.X_air + 461.5233290850878 * sou1.medium.X_steam ($RES_SIM_49) (88) [SCAL] (1) sou.medium.state.p = 99999.99999999999 * sou.medium.p_bar ($RES_SIM_162) (89) [SCAL] (1) -sou1.m_flow = sum(sou1.ports.m_flow) ($RES_$AUX_249) (90) [SCAL] (1) $FUN_17 = sum(volSte.Xi) ($RES_$AUX_248) (91) [SCAL] (1) $FUN_18 = sum(volDyn.Xi) ($RES_$AUX_247) (92) [SCAL] (1) sou.medium.R = 287.0512249529787 * sou.medium.X_air + 461.5233290850878 * sou.medium.X_steam ($RES_SIM_165) (93) [SCAL] (1) -((-84437.5) - sou.medium.u) = 1006.0 * ((-273.15) + sou.T) * sou.medium.X_air + (2.5010145e6 + 1860.0 * ((-273.15) + sou.T)) * sou.medium.X_steam ($RES_SIM_166) (94) [SCAL] (1) sou.medium.X_air = 1.0 - sou.medium.Xi[1] ($RES_SIM_168) (95) [SCAL] (1) sou.medium.X_steam = sou.medium.Xi[1] ($RES_SIM_169) (96) [SCAL] (1) -((-84437.5) - sou1.medium.u) = 1006.0 * ((-273.15) + sou1.T) * sou1.medium.X_air + (2.5010145e6 + 1860.0 * ((-273.15) + sou1.T)) * sou1.medium.X_steam ($RES_SIM_50) (97) [SCAL] (1) sou1.medium.X_air = 1.0 - sou1.medium.Xi[1] ($RES_SIM_52) (98) [SCAL] (1) sou1.medium.X_steam = sou1.medium.Xi[1] ($RES_SIM_53) (99) [SCAL] (1) volDyn.T = 273.15 + (-(2.5010145e6 * volDyn.Xi[1] + ((-84437.5) - volDyn.dynBal.medium.u))) / (1006.0 * (1.0 - volDyn.Xi[1]) + 1860.0 * volDyn.Xi[1]) ($RES_BND_229) (100) [SCAL] (1) sou1.medium.MM = 1/(55.508435061791985 * sou1.medium.Xi[1] + 34.52428788658843 * (1.0 - sou1.medium.Xi[1])) ($RES_SIM_54) (101) [SCAL] (1) sou.medium.MM = 1/(55.508435061791985 * sou.medium.Xi[1] + 34.52428788658843 * (1.0 - sou.medium.Xi[1])) ($RES_SIM_170) (102) [ARRY] (1) volDyn.dynBal.mCOut = volDyn.dynBal.mC ($RES_SIM_59) (103) [SCAL] (1) -(volSte.ports[2].m_flow + volSte.steBal.m_flow) = 0.0 ($RES_SIM_173) (104) [SCAL] (1) volSte.steBal.m_flow - volSte.ports[1].m_flow = 0.0 ($RES_SIM_174) (105) [SCAL] (1) volSte.ports[2].m_flow + bou.ports[1].m_flow = 0.0 ($RES_SIM_176) (106) [SCAL] (1) volDyn.ports[2].m_flow + bou.ports[2].m_flow = 0.0 ($RES_SIM_179) (107) [SCAL] (1) volDyn.p = volDyn.ports[1].p ($RES_BND_230) (108) [ARRY] (1) volDyn.Xi = volDyn.XiOut_internal ($RES_BND_231) (109) [ARRY] (1) volDyn.C = volDyn.COut_internal ($RES_BND_232) (110) [SCAL] (1) volDyn.dynBal.medium.state.p = 99999.99999999999 * volDyn.dynBal.medium.p_bar ($RES_SIM_100) (111) [ARRY] (1) volDyn.dynBal.mXiOut = volDyn.dynBal.mXi ($RES_SIM_61) (112) [FOR-] (2) ($RES_SIM_63) (112) [----] for $i1 in 1:2 loop (112) [----] [SCAL] (1) volDyn.dynBal.ports[$i1].p = 99999.99999999999 * volDyn.dynBal.medium.p_bar ($RES_SIM_64) (112) [----] end for; (113) [SCAL] (1) volDyn.dynBal.medium.R = 287.0512249529787 * volDyn.dynBal.medium.X_air + 461.5233290850878 * volDyn.dynBal.medium.X_steam ($RES_SIM_103) (114) [SCAL] (1) volSte.T = 273.15 + (volSte.steBal.port_b.h_outflow - 2.5010145e6 * volSte.Xi[1]) / (1006.0 * (1.0 - volSte.Xi[1]) + 1860.0 * volSte.Xi[1]) ($RES_BND_239) (115) [SCAL] (1) -((-84437.5) - volDyn.dynBal.medium.u) = 1006.0 * ((-273.15) - ((-273.15) - volDyn.dynBal.medium.T_degC)) * volDyn.dynBal.medium.X_air + (2.5010145e6 + 1860.0 * ((-273.15) - ((-273.15) - volDyn.dynBal.medium.T_degC))) * volDyn.dynBal.medium.X_steam ($RES_SIM_104) (116) [FOR-] (2) ($RES_SIM_65) (116) [----] for $i1 in 1:2 loop (116) [----] [SCAL] (1) volDyn.dynBal.ports[$i1].h_outflow = -((-84437.5) - volDyn.dynBal.medium.u) ($RES_SIM_66) (116) [----] end for; (117) [SCAL] (1) volDyn.dynBal.medium.X_air = 1.0 - volDyn.dynBal.medium.Xi[1] ($RES_SIM_106) (118) [FOR-] (2) ($RES_SIM_67) (118) [----] for $i1 in 1:2 loop (118) [----] [ARRY] (1) volDyn.dynBal.ports[$i1].Xi_outflow = volDyn.dynBal.medium.Xi ($RES_SIM_68) (118) [----] end for; (119) [SCAL] (1) volDyn.ports[2].p = bou.ports[2].p ($RES_SIM_180) (120) [SCAL] (1) volDyn.dynBal.medium.X_steam = volDyn.dynBal.medium.Xi[1] ($RES_SIM_107) (121) [SCAL] (1) volSte.ports[2].p = bou.ports[1].p ($RES_SIM_181) (122) [SCAL] (1) volDyn.dynBal.medium.MM = 1/(55.508435061791985 * volDyn.dynBal.medium.Xi[1] + 34.52428788658843 * (1.0 - volDyn.dynBal.medium.Xi[1])) ($RES_SIM_108) (123) [FOR-] (2) ($RES_SIM_69) (123) [----] for $i1 in 1:2 loop (123) [----] [ARRY] (1) volDyn.dynBal.ports[$i1].C_outflow = volDyn.dynBal.C ($RES_SIM_70) (123) [----] end for; (124) [SCAL] (1) volSte.ports[1].m_flow + sou1.ports[1].m_flow = 0.0 ($RES_SIM_182) (125) [SCAL] (1) sou1.ports[1].p = volSte.ports[1].p ($RES_SIM_183) (126) [SCAL] (1) C_flow.k = volDyn.C_flow[1] ($RES_SIM_184) (127) [SCAL] (1) C_flow.k = volSte.C_flow[1] ($RES_SIM_185) (128) [SCAL] (1) volDyn.ports[1].m_flow + sou.ports[1].m_flow = 0.0 ($RES_SIM_186) (129) [SCAL] (1) sou.ports[1].p = volDyn.ports[1].p ($RES_SIM_187) (130) [SCAL] (1) volSte.p = volSte.ports[1].p ($RES_BND_240) (131) [ARRY] (1) volSte.Xi = volSte.XiOut_internal ($RES_BND_241) (132) [ARRY] (1) volSte.C = volSte.COut_internal ($RES_BND_242) (133) [SCAL] (1) volSte.steBal.dp = volSte.steBal.port_a.p - volSte.steBal.port_a.p ($RES_BND_244) (134) [FOR-] (2) ($RES_SIM_110) (134) [----] for $i1 in 1:2 loop (134) [----] [SCAL] (1) bou.ports[$i1].p = bou.p ($RES_SIM_111) (134) [----] end for; (135) [ARRY] (1) $DER.volDyn.dynBal.mC = volDyn.dynBal.mbC_flow + volDyn.dynBal.C_flow_internal ($RES_SIM_71) (136) [ARRY] (1) $DER.volDyn.dynBal.mXi = volDyn.dynBal.mbXi_flow ($RES_SIM_72) (137) [FOR-] (2) ($RES_SIM_112) (137) [----] for $i1 in 1:2 loop (137) [----] [SCAL] (1) bou.ports[$i1].h_outflow = -((-84437.5) - bou.medium.u) ($RES_SIM_113) (137) [----] end for; (138) [SCAL] (1) 1.1843079200592153e-5 * (99999.99999999999 * $DER.volDyn.dynBal.medium.p_bar) = volDyn.dynBal.mb_flow ($RES_SIM_73) (139) [SCAL] (1) $DER.volDyn.dynBal.U = volDyn.dynBal.Hb_flow ($RES_SIM_74) (140) [FOR-] (2) ($RES_SIM_114) (140) [----] for $i1 in 1:2 loop (140) [----] [ARRY] (1) bou.ports[$i1].Xi_outflow = bou.medium.Xi ($RES_SIM_115) (140) [----] end for; (141) [ARRY] (2) bou.ports.C_outflow = {bou.C_in_internal for $i1 in 1:2} ($RES_SIM_116) (142) [SCAL] (1) volDyn.dynBal.mbC_flow[1] = $FUN_12 ($RES_SIM_77) (143) [ARRY] (1) volSte.steBal.C_flow = volSte.C_flow ($RES_SIM_190) (144) [ARRY] (1) bou.medium.Xi = bou.X_in_internal[1:1] ($RES_SIM_117) (145) [SCAL] (1) volDyn.dynBal.mbXi_flow[1] = $FUN_11 ($RES_SIM_78) (146) [ARRY] (1) volSte.COut_internal = volSte.steBal.COut ($RES_SIM_191) (147) [SCAL] (1) volDyn.dynBal.ports_mC_flow[2, 1] = $FUN_10 ($RES_SIM_79) (148) [ARRY] (1) volSte.XiOut_internal = volSte.steBal.XiOut ($RES_SIM_192) (149) [SCAL] (1) volSte.steBal.port_b.h_outflow = volSte.ports[2].h_outflow ($RES_SIM_194) (150) [SCAL] (1) volSte.steBal.port_b.Xi_outflow[1] = volSte.ports[2].Xi_outflow[1] ($RES_SIM_195) (151) [SCAL] (1) volSte.steBal.port_b.C_outflow[1] = volSte.ports[2].C_outflow[1] ($RES_SIM_196) (152) [SCAL] (1) volSte.steBal.port_a.p = volSte.ports[2].p ($RES_SIM_197) (153) [SCAL] (1) volSte.ports[1].h_outflow = 0 ($RES_SIM_198) (154) [SCAL] (1) volSte.ports[1].Xi_outflow[1] = 0 ($RES_SIM_199) (155) [SCAL] (1) $SEV_2 = volSte.ports[1].m_flow > (-volSte.m_flow_small) ($RES_EVT_284) (156) [SCAL] (1) $SEV_3 = volSte.steBal.m_flow > volSte.steBal.deltaReg or volSte.steBal.m_flow < (-volSte.steBal.deltaReg) ($RES_EVT_285) (157) [SCAL] (1) $SEV_4 = volSte.steBal.m_flow < 0.5 * volSte.steBal.deltaReg and volSte.steBal.m_flow > (-0.5 * volSte.steBal.deltaReg) ($RES_EVT_286) (158) [SCAL] (1) volSte.ports[1].C_outflow[1] = 0 ($RES_SIM_200) (159) [SCAL] (1) $SEV_5 = abs(sum({abs(sou1.ports[1].m_flow)}) - abs(sou1.ports[1].m_flow)) <= 1e-60 ($RES_EVT_287) (160) [SCAL] (1) volSte.steBal.port_a.p = volSte.ports[1].p ($RES_SIM_201) (161) [FOR-] (2) ($RES_EVT_289) (161) [----] for $i1 in 1:2 loop (161) [----] [SCAL] (1) $SEV_7[$i1] = sou1.medium.X[$i1] >= (-1e-5) and sou1.medium.X[$i1] <= 1.00001 ($RES_EVT_290) (161) [----] end for; (162) [ARRY] (1) volSte.steBal.C_flow = volSte.steBal.C_flow_internal ($RES_SIM_203)