Running command: translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.272e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2136, allocations: 38.77 MB / 263.8 MB, free: 9.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.219, allocations: 399.6 MB / 0.6478 GB, free: 133.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/1.22, allocations: 82.34 kB / 0.6479 GB, free: 133.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8795/2.099, allocations: 210 MB / 0.853 GB, free: 70.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.282e-06/2.099, allocations: 0 / 0.853 GB, free: 70.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001362/2.099, allocations: 34.47 kB / 0.853 GB, free: 70.33 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.006316/2.106, allocations: 1.79 MB / 0.8548 GB, free: 69.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/2.106, allocations: 10.31 kB / 0.8548 GB, free: 69.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/2.107, allocations: 165.6 kB / 0.8549 GB, free: 69.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/2.11, allocations: 0.9867 MB / 0.8559 GB, free: 68.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/2.11, allocations: 233.7 kB / 0.8561 GB, free: 68.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/2.111, allocations: 104.6 kB / 0.8562 GB, free: 68.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/2.115, allocations: 1.761 MB / 0.858 GB, free: 67.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.835e-05/2.116, allocations: 5.438 kB / 0.858 GB, free: 67.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/2.116, allocations: 47.14 kB / 0.858 GB, free: 67.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/2.116, allocations: 99.45 kB / 0.8581 GB, free: 67.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/2.12, allocations: 1.707 MB / 0.8598 GB, free: 66.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/2.137, allocations: 6.826 MB / 0.8664 GB, free: 62.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/2.141, allocations: 1.416 MB / 0.8678 GB, free: 60.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/2.142, allocations: 0.8267 MB / 0.8686 GB, free: 59.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007639/2.15, allocations: 3.98 MB / 0.8725 GB, free: 55.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/2.15, allocations: 47.56 kB / 0.8726 GB, free: 55.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=110): time 4.293e-06/2.15, allocations: 0 / 0.8726 GB, free: 55.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.01343/2.164, allocations: 4.589 MB / 0.877 GB, free: 50.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/2.164, allocations: 145.5 kB / 0.8772 GB, free: 50.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/2.166, allocations: 0.9745 MB / 0.8781 GB, free: 49.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003576/2.166, allocations: 52.48 kB / 0.8782 GB, free: 49.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/2.166, allocations: 0.5228 MB / 0.8787 GB, free: 49.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004872/2.167, allocations: 413.6 kB / 0.8791 GB, free: 48.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/2.167, allocations: 28 kB / 0.8791 GB, free: 48.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/2.167, allocations: 354.2 kB / 0.8794 GB, free: 48.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/2.169, allocations: 0.7458 MB / 0.8802 GB, free: 47.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/2.171, allocations: 0.9933 MB / 0.8811 GB, free: 46.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/2.173, allocations: 0.806 MB / 0.8819 GB, free: 45.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/2.173, allocations: 10.94 kB / 0.8819 GB, free: 45.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.006057/2.179, allocations: 2.383 MB / 0.8843 GB, free: 43.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004928/2.179, allocations: 2.362 MB / 0.8866 GB, free: 40.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/2.179, allocations: 4 kB / 0.8866 GB, free: 40.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004947/2.184, allocations: 1.194 MB / 0.8877 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/2.186, allocations: 219.7 kB / 0.888 GB, free: 39.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/2.193, allocations: 6.181 MB / 0.894 GB, free: 33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/2.195, allocations: 95.44 kB / 0.8941 GB, free: 32.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/2.195, allocations: 63.97 kB / 0.8941 GB, free: 32.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/2.195, allocations: 4 kB / 0.8941 GB, free: 32.85 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00485/2.2, allocations: 1.991 MB / 0.8961 GB, free: 30.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/2.2, allocations: 4 kB / 0.8961 GB, free: 30.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003102/2.203, allocations: 0.7945 MB / 0.8969 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/2.205, allocations: 227.6 kB / 0.8971 GB, free: 29.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006887/2.212, allocations: 6.719 MB / 0.9037 GB, free: 22.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/2.214, allocations: 86.78 kB / 0.9037 GB, free: 22.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/2.214, allocations: 55.98 kB / 0.9038 GB, free: 22.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 12 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {4 9,2 3,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005144/2.215, allocations: 192.4 kB / 0.904 GB, free: 22.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/2.215, allocations: 130.4 kB / 0.9041 GB, free: 22.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006164/2.221, allocations: 2.566 MB / 0.9066 GB, free: 19.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/2.221, allocations: 15.98 kB / 0.9066 GB, free: 19.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/2.221, allocations: 7.75 kB / 0.9066 GB, free: 19.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.088e-05/2.221, allocations: 3.984 kB / 0.9066 GB, free: 19.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009435/2.231, allocations: 4.163 MB / 0.9107 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/2.231, allocations: 0 / 0.9107 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/2.232, allocations: 151.8 kB / 0.9108 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004845/2.237, allocations: 1.194 MB / 0.912 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003845/2.237, allocations: 35.97 kB / 0.912 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007209/2.244, allocations: 6.197 MB / 0.9181 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/2.245, allocations: 0 / 0.9181 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007959/2.252, allocations: 3.542 MB / 0.9215 GB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/2.254, allocations: 435.1 kB / 0.922 GB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/2.254, allocations: 28 kB / 0.922 GB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/2.256, allocations: 91.78 kB / 0.9221 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004046/2.256, allocations: 152.9 kB / 0.9222 GB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/2.256, allocations: 47.97 kB / 0.9223 GB, free: 3.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001274/2.258, allocations: 0.739 MB / 0.923 GB, free: 2.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.94e-07/2.258, allocations: 0 / 0.923 GB, free: 2.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004356/2.262, allocations: 1.116 MB / 0.9241 GB, free: 1.355 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.medium.T,upperTank.level,lowerTank.medium.T,lowerTank.level) * Number of discrete variables: 11 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {4 12,2 4,4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/2.264, allocations: 0.8208 MB / 0.9249 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2224/2.487, allocations: 3.496 MB / 0.9283 GB, free: 64.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.177e-06/2.487, allocations: 0 / 0.9283 GB, free: 64.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003898/2.491, allocations: 1.292 MB / 0.9296 GB, free: 63.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/2.495, allocations: 0.5321 MB / 0.9301 GB, free: 63.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008091/2.503, allocations: 2.555 MB / 0.9326 GB, free: 63.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009714/2.504, allocations: 1.298 MB / 0.9338 GB, free: 62.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003471/2.507, allocations: 0.7002 MB / 0.9345 GB, free: 62.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/2.508, allocations: 116.7 kB / 0.9346 GB, free: 62.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.785e-06/2.508, allocations: 0 / 0.9346 GB, free: 62.73 MB / 362.7 MB Notification: Performance of Templates: time 0.08635/2.594, allocations: 41.6 MB / 0.9753 GB, free: 60.56 MB / 362.7 MB "" Variables in the reference:time,lowerTank.level,lowerTank.medium.h,upperTank.level,upperTank.medium.h,hysteresis.y Variables in the result:hysteresis.pre_y_start,hysteresis.uHigh,hysteresis.uLow,hysteresis.y,lowerTank.T_ambient,lowerTank.T_start,lowerTank.X_start[1],lowerTank.crossArea,lowerTank.energyDynamics,lowerTank.fluidLevel_max,lowerTank.h_start,lowerTank.heatTransfer.T_ambient,lowerTank.heatTransfer.k,lowerTank.heatTransfer.n,lowerTank.heatTransfer.states[1].p,lowerTank.heatTransfer.use_k,lowerTank.height,lowerTank.initialize_p,lowerTank.level,lowerTank.level_start,lowerTank.level_start_eps,lowerTank.m_flow_nominal,lowerTank.m_flow_small,lowerTank.m_flow_turbulent[1],lowerTank.m_flow_turbulent[2],lowerTank.massDynamics,lowerTank.medium.h,lowerTank.medium.p,lowerTank.medium.preferredMediumStates,lowerTank.medium.standardOrderComponents,lowerTank.medium.state.p,lowerTank.nPorts,lowerTank.p_ambient,lowerTank.p_start,lowerTank.portsData[1].diameter,lowerTank.portsData[1].height,lowerTank.portsData[1].zeta_in,lowerTank.portsData[1].zeta_out,lowerTank.portsData[2].diameter,lowerTank.portsData[2].height,lowerTank.portsData[2].zeta_in,lowerTank.portsData[2].zeta_out,lowerTank.portsData_diameter[1],lowerTank.portsData_diameter[2],lowerTank.portsData_diameter_internal[1],lowerTank.portsData_diameter_internal[2],lowerTank.portsData_height[1],lowerTank.portsData_height[2],lowerTank.portsData_height_internal[1],lowerTank.portsData_height_internal[2],lowerTank.portsData_zeta_in[1],lowerTank.portsData_zeta_in[2],lowerTank.portsData_zeta_in_internal[1],lowerTank.portsData_zeta_in_internal[2],lowerTank.portsData_zeta_out[1],lowerTank.portsData_zeta_out[2],lowerTank.portsData_zeta_out_internal[1],lowerTank.portsData_zeta_out_internal[2],lowerTank.ports[2].h_outflow,lowerTank.substanceDynamics,lowerTank.traceDynamics,lowerTank.use_HeatTransfer,lowerTank.use_Re,lowerTank.use_T_start,lowerTank.use_portsData,lowerTank.vesselArea,m_flow_off.k,m_flow_off.y,m_flow_on.k,m_flow_on.y,massFlowRate.T,massFlowRate.X[1],massFlowRate.flowDirection,massFlowRate.m_flow,massFlowRate.medium.preferredMediumStates,massFlowRate.medium.standardOrderComponents,massFlowRate.nPorts,overflow.V,overflow.allowFlowReversal,overflow.crossArea,overflow.diameter,overflow.flowModel.Re_turbulent,overflow.flowModel.Res_turbulent_internal[1],overflow.flowModel.allowFlowReversal,overflow.flowModel.constantPressureLossCoefficient,overflow.flowModel.continuousFlowReversal,overflow.flowModel.crossAreas[1],overflow.flowModel.crossAreas[2],overflow.flowModel.dheights[1],overflow.flowModel.dp_nominal,overflow.flowModel.dp_small,overflow.flowModel.from_dp,overflow.flowModel.g,overflow.flowModel.m,overflow.flowModel.m_flow_nominal,overflow.flowModel.m_flow_small,overflow.flowModel.m_flow_start,overflow.flowModel.momentumDynamics,overflow.flowModel.mu_nominal,overflow.flowModel.n,overflow.flowModel.nParallel,overflow.flowModel.p_a_start,overflow.flowModel.p_b_start,overflow.flowModel.pathLengths[1],overflow.flowModel.pathLengths_internal[1],overflow.flowModel.rho_nominal,overflow.flowModel.roughnesses[1],overflow.flowModel.roughnesses[2],overflow.flowModel.show_Res,overflow.flowModel.useUpstreamScheme,overflow.flowModel.use_Ib_flows,overflow.flowModel.use_mu_nominal,overflow.flowModel.use_rho_nominal,overflow.height_ab,overflow.isCircular,overflow.length,overflow.m_flow_start,overflow.nParallel,overflow.p_a_start,overflow.p_b_start,overflow.perimeter,overflow.port_a_exposesState,overflow.port_b_exposesState,overflow.roughness,overflow.showDesignFlowDirection,pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,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.dp_nominal,pipe.flowModel.dp_small,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.momentumDynamics,pipe.flowModel.mu_nominal,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.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.use_mu_nominal,pipe.flowModel.use_rho_nominal,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_exposesState,pipe.port_b_exposesState,pipe.roughness,pipe.showDesignFlowDirection,switch1.u1,switch1.u3,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,time,upperTank.T_ambient,upperTank.T_start,upperTank.X_start[1],upperTank.crossArea,upperTank.energyDynamics,upperTank.fluidLevel_max,upperTank.h_start,upperTank.heatTransfer.T_ambient,upperTank.heatTransfer.k,upperTank.heatTransfer.n,upperTank.heatTransfer.states[1].p,upperTank.heatTransfer.use_k,upperTank.height,upperTank.initialize_p,upperTank.level,upperTank.level_start,upperTank.level_start_eps,upperTank.m_flow_nominal,upperTank.m_flow_small,upperTank.m_flow_turbulent[1],upperTank.m_flow_turbulent[2],upperTank.m_flow_turbulent[3],upperTank.massDynamics,upperTank.medium.h,upperTank.medium.p,upperTank.medium.preferredMediumStates,upperTank.medium.standardOrderComponents,upperTank.medium.state.p,upperTank.nPorts,upperTank.p_ambient,upperTank.p_start,upperTank.portsData[1].diameter,upperTank.portsData[1].height,upperTank.portsData[1].zeta_in,upperTank.portsData[1].zeta_out,upperTank.portsData[2].diameter,upperTank.portsData[2].height,upperTank.portsData[2].zeta_in,upperTank.portsData[2].zeta_out,upperTank.portsData[3].diameter,upperTank.portsData[3].height,upperTank.portsData[3].zeta_in,upperTank.portsData[3].zeta_out,upperTank.portsData_diameter[1],upperTank.portsData_diameter[2],upperTank.portsData_diameter[3],upperTank.portsData_diameter_internal[1],upperTank.portsData_diameter_internal[2],upperTank.portsData_diameter_internal[3],upperTank.portsData_height[1],upperTank.portsData_height[2],upperTank.portsData_height[3],upperTank.portsData_height_internal[1],upperTank.portsData_height_internal[2],upperTank.portsData_height_internal[3],upperTank.portsData_zeta_in[1],upperTank.portsData_zeta_in[2],upperTank.portsData_zeta_in[3],upperTank.portsData_zeta_in_internal[1],upperTank.portsData_zeta_in_internal[2],upperTank.portsData_zeta_in_internal[3],upperTank.portsData_zeta_out[1],upperTank.portsData_zeta_out[2],upperTank.portsData_zeta_out[3],upperTank.portsData_zeta_out_internal[1],upperTank.portsData_zeta_out_internal[2],upperTank.portsData_zeta_out_internal[3],upperTank.ports[3].h_outflow,upperTank.substanceDynamics,upperTank.traceDynamics,upperTank.use_HeatTransfer,upperTank.use_Re,upperTank.use_T_start,upperTank.use_portsData,upperTank.vesselArea