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.873/1.873, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.58e-05, allocations: 7.938 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07828, allocations: 44.49 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8225/0.9009, allocations: 323.6 MB / 0.6089 GB, free: 83.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.9012, allocations: 87.95 kB / 0.609 GB, free: 83.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7273/1.629, allocations: 164.6 MB / 0.7697 GB, free: 85.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.87e-06/1.629, allocations: 0 / 0.7697 GB, free: 85.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.615e-05/1.629, allocations: 20 kB / 0.7697 GB, free: 85.56 MB / 410.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.002623/1.631, allocations: 1.108 MB / 0.7708 GB, free: 84.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.631, allocations: 8.031 kB / 0.7708 GB, free: 84.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/1.632, allocations: 102.9 kB / 0.7709 GB, free: 84.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/1.634, allocations: 0.6608 MB / 0.7716 GB, free: 83.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/1.634, allocations: 44.59 kB / 0.7716 GB, free: 83.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.634, allocations: 59.12 kB / 0.7717 GB, free: 83.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/1.636, allocations: 0.8529 MB / 0.7725 GB, free: 82.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/1.636, allocations: 11.78 kB / 0.7725 GB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.636, allocations: 26.58 kB / 0.7725 GB, free: 82.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.982e-05/1.636, allocations: 49.28 kB / 0.7726 GB, free: 82.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/1.637, allocations: 0.7599 MB / 0.7733 GB, free: 81.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/1.643, allocations: 3.84 MB / 0.7771 GB, free: 77.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/1.644, allocations: 471.7 kB / 0.7775 GB, free: 77.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/1.645, allocations: 233.5 kB / 0.7778 GB, free: 77.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00296/1.648, allocations: 1.972 MB / 0.7797 GB, free: 74.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/1.648, allocations: 38.56 kB / 0.7797 GB, free: 74.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 4.171e-06/1.648, allocations: 0 / 0.7797 GB, free: 74.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.003156/1.651, allocations: 1.233 MB / 0.7809 GB, free: 73.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/1.651, allocations: 136.5 kB / 0.7811 GB, free: 73.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/1.652, allocations: 0.6012 MB / 0.7816 GB, free: 72.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/1.652, allocations: 37.7 kB / 0.7817 GB, free: 72.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/1.652, allocations: 461.3 kB / 0.7821 GB, free: 72.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/1.653, allocations: 149.8 kB / 0.7823 GB, free: 72.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/1.653, allocations: 20 kB / 0.7823 GB, free: 72.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/1.653, allocations: 342.8 kB / 0.7826 GB, free: 71.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/1.653, allocations: 241.9 kB / 0.7828 GB, free: 71.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/1.654, allocations: 0.5424 MB / 0.7834 GB, free: 70.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/1.655, allocations: 330.9 kB / 0.7837 GB, free: 70.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.378e-06/1.655, allocations: 4 kB / 0.7837 GB, free: 70.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001737/1.656, allocations: 0.8083 MB / 0.7845 GB, free: 69.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007473/1.657, allocations: 3.921 MB / 0.7883 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/1.657, allocations: 12 kB / 0.7883 GB, free: 65.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009375/1.658, allocations: 112.8 kB / 0.7884 GB, free: 65.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.66, allocations: 239.6 kB / 0.7886 GB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008374/1.661, allocations: 1.212 MB / 0.7898 GB, free: 63.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/1.662, allocations: 60.12 kB / 0.7899 GB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/1.662, allocations: 43.98 kB / 0.7899 GB, free: 63.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.662, allocations: 4 kB / 0.7899 GB, free: 63.7 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/1.664, allocations: 0.7638 MB / 0.7907 GB, free: 62.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.664, allocations: 8 kB / 0.7907 GB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008279/1.664, allocations: 117.1 kB / 0.7908 GB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.666, allocations: 215.7 kB / 0.791 GB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003926/1.666, allocations: 0.5913 MB / 0.7916 GB, free: 61.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/1.667, allocations: 67.83 kB / 0.7916 GB, free: 61.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.667, allocations: 43.98 kB / 0.7917 GB, free: 61.88 MB / 410.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.0002604/1.667, allocations: 161 kB / 0.7918 GB, free: 61.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/1.667, allocations: 71.16 kB / 0.7919 GB, free: 61.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/1.669, allocations: 0.7465 MB / 0.7926 GB, free: 60.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.669, allocations: 11.94 kB / 0.7927 GB, free: 60.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.796e-06/1.669, allocations: 4 kB / 0.7927 GB, free: 60.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.669, allocations: 3.984 kB / 0.7927 GB, free: 60.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/1.672, allocations: 1.418 MB / 0.794 GB, free: 59.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.401e-06/1.672, allocations: 0 / 0.794 GB, free: 59.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009541/1.673, allocations: 143.8 kB / 0.7942 GB, free: 59.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/1.674, allocations: 88.88 kB / 0.7943 GB, free: 59.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/1.674, allocations: 15.98 kB / 0.7943 GB, free: 59.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000636/1.675, allocations: 1.177 MB / 0.7954 GB, free: 57.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.764e-06/1.675, allocations: 4.031 kB / 0.7954 GB, free: 57.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/1.676, allocations: 1.004 MB / 0.7964 GB, free: 56.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/1.677, allocations: 152.2 kB / 0.7966 GB, free: 56.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/1.677, allocations: 12 kB / 0.7966 GB, free: 56.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/1.678, allocations: 43.88 kB / 0.7966 GB, free: 56.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.678, allocations: 56.58 kB / 0.7967 GB, free: 56.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/1.678, allocations: 23.98 kB / 0.7967 GB, free: 56.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007306/1.679, allocations: 467.1 kB / 0.7971 GB, free: 56.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.76e-07/1.679, allocations: 4 kB / 0.7971 GB, free: 56.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002477/1.681, allocations: 0.6284 MB / 0.7978 GB, free: 55.48 MB / 410.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.001858/1.683, allocations: 0.6786 MB / 0.7984 GB, free: 54.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00296/1.686, allocations: 1.041 MB / 0.7994 GB, free: 53.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.641e-06/1.686, allocations: 2.438 kB / 0.7994 GB, free: 53.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009567/1.687, allocations: 317.9 kB / 0.7997 GB, free: 53.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.689, allocations: 286.8 kB / 0.8 GB, free: 53.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/1.691, allocations: 1.188 MB / 0.8012 GB, free: 51.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/1.692, allocations: 0.9953 MB / 0.8021 GB, free: 50.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/1.692, allocations: 83.41 kB / 0.8022 GB, free: 50.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/1.692, allocations: 4 kB / 0.8022 GB, free: 50.86 MB / 410.7 MB Notification: Performance of Templates: time 0.03119/1.723, allocations: 21.73 MB / 0.8234 GB, free: 29.14 MB / 410.7 MB "Error: Could not read variable ambient_fixed.T_in_internal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.T_in_internal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.X_in_internal[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.X_in_internal[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.flowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.flowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.p_in_internal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.p_in_internal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.T_in_internal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.T_in_internal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.X_in_internal[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.X_in_internal[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.flowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.flowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.m_flow_in_internal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.m_flow_in_internal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.diameters[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.dp_fric_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.dp_fric_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.dp_small in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.mu_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.rho_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.use_mu_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.use_mu_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.use_rho_nominal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.use_rho_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.port_a_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.port_b_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.aboveLevel[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.aboveLevel[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.aboveLevel[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.bottomArea[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.bottomArea[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.bottomArea[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.bottomArea[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.initialize_p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.initialize_p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.levelAbovePort[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.levelAbovePort[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.levelAbovePort[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.levelAbovePort[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_diameter[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_diameter[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_diameter[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_diameter[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_height[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_height[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.portsData_height[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_height[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_emptyPipeHysteresis[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_emptyPipeHysteresis[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_m_flow_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_m_flow_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.ports_m_flow_out[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_m_flow_out[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.zetas_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.zetas_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.zetas_out[2] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.zetas_out[2] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.port_a_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.port_a_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.port_b_exposesState in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.port_b_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.showDesignFlowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.showDesignFlowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_a.T in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_a.T from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_a.p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_a.p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_b.T in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_b.T from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.state_b.p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_b.p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! " Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:ambient_fixed.T,ambient_fixed.X[1],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.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,flowSource.T,flowSource.X[1],flowSource.m_flow,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,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.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_nominal,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.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.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.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_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.roughness,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.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.level,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.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.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,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_b.h_outflow,valveDiscrete.port_b.m_flow,valveDiscrete.port_b.p,valveDiscrete.port_b_T,valveDiscrete.show_T,valveDiscrete.show_V_flow