Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.211e-05, allocations: 7.984 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08125/0.0813, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8104/0.8917, allocations: 321.4 MB / 0.6067 GB, free: 69.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.892, allocations: 91.2 kB / 0.6068 GB, free: 69.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6655/1.558, allocations: 141.4 MB / 0.7449 GB, free: 102.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.666e-06/1.558, allocations: 0 / 0.7449 GB, free: 102.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.785e-05/1.558, allocations: 19.94 kB / 0.7449 GB, free: 102.2 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002407/1.56, allocations: 1.074 MB / 0.746 GB, free: 101.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.56, allocations: 8.031 kB / 0.746 GB, free: 101.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/1.561, allocations: 99.47 kB / 0.7461 GB, free: 101 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/1.562, allocations: 0.6488 MB / 0.7467 GB, free: 100.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/1.563, allocations: 95.61 kB / 0.7468 GB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.563, allocations: 46.66 kB / 0.7469 GB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/1.564, allocations: 0.7851 MB / 0.7476 GB, free: 99.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/1.564, allocations: 3.984 kB / 0.7476 GB, free: 99.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.564, allocations: 23.05 kB / 0.7476 GB, free: 99.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.89e-05/1.565, allocations: 40.98 kB / 0.7477 GB, free: 99.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/1.566, allocations: 0.6538 MB / 0.7483 GB, free: 98.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/1.571, allocations: 3.403 MB / 0.7517 GB, free: 95.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007607/1.572, allocations: 409.2 kB / 0.752 GB, free: 94.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/1.573, allocations: 237.1 kB / 0.7523 GB, free: 94.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/1.575, allocations: 1.352 MB / 0.7536 GB, free: 92.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/1.575, allocations: 292.8 kB / 0.7539 GB, free: 92.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.576e-06/1.575, allocations: 4 kB / 0.7539 GB, free: 92.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.00347/1.579, allocations: 1.399 MB / 0.7552 GB, free: 91.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.579, allocations: 166.5 kB / 0.7554 GB, free: 90.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009593/1.58, allocations: 0.609 MB / 0.756 GB, free: 90.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.481e-05/1.58, allocations: 37.7 kB / 0.756 GB, free: 90.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/1.58, allocations: 436.6 kB / 0.7564 GB, free: 89.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.58, allocations: 137.3 kB / 0.7566 GB, free: 89.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/1.58, allocations: 16 kB / 0.7566 GB, free: 89.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.638e-05/1.58, allocations: 342.8 kB / 0.7569 GB, free: 89.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/1.581, allocations: 249.5 kB / 0.7572 GB, free: 89.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/1.581, allocations: 0.5199 MB / 0.7577 GB, free: 88.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/1.582, allocations: 351.9 kB / 0.758 GB, free: 88.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.145e-06/1.582, allocations: 8 kB / 0.758 GB, free: 88.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002/1.584, allocations: 0.8539 MB / 0.7588 GB, free: 87.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007103/1.585, allocations: 3.525 MB / 0.7623 GB, free: 83.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/1.585, allocations: 8 kB / 0.7623 GB, free: 83.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/1.586, allocations: 128.8 kB / 0.7624 GB, free: 83.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/1.586, allocations: 151.8 kB / 0.7626 GB, free: 83.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006332/1.587, allocations: 0.6732 MB / 0.7632 GB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/1.588, allocations: 43.97 kB / 0.7633 GB, free: 82.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.588, allocations: 43.98 kB / 0.7633 GB, free: 82.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.588, allocations: 12 kB / 0.7633 GB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001994/1.59, allocations: 0.8368 MB / 0.7641 GB, free: 81.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.59, allocations: 12.16 kB / 0.7641 GB, free: 81.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/1.591, allocations: 108.8 kB / 0.7642 GB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/1.591, allocations: 147.7 kB / 0.7644 GB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005005/1.592, allocations: 0.646 MB / 0.765 GB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/1.593, allocations: 47.97 kB / 0.7651 GB, free: 80.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/1.593, allocations: 40 kB / 0.7651 GB, free: 80.49 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(start = tank.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = 293.15 unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003265/1.593, allocations: 218.2 kB / 0.7653 GB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/1.593, allocations: 79.06 kB / 0.7654 GB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/1.595, allocations: 0.6565 MB / 0.766 GB, free: 79.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.174e-06/1.595, allocations: 7.953 kB / 0.766 GB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-06/1.595, allocations: 0 / 0.766 GB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.595, allocations: 0 / 0.766 GB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/1.597, allocations: 1.329 MB / 0.7673 GB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.541e-06/1.597, allocations: 7.953 kB / 0.7673 GB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/1.598, allocations: 55.91 kB / 0.7674 GB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005983/1.598, allocations: 116.8 kB / 0.7675 GB, free: 77.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/1.599, allocations: 20.02 kB / 0.7675 GB, free: 77.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005655/1.599, allocations: 0.6577 MB / 0.7682 GB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.599, allocations: 0 / 0.7682 GB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/1.601, allocations: 1.005 MB / 0.7691 GB, free: 76.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/1.601, allocations: 148.2 kB / 0.7693 GB, free: 76.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.601, allocations: 12 kB / 0.7693 GB, free: 76.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/1.602, allocations: 31.91 kB / 0.7693 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.602, allocations: 43.88 kB / 0.7694 GB, free: 75.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/1.602, allocations: 20 kB / 0.7694 GB, free: 75.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007168/1.603, allocations: 483.1 kB / 0.7698 GB, free: 75.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.36e-07/1.603, allocations: 0 / 0.7698 GB, free: 75.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002264/1.605, allocations: 0.554 MB / 0.7704 GB, free: 74.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 8 ($whenCondition1,tank.ports_m_flow_out[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0017/1.607, allocations: 0.5859 MB / 0.771 GB, free: 74.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002507/1.609, allocations: 1.11 MB / 0.772 GB, free: 73.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.567e-06/1.61, allocations: 0 / 0.772 GB, free: 73.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007603/1.61, allocations: 344.5 kB / 0.7724 GB, free: 72.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.612, allocations: 253.9 kB / 0.7726 GB, free: 72.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/1.614, allocations: 1.136 MB / 0.7737 GB, free: 71.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/1.615, allocations: 0.977 MB / 0.7747 GB, free: 70.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/1.615, allocations: 59.42 kB / 0.7747 GB, free: 70.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.032e-06/1.615, allocations: 0 / 0.7747 GB, free: 70.38 MB / 410.7 MB Notification: Performance of Templates: time 0.02463/1.64, allocations: 16.36 MB / 0.7907 GB, free: 54.05 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.OneTank_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.OneTank_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.OneTank_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.OneTank_res.mat failed! Error: Could not read variable ambient_fixed.flowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable ambient_fixed.flowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_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.OneTank_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.OneTank_res.mat. Warning: Get data of variable flowSource.T_in_internal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_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.OneTank_res.mat failed! Error: Could not read variable flowSource.flowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable flowSource.flowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.constantPressureLossCoefficient in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.constantPressureLossCoefficient from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.flowModel.continuousFlowReversal in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.continuousFlowReversal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.diameters[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_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.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.dp_small from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.mu_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.flowModel.rho_nominal from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_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.OneTank_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.OneTank_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.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.port_a_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_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.OneTank_res.mat. Warning: Get data of variable pipe.port_b_exposesState from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable pipe.showDesignFlowDirection in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable pipe.showDesignFlowDirection from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.aboveLevel[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.aboveLevel[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.bottomArea[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.bottomArea[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.initialize_p in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.initialize_p from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.levelAbovePort[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.levelAbovePort[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.portsData_diameter[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.portsData_diameter[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.portsData_height[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.portsData_height[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.ports_emptyPipeHysteresis[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.ports_emptyPipeHysteresis[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.ports_m_flow_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.ports_m_flow_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable tank.zetas_out[1] in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable tank.zetas_out[1] from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.a in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.a from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.b in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.b from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.last in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.last from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.nextEvent in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.nextEvent from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.nextEventScaled in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.nextEventScaled from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! Error: Could not read variable timeTable.timeScaled in file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat. Warning: Get data of variable timeTable.timeScaled from file Modelica_3.2.2_cpp_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank_res.mat failed! " Variables in the reference:time,tank.level,tank.medium.T,tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent 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.m_flow_in,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,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,tank.H_flow_top[1],tank.Hb_flow,tank.Qb_flow,tank.T_ambient,tank.T_start,tank.U,tank.V,tank.V0,tank.Wb_flow,tank.X_start[1],tank.crossArea,der(tank.U),der(tank.fluidVolume),der(tank.level),der(tank.m),tank.energyDynamics,tank.fluidVolume,tank.h_start,tank.heatTransfer.Q_flows[1],tank.heatTransfer.T_ambient,tank.heatTransfer.Ts[1],tank.heatTransfer.heatPorts[1].Q_flow,tank.heatTransfer.heatPorts[1].T,tank.heatTransfer.k,tank.heatTransfer.n,tank.heatTransfer.states[1].T,tank.heatTransfer.states[1].p,tank.heatTransfer.surfaceAreas[1],tank.heatTransfer.use_k,tank.height,tank.hysteresisFactor,tank.level,tank.level_start,tank.m,tank.m_flow_small,tank.massDynamics,tank.mb_flow,tank.medium.MM,tank.medium.R,tank.medium.T,tank.medium.T_degC,tank.medium.X[1],tank.medium.d,der(tank.medium.T),der(tank.medium.T_degC),der(tank.medium.u),tank.medium.h,tank.medium.p,tank.medium.p_bar,tank.medium.preferredMediumStates,tank.medium.standardOrderComponents,tank.medium.state.T,tank.medium.state.p,tank.medium.u,tank.nPorts,tank.nTopPorts,tank.p_ambient,tank.p_start,tank.port_b_H_flow_bottom[1],tank.portsData[1].diameter,tank.portsData[1].height,tank.portsData[1].zeta_in,tank.portsData[1].zeta_out,tank.ports[1].h_outflow,tank.ports[1].m_flow,tank.ports[1].p,tank.stiffCharacteristicForEmptyPort,tank.substanceDynamics,tank.topPorts[1].h_outflow,tank.topPorts[1].m_flow,tank.topPorts[1].p,tank.traceDynamics,tank.use_HeatTransfer,tank.use_T_start,tank.zetaLarge,time,timeTable.offset,timeTable.startTime,timeTable.table[1,1],timeTable.table[1,2],timeTable.table[10,1],timeTable.table[10,2],timeTable.table[11,1],timeTable.table[11,2],timeTable.table[12,1],timeTable.table[12,2],timeTable.table[13,1],timeTable.table[13,2],timeTable.table[2,1],timeTable.table[2,2],timeTable.table[3,1],timeTable.table[3,2],timeTable.table[4,1],timeTable.table[4,2],timeTable.table[5,1],timeTable.table[5,2],timeTable.table[6,1],timeTable.table[6,2],timeTable.table[7,1],timeTable.table[7,2],timeTable.table[8,1],timeTable.table[8,2],timeTable.table[9,1],timeTable.table[9,2],timeTable.timeScale,timeTable.y