Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.063e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2523, allocations: 44.5 MB / 294.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.777/1.029, allocations: 323 MB / 0.6026 GB, free: 116.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.03, allocations: 99.53 kB / 0.6027 GB, free: 116.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7179/1.748, allocations: 163.5 MB / 0.7624 GB, free: 83.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.027e-06/1.748, allocations: 3.281 kB / 0.7624 GB, free: 83.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.208e-05/1.748, allocations: 20.97 kB / 0.7624 GB, free: 83.41 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002613/1.75, allocations: 1.106 MB / 0.7635 GB, free: 82.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.75, allocations: 10.75 kB / 0.7635 GB, free: 82.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/1.751, allocations: 100.8 kB / 0.7636 GB, free: 82.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.753, allocations: 0.661 MB / 0.7643 GB, free: 82.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/1.753, allocations: 23.33 kB / 0.7643 GB, free: 82.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.753, allocations: 34.47 kB / 0.7643 GB, free: 82.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001469/1.754, allocations: 0.701 MB / 0.765 GB, free: 82.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/1.756, allocations: 0.7833 MB / 0.7658 GB, free: 82.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/1.756, allocations: 0.75 kB / 0.7658 GB, free: 82.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.756, allocations: 3.969 kB / 0.7658 GB, free: 82.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.718e-05/1.756, allocations: 46.89 kB / 0.7658 GB, free: 82.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005734/1.762, allocations: 3.723 MB / 0.7694 GB, free: 79.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/1.763, allocations: 465.3 kB / 0.7699 GB, free: 79.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/1.763, allocations: 228.2 kB / 0.7701 GB, free: 79.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002911/1.766, allocations: 1.93 MB / 0.772 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.766, allocations: 45.78 kB / 0.772 GB, free: 77.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.621e-06/1.766, allocations: 0 / 0.772 GB, free: 77.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.008366/1.774, allocations: 1.673 MB / 0.7737 GB, free: 76.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/1.775, allocations: 143.9 kB / 0.7738 GB, free: 76.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008069/1.775, allocations: 0.5188 MB / 0.7743 GB, free: 76.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-05/1.776, allocations: 29.42 kB / 0.7743 GB, free: 76.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/1.776, allocations: 463.1 kB / 0.7748 GB, free: 75.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.776, allocations: 145.3 kB / 0.7749 GB, free: 75.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/1.776, allocations: 0 / 0.7749 GB, free: 75.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/1.776, allocations: 345.3 kB / 0.7752 GB, free: 75.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/1.777, allocations: 224 kB / 0.7755 GB, free: 75.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/1.777, allocations: 0.5415 MB / 0.776 GB, free: 74.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005594/1.783, allocations: 0.9258 MB / 0.7769 GB, free: 74.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.783, allocations: 0 / 0.7769 GB, free: 74.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006587/1.789, allocations: 1.382 MB / 0.7782 GB, free: 74.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008094/1.79, allocations: 3.921 MB / 0.7821 GB, free: 70.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/1.79, allocations: 7.844 kB / 0.7821 GB, free: 70.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/1.791, allocations: 61.59 kB / 0.7821 GB, free: 70.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.792, allocations: 241.5 kB / 0.7824 GB, free: 70.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/1.794, allocations: 1.286 MB / 0.7836 GB, free: 69.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.795, allocations: 48.53 kB / 0.7837 GB, free: 69.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.795, allocations: 43.25 kB / 0.7837 GB, free: 69.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.795, allocations: 7.578 kB / 0.7837 GB, free: 69.02 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006135/1.801, allocations: 1.287 MB / 0.785 GB, free: 68.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.801, allocations: 10.25 kB / 0.785 GB, free: 68.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/1.801, allocations: 53.02 kB / 0.785 GB, free: 68.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.802, allocations: 231.3 kB / 0.7853 GB, free: 68.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007731/1.803, allocations: 0.6435 MB / 0.7859 GB, free: 68.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/1.804, allocations: 35.17 kB / 0.7859 GB, free: 68.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.804, allocations: 46.88 kB / 0.786 GB, free: 68.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002696/1.804, allocations: 136.9 kB / 0.7861 GB, free: 68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/1.805, allocations: 77.5 kB / 0.7862 GB, free: 67.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.807, allocations: 0.7735 MB / 0.7869 GB, free: 67.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/1.807, allocations: 12.62 kB / 0.7869 GB, free: 67.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.537e-06/1.807, allocations: 0 / 0.7869 GB, free: 67.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.807, allocations: 3.516 kB / 0.7869 GB, free: 67.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/1.811, allocations: 1.396 MB / 0.7883 GB, free: 67.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.221e-06/1.811, allocations: 0 / 0.7883 GB, free: 67.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000949/1.812, allocations: 140.7 kB / 0.7884 GB, free: 67.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/1.812, allocations: 42.92 kB / 0.7885 GB, free: 67.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/1.813, allocations: 11.16 kB / 0.7885 GB, free: 67.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000944/1.813, allocations: 1.22 MB / 0.7897 GB, free: 65.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.072e-06/1.813, allocations: 0 / 0.7897 GB, free: 65.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/1.816, allocations: 1.046 MB / 0.7907 GB, free: 65.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/1.816, allocations: 151.3 kB / 0.7908 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/1.817, allocations: 11.56 kB / 0.7909 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/1.817, allocations: 25.81 kB / 0.7909 GB, free: 65.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.817, allocations: 50.05 kB / 0.7909 GB, free: 65.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/1.817, allocations: 25.5 kB / 0.791 GB, free: 65.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000615/1.818, allocations: 399.1 kB / 0.7913 GB, free: 65 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.88e-07/1.818, allocations: 0 / 0.7913 GB, free: 65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0024/1.82, allocations: 0.5869 MB / 0.7919 GB, free: 64.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.medium.T,tank1.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001751/1.822, allocations: 0.6427 MB / 0.7925 GB, free: 64.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002715/1.825, allocations: 0.9982 MB / 0.7935 GB, free: 64.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.062e-06/1.825, allocations: 3.5 kB / 0.7935 GB, free: 64.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009001/1.826, allocations: 319 kB / 0.7938 GB, free: 64.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.828, allocations: 260.9 kB / 0.7941 GB, free: 64.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/1.83, allocations: 1.15 MB / 0.7952 GB, free: 63.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/1.831, allocations: 0.9985 MB / 0.7962 GB, free: 62.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/1.831, allocations: 79.92 kB / 0.7962 GB, free: 62.92 MB / 394.7 MB Notification: Performance of SimCode: time 2.167e-06/1.831, allocations: 0 / 0.7962 GB, free: 62.92 MB / 394.7 MB Notification: Performance of Templates: time 0.03029/1.861, allocations: 21.57 MB / 0.8173 GB, free: 45.09 MB / 394.7 MB "" Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:_D_cse1,_D_cse10,_D_cse11,_D_cse12,_D_cse13,_D_cse14,_D_cse15,_D_cse16,_D_cse17,_D_cse18,_D_cse19,_D_cse2,_D_cse20,_D_cse3,_D_cse4,_D_cse5,_D_cse6.T,_D_cse6.p,_D_cse7,_D_cse8,_D_cse9.T,_D_cse9.p,ambient_fixed.T,ambient_fixed.T_in_internal,ambient_fixed.X[1],ambient_fixed.X_in_internal[1],ambient_fixed.flowDirection,ambient_fixed.medium.MM,ambient_fixed.medium.R,ambient_fixed.medium.T,ambient_fixed.medium.T_degC,ambient_fixed.medium.X[1],ambient_fixed.medium.d,ambient_fixed.medium.h,ambient_fixed.medium.p,ambient_fixed.medium.p_bar,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.medium.u,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.p_in_internal,ambient_fixed.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,ambient_fixed.use_C_in,ambient_fixed.use_T_in,ambient_fixed.use_X_in,ambient_fixed.use_p_in,flowSource.T,flowSource.T_in_internal,flowSource.X[1],flowSource.X_in_internal[1],flowSource.flowDirection,flowSource.m_flow,flowSource.m_flow_in_internal,flowSource.medium.MM,flowSource.medium.R,flowSource.medium.T,flowSource.medium.T_degC,flowSource.medium.X[1],flowSource.medium.d,flowSource.medium.h,flowSource.medium.p,flowSource.medium.p_bar,flowSource.medium.preferredMediumStates,flowSource.medium.standardOrderComponents,flowSource.medium.state.T,flowSource.medium.state.p,flowSource.medium.u,flowSource.nPorts,flowSource.ports[1].h_outflow,flowSource.ports[1].m_flow,flowSource.ports[1].p,flowSource.use_C_in,flowSource.use_T_in,flowSource.use_X_in,flowSource.use_m_flow_in,open.k,open.y,pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,pipe.flowModel.Fs_fg[1],pipe.flowModel.Fs_p[1],pipe.flowModel.Ib_flows[1],pipe.flowModel.Is[1],pipe.flowModel.Re_turbulent,pipe.flowModel.Res_turbulent_internal[1],pipe.flowModel.allowFlowReversal,pipe.flowModel.constantPressureLossCoefficient,pipe.flowModel.continuousFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.diameters[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_fric_nominal,pipe.flowModel.dp_nominal,pipe.flowModel.dp_small,pipe.flowModel.dps_fg[1],pipe.flowModel.from_dp,pipe.flowModel.g,pipe.flowModel.m,pipe.flowModel.m_flow_nominal,pipe.flowModel.m_flow_small,pipe.flowModel.m_flow_start,pipe.flowModel.m_flows[1],pipe.flowModel.momentumDynamics,pipe.flowModel.mu_nominal,pipe.flowModel.mus[1],pipe.flowModel.mus[2],pipe.flowModel.mus_act[1],pipe.flowModel.n,pipe.flowModel.nParallel,pipe.flowModel.p_a_start,pipe.flowModel.p_b_start,pipe.flowModel.pathLengths[1],pipe.flowModel.pathLengths_internal[1],pipe.flowModel.rho_nominal,pipe.flowModel.rhos[1],pipe.flowModel.rhos[2],pipe.flowModel.rhos_act[1],pipe.flowModel.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.states[1].T,pipe.flowModel.states[1].p,pipe.flowModel.states[2].T,pipe.flowModel.states[2].p,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.use_mu_nominal,pipe.flowModel.use_rho_nominal,pipe.flowModel.vs[1],pipe.flowModel.vs[2],pipe.height_ab,pipe.isCircular,pipe.length,pipe.m_flow_start,pipe.nParallel,pipe.p_a_start,pipe.p_b_start,pipe.perimeter,pipe.port_a.h_outflow,pipe.port_a.m_flow,pipe.port_a.p,pipe.port_a_exposesState,pipe.port_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.port_b_exposesState,pipe.roughness,pipe.showDesignFlowDirection,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,tank1.Hb_flow,tank1.Qb_flow,tank1.T_ambient,tank1.T_start,tank1.U,tank1.V,tank1.V0,tank1.Wb_flow,tank1.X_start[1],tank1.aboveLevel[1],tank1.aboveLevel[2],tank1.bottomArea[1],tank1.bottomArea[2],tank1.crossArea,der(tank1.U),der(tank1.fluidVolume),der(tank1.level),der(tank1.m),tank1.energyDynamics,tank1.fluidVolume,tank1.h_start,tank1.heatTransfer.Q_flows[1],tank1.heatTransfer.T_ambient,tank1.heatTransfer.Ts[1],tank1.heatTransfer.heatPorts[1].Q_flow,tank1.heatTransfer.heatPorts[1].T,tank1.heatTransfer.k,tank1.heatTransfer.n,tank1.heatTransfer.states[1].T,tank1.heatTransfer.states[1].p,tank1.heatTransfer.surfaceAreas[1],tank1.heatTransfer.use_k,tank1.height,tank1.hysteresisFactor,tank1.initialize_p,tank1.level,tank1.levelAbovePort[1],tank1.levelAbovePort[2],tank1.level_start,tank1.m,tank1.m_flow_small,tank1.massDynamics,tank1.mb_flow,tank1.medium.MM,tank1.medium.R,tank1.medium.T,tank1.medium.T_degC,tank1.medium.X[1],tank1.medium.d,der(tank1.medium.T),der(tank1.medium.T_degC),der(tank1.medium.u),tank1.medium.h,tank1.medium.p,tank1.medium.p_bar,tank1.medium.preferredMediumStates,tank1.medium.standardOrderComponents,tank1.medium.state.T,tank1.medium.state.p,tank1.medium.u,tank1.nPorts,tank1.nTopPorts,tank1.p_ambient,tank1.p_start,tank1.port_b_H_flow_bottom[1],tank1.port_b_H_flow_bottom[2],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.portsData[2].diameter,tank1.portsData[2].height,tank1.portsData[2].zeta_in,tank1.portsData[2].zeta_out,tank1.portsData_diameter2[1],tank1.portsData_diameter2[2],tank1.portsData_diameter[1],tank1.portsData_diameter[2],tank1.portsData_height2[1],tank1.portsData_height2[2],tank1.portsData_height[1],tank1.portsData_height[2],tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.ports[2].h_outflow,tank1.ports[2].m_flow,tank1.ports[2].p,tank1.ports_emptyPipeHysteresis[1],tank1.ports_emptyPipeHysteresis[2],tank1.ports_m_flow_out[1],tank1.ports_m_flow_out[2],tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,tank1.zetas_out[1],tank1.zetas_out[2],time,valveDiscrete.V_flow,valveDiscrete.allowFlowReversal,valveDiscrete.dp,valveDiscrete.dp_nominal,valveDiscrete.dp_start,valveDiscrete.k,valveDiscrete.m_flow,valveDiscrete.m_flow_nominal,valveDiscrete.m_flow_small,valveDiscrete.m_flow_start,valveDiscrete.open,valveDiscrete.opening_min,valveDiscrete.port_a.h_outflow,valveDiscrete.port_a.m_flow,valveDiscrete.port_a.p,valveDiscrete.port_a_T,valveDiscrete.port_a_exposesState,valveDiscrete.port_b.h_outflow,valveDiscrete.port_b.m_flow,valveDiscrete.port_b.p,valveDiscrete.port_b_T,valveDiscrete.port_b_exposesState,valveDiscrete.showDesignFlowDirection,valveDiscrete.show_T,valveDiscrete.show_V_flow,valveDiscrete.state_a.T,valveDiscrete.state_a.p,valveDiscrete.state_b.T,valveDiscrete.state_b.p