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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 1.58/1.58, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.96e-05, allocations: 0 / 225 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 38.77 MB / 263.8 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7764/0.9877, allocations: 318.3 MB / 0.5684 GB, free: 68.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.988, allocations: 84.77 kB / 0.5685 GB, free: 68.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7054/1.693, allocations: 164.6 MB / 0.7293 GB, free: 57.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.868e-06/1.693, allocations: 0 / 0.7293 GB, free: 57.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.827e-05/1.694, allocations: 19.83 kB / 0.7293 GB, free: 57.91 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00255/1.696, allocations: 1.116 MB / 0.7304 GB, free: 56.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.696, allocations: 12.03 kB / 0.7304 GB, free: 56.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/1.697, allocations: 98.95 kB / 0.7305 GB, free: 56.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/1.698, allocations: 0.6633 MB / 0.7311 GB, free: 55.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/1.698, allocations: 41.31 kB / 0.7312 GB, free: 55.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.699, allocations: 54.5 kB / 0.7312 GB, free: 55.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/1.7, allocations: 0.8546 MB / 0.732 GB, free: 54.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/1.7, allocations: 11.94 kB / 0.7321 GB, free: 54.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.7, allocations: 27.83 kB / 0.7321 GB, free: 54.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/1.7, allocations: 49.27 kB / 0.7321 GB, free: 54.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/1.702, allocations: 0.7638 MB / 0.7329 GB, free: 54.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/1.708, allocations: 3.835 MB / 0.7366 GB, free: 50.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/1.709, allocations: 471.4 kB / 0.7371 GB, free: 49.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/1.709, allocations: 233.5 kB / 0.7373 GB, free: 49.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002914/1.712, allocations: 1.97 MB / 0.7392 GB, free: 47.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.712, allocations: 38.56 kB / 0.7392 GB, free: 47.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 4.122e-06/1.712, allocations: 7.984 kB / 0.7393 GB, free: 47.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003154/1.715, allocations: 1.233 MB / 0.7405 GB, free: 45.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/1.716, allocations: 140.4 kB / 0.7406 GB, free: 45.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009624/1.717, allocations: 0.605 MB / 0.7412 GB, free: 45.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-05/1.717, allocations: 37.7 kB / 0.7412 GB, free: 45.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/1.717, allocations: 453.2 kB / 0.7417 GB, free: 44.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/1.717, allocations: 153.8 kB / 0.7418 GB, free: 44.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/1.717, allocations: 16 kB / 0.7418 GB, free: 44.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/1.717, allocations: 346.8 kB / 0.7421 GB, free: 44.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/1.718, allocations: 237.9 kB / 0.7424 GB, free: 43.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/1.718, allocations: 0.5389 MB / 0.7429 GB, free: 43.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/1.719, allocations: 331 kB / 0.7432 GB, free: 42.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.306e-06/1.719, allocations: 4 kB / 0.7432 GB, free: 42.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001808/1.721, allocations: 0.8081 MB / 0.744 GB, free: 42.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007563/1.722, allocations: 3.919 MB / 0.7478 GB, free: 37.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.722, allocations: 8 kB / 0.7478 GB, free: 37.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/1.723, allocations: 116.8 kB / 0.748 GB, free: 37.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.724, allocations: 239.6 kB / 0.7482 GB, free: 37.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008488/1.725, allocations: 1.216 MB / 0.7494 GB, free: 36.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.726, allocations: 63.97 kB / 0.7494 GB, free: 36.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.726, allocations: 39.98 kB / 0.7495 GB, free: 36.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.726, allocations: 4 kB / 0.7495 GB, free: 36.05 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00166/1.728, allocations: 0.7559 MB / 0.7502 GB, free: 35.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.728, allocations: 8 kB / 0.7502 GB, free: 35.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008356/1.729, allocations: 117.2 kB / 0.7503 GB, free: 35.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.73, allocations: 223.7 kB / 0.7505 GB, free: 34.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003861/1.731, allocations: 0.5952 MB / 0.7511 GB, free: 34.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007746/1.731, allocations: 47.97 kB / 0.7512 GB, free: 34.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.731, allocations: 47.98 kB / 0.7512 GB, free: 34.23 MB / 362.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.0002534/1.732, allocations: 161.4 kB / 0.7514 GB, free: 34.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/1.732, allocations: 75.06 kB / 0.7514 GB, free: 34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/1.734, allocations: 0.7502 MB / 0.7522 GB, free: 33.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.734, allocations: 4 kB / 0.7522 GB, free: 33.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.408e-06/1.734, allocations: 4 kB / 0.7522 GB, free: 33.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.734, allocations: 3.984 kB / 0.7522 GB, free: 33.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/1.737, allocations: 1.418 MB / 0.7536 GB, free: 31.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-06/1.737, allocations: 3.938 kB / 0.7536 GB, free: 31.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/1.738, allocations: 139.8 kB / 0.7537 GB, free: 31.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000573/1.738, allocations: 93 kB / 0.7538 GB, free: 31.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/1.739, allocations: 19.94 kB / 0.7538 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006513/1.739, allocations: 1.177 MB / 0.755 GB, free: 30.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.453e-06/1.739, allocations: 0 / 0.755 GB, free: 30.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/1.741, allocations: 1.004 MB / 0.7559 GB, free: 29.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/1.741, allocations: 164 kB / 0.7561 GB, free: 29.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.742, allocations: 12 kB / 0.7561 GB, free: 29.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/1.742, allocations: 40.03 kB / 0.7562 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.742, allocations: 48.48 kB / 0.7562 GB, free: 28.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/1.743, allocations: 27.98 kB / 0.7562 GB, free: 28.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007292/1.743, allocations: 471.1 kB / 0.7567 GB, free: 28.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.743, allocations: 0 / 0.7567 GB, free: 28.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002468/1.746, allocations: 0.6323 MB / 0.7573 GB, free: 27.81 MB / 362.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.001784/1.748, allocations: 0.6702 MB / 0.7579 GB, free: 27.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002942/1.751, allocations: 1.034 MB / 0.759 GB, free: 26.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/1.751, allocations: 4 kB / 0.759 GB, free: 26.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009571/1.752, allocations: 326.8 kB / 0.7593 GB, free: 25.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.753, allocations: 285.8 kB / 0.7595 GB, free: 25.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/1.756, allocations: 1.184 MB / 0.7607 GB, free: 24.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/1.757, allocations: 0.9953 MB / 0.7617 GB, free: 23.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/1.757, allocations: 87.41 kB / 0.7618 GB, free: 23.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.725e-06/1.757, allocations: 0 / 0.7618 GB, free: 23.18 MB / 362.7 MB Notification: Performance of Templates: time 0.03082/1.788, allocations: 21.74 MB / 0.783 GB, free: 1.434 MB / 362.7 MB "Error: Could not read variable ambient_fixed.T_in_internal in file Modelica_3.2.1_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.1_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.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable ambient_fixed.flowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable ambient_fixed.flowDirection from file Modelica_3.2.1_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.1_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.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.T_in_internal from file Modelica_3.2.1_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.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable flowSource.flowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable flowSource.flowDirection from file Modelica_3.2.1_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.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.1_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.1_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.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.1_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.1_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.1_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.1_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.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.aboveLevel[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.aboveLevel[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.aboveLevel[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.bottomArea[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.bottomArea[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.bottomArea[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.bottomArea[2] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.initialize_p in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.initialize_p from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.levelAbovePort[1] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.levelAbovePort[1] from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable tank1.levelAbovePort[2] in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.levelAbovePort[2] from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_diameter[1] from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_diameter[2] from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_height[1] from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.portsData_height[2] from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[1] from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.ports_emptyPipeHysteresis[2] from file Modelica_3.2.1_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.1_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.1_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.1_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.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.zetas_out[1] from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable tank1.zetas_out[2] from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.port_a_exposesState from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.port_b_exposesState from file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat failed! Error: Could not read variable valveDiscrete.showDesignFlowDirection in file Modelica_3.2.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.showDesignFlowDirection from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_a.T from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_a.p from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_b.T from file Modelica_3.2.1_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.1_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat. Warning: Get data of variable valveDiscrete.state_b.p from file Modelica_3.2.1_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