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.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.705e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.08969, allocations: 47.58 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.847/0.9368, allocations: 328.1 MB / 0.6299 GB, free: 39.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.937, allocations: 87.14 kB / 0.63 GB, free: 39.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7918/1.729, allocations: 166.4 MB / 0.7925 GB, free: 50.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.218e-06/1.729, allocations: 0 / 0.7925 GB, free: 50.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001216/1.729, allocations: 23.98 kB / 0.7925 GB, free: 50.39 MB / 426.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.003949/1.733, allocations: 1.103 MB / 0.7936 GB, free: 49.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.733, allocations: 12.03 kB / 0.7936 GB, free: 49.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/1.734, allocations: 98.95 kB / 0.7937 GB, free: 49.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/1.735, allocations: 0.6246 MB / 0.7943 GB, free: 48.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.494e-05/1.736, allocations: 41.31 kB / 0.7944 GB, free: 48.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/1.736, allocations: 59.98 kB / 0.7944 GB, free: 48.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/1.737, allocations: 0.875 MB / 0.7953 GB, free: 47.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/1.737, allocations: 0 / 0.7953 GB, free: 47.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.738, allocations: 24 kB / 0.7953 GB, free: 47.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.651e-05/1.738, allocations: 49.22 kB / 0.7953 GB, free: 47.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/1.739, allocations: 0.7599 MB / 0.7961 GB, free: 46.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006487/1.746, allocations: 3.787 MB / 0.7998 GB, free: 42.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.747, allocations: 0.5157 MB / 0.8003 GB, free: 42.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/1.747, allocations: 258.1 kB / 0.8005 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00282/1.75, allocations: 1.883 MB / 0.8024 GB, free: 39.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/1.75, allocations: 42.55 kB / 0.8024 GB, free: 39.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 4.206e-06/1.75, allocations: 0 / 0.8024 GB, free: 39.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.00354/1.754, allocations: 1.383 MB / 0.8038 GB, free: 38.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/1.754, allocations: 132.5 kB / 0.8039 GB, free: 38.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.755, allocations: 0.6561 MB / 0.8045 GB, free: 37.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.755, allocations: 37.7 kB / 0.8046 GB, free: 37.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/1.756, allocations: 395 kB / 0.8049 GB, free: 36.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.756, allocations: 165.7 kB / 0.8051 GB, free: 36.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/1.756, allocations: 16 kB / 0.8051 GB, free: 36.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/1.756, allocations: 386.8 kB / 0.8055 GB, free: 36.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/1.756, allocations: 249.5 kB / 0.8057 GB, free: 36.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/1.757, allocations: 492.7 kB / 0.8062 GB, free: 35.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/1.758, allocations: 319 kB / 0.8065 GB, free: 35.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/1.758, allocations: 4 kB / 0.8065 GB, free: 35.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00191/1.76, allocations: 0.8508 MB / 0.8073 GB, free: 34.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005312/1.76, allocations: 2.709 MB / 0.81 GB, free: 31.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.76, allocations: 8 kB / 0.81 GB, free: 31.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/1.762, allocations: 165.6 kB / 0.8101 GB, free: 31.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.763, allocations: 187.7 kB / 0.8103 GB, free: 31.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/1.764, allocations: 1.8 MB / 0.8121 GB, free: 29.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.765, allocations: 56 kB / 0.8121 GB, free: 29.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.765, allocations: 43.92 kB / 0.8122 GB, free: 29.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.765, allocations: 6.656 kB / 0.8122 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001707/1.767, allocations: 0.7524 MB / 0.8129 GB, free: 28.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.767, allocations: 4 kB / 0.8129 GB, free: 28.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/1.768, allocations: 174.3 kB / 0.8131 GB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/1.769, allocations: 179.7 kB / 0.8133 GB, free: 28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00074/1.77, allocations: 1.175 MB / 0.8144 GB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/1.771, allocations: 56.03 kB / 0.8145 GB, free: 26.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.771, allocations: 36 kB / 0.8145 GB, free: 26.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (88): * Single equations (assignments): 85 * 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: 2 * 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: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002686/1.771, allocations: 162.4 kB / 0.8146 GB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.772, allocations: 79.06 kB / 0.8147 GB, free: 26.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/1.774, allocations: 0.8046 MB / 0.8155 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/1.774, allocations: 12 kB / 0.8155 GB, free: 25.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.199e-06/1.774, allocations: 0 / 0.8155 GB, free: 25.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.774, allocations: 3.984 kB / 0.8155 GB, free: 25.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/1.777, allocations: 1.556 MB / 0.817 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.777, allocations: 4 kB / 0.817 GB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/1.778, allocations: 131.8 kB / 0.8172 GB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007602/1.779, allocations: 129.7 kB / 0.8173 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/1.779, allocations: 19.94 kB / 0.8173 GB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009443/1.78, allocations: 1.745 MB / 0.819 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.33e-06/1.78, allocations: 0 / 0.819 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/1.782, allocations: 1.11 MB / 0.8201 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/1.782, allocations: 180 kB / 0.8203 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.782, allocations: 15.94 kB / 0.8203 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/1.783, allocations: 43.94 kB / 0.8203 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.783, allocations: 52.48 kB / 0.8204 GB, free: 20.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.582e-05/1.783, allocations: 27.98 kB / 0.8204 GB, free: 20.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008216/1.784, allocations: 0.5108 MB / 0.8209 GB, free: 19.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.94e-07/1.784, allocations: 0 / 0.8209 GB, free: 19.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002289/1.786, allocations: 0.6518 MB / 0.8215 GB, free: 19.21 MB / 426.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[1],tank1.aboveLevel[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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: 2 * 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: 2 {1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001689/1.788, allocations: 0.7047 MB / 0.8222 GB, free: 18.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00329/1.791, allocations: 1.135 MB / 0.8233 GB, free: 17.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.571e-06/1.791, allocations: 0 / 0.8233 GB, free: 17.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.793, allocations: 374.1 kB / 0.8237 GB, free: 17.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/1.795, allocations: 370.4 kB / 0.824 GB, free: 16.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/1.797, allocations: 1.139 MB / 0.8252 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/1.798, allocations: 1.012 MB / 0.8261 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001797/1.8, allocations: 381 kB / 0.8265 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.8, allocations: 67.41 kB / 0.8266 GB, free: 14.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.885e-06/1.8, allocations: 0 / 0.8266 GB, free: 14.01 MB / 426.7 MB Notification: Performance of Templates: time 0.2884/2.088, allocations: 22.42 MB / 0.8485 GB, free: 85.43 MB / 426.7 MB