Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.663e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3176, allocations: 58.84 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6886/1.006, allocations: 335.6 MB / 0.701 GB, free: 9.215 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.007, allocations: 85.41 kB / 0.7011 GB, free: 9.172 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.7096/1.716, allocations: 143 MB / 0.8407 GB, free: 70.91 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.256e-06/1.716, allocations: 0 / 0.8407 GB, free: 70.91 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 7.414e-05/1.716, allocations: 27.98 kB / 0.8408 GB, free: 70.88 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002856/1.719, allocations: 1.183 MB / 0.8419 GB, free: 69.65 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/1.719, allocations: 8.031 kB / 0.8419 GB, free: 69.64 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/1.72, allocations: 110.8 kB / 0.842 GB, free: 69.53 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/1.721, allocations: 0.6675 MB / 0.8427 GB, free: 68.82 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.722, allocations: 104.7 kB / 0.8428 GB, free: 68.71 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/1.722, allocations: 55.98 kB / 0.8428 GB, free: 68.65 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/1.724, allocations: 1.018 MB / 0.8438 GB, free: 67.58 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/1.724, allocations: 11.94 kB / 0.8438 GB, free: 67.57 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/1.724, allocations: 31.97 kB / 0.8439 GB, free: 67.54 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/1.724, allocations: 49.28 kB / 0.8439 GB, free: 67.49 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/1.726, allocations: 0.8848 MB / 0.8448 GB, free: 66.61 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007598/1.733, allocations: 4.005 MB / 0.8487 GB, free: 62.42 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.735, allocations: 0.6373 MB / 0.8493 GB, free: 61.77 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/1.735, allocations: 402.2 kB / 0.8497 GB, free: 61.38 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003827/1.739, allocations: 2.42 MB / 0.8521 GB, free: 58.71 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008836/1.74, allocations: 0.4953 MB / 0.8525 GB, free: 58.18 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=48): time 3.861e-06/1.74, allocations: 8 kB / 0.8526 GB, free: 58.17 MB / 0.4949 GB Notification: Performance of matching and sorting (n=53): time 0.005113/1.745, allocations: 2.13 MB / 0.8546 GB, free: 55.96 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.745, allocations: 243.8 kB / 0.8549 GB, free: 55.67 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.747, allocations: 0.7307 MB / 0.8556 GB, free: 54.93 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/1.747, allocations: 37.7 kB / 0.8556 GB, free: 54.88 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/1.747, allocations: 431.7 kB / 0.856 GB, free: 54.46 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/1.747, allocations: 173.6 kB / 0.8562 GB, free: 54.29 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/1.747, allocations: 16 kB / 0.8562 GB, free: 54.27 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/1.747, allocations: 337.9 kB / 0.8565 GB, free: 53.93 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/1.748, allocations: 369.4 kB / 0.8569 GB, free: 53.57 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/1.749, allocations: 0.5943 MB / 0.8575 GB, free: 52.87 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008389/1.75, allocations: 456.6 kB / 0.8579 GB, free: 52.42 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.748e-06/1.75, allocations: 4 kB / 0.8579 GB, free: 52.41 MB / 0.4949 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002793/1.753, allocations: 1.255 MB / 0.8591 GB, free: 51.14 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005167/1.753, allocations: 2.476 MB / 0.8615 GB, free: 48.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.753, allocations: 4 kB / 0.8615 GB, free: 48.46 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/1.754, allocations: 341.4 kB / 0.8619 GB, free: 48.12 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/1.755, allocations: 143.8 kB / 0.862 GB, free: 47.98 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/1.757, allocations: 1.452 MB / 0.8634 GB, free: 46.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.758, allocations: 43.97 kB / 0.8635 GB, free: 46.43 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.758, allocations: 48.11 kB / 0.8635 GB, free: 46.39 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.758, allocations: 4 kB / 0.8635 GB, free: 46.38 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002576/1.761, allocations: 1.172 MB / 0.8647 GB, free: 45.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.761, allocations: 12 kB / 0.8647 GB, free: 45.19 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.762, allocations: 317.9 kB / 0.865 GB, free: 44.87 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/1.763, allocations: 151.7 kB / 0.8651 GB, free: 44.72 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/1.764, allocations: 1.417 MB / 0.8665 GB, free: 43.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.765, allocations: 51.95 kB / 0.8666 GB, free: 43.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.765, allocations: 48.03 kB / 0.8666 GB, free: 43.16 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],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): 81 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003286/1.766, allocations: 196.5 kB / 0.8668 GB, free: 42.95 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/1.766, allocations: 86.97 kB / 0.8669 GB, free: 42.87 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/1.769, allocations: 1.124 MB / 0.868 GB, free: 41.73 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.852e-06/1.769, allocations: 4 kB / 0.868 GB, free: 41.72 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-06/1.769, allocations: 0 / 0.868 GB, free: 41.72 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.769, allocations: 3.984 kB / 0.868 GB, free: 41.72 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/1.772, allocations: 1.981 MB / 0.8699 GB, free: 39.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-06/1.773, allocations: 0 / 0.8699 GB, free: 39.66 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/1.773, allocations: 79.89 kB / 0.87 GB, free: 39.59 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/1.774, allocations: 337.4 kB / 0.8703 GB, free: 39.25 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/1.774, allocations: 19.98 kB / 0.8703 GB, free: 39.23 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/1.776, allocations: 1.425 MB / 0.8717 GB, free: 37.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.994e-06/1.776, allocations: 64 / 0.8717 GB, free: 37.75 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/1.779, allocations: 1.618 MB / 0.8733 GB, free: 36.11 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/1.779, allocations: 263.9 kB / 0.8736 GB, free: 35.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/1.78, allocations: 16 kB / 0.8736 GB, free: 35.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/1.78, allocations: 44.03 kB / 0.8736 GB, free: 35.77 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.781, allocations: 48.36 kB / 0.8737 GB, free: 35.72 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.781, allocations: 31.97 kB / 0.8737 GB, free: 35.69 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0009094/1.782, allocations: 0.5694 MB / 0.8742 GB, free: 35.13 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.56e-07/1.782, allocations: 0 / 0.8742 GB, free: 35.13 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00237/1.784, allocations: 0.6946 MB / 0.8749 GB, free: 34.43 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/1.786, allocations: 0.6515 MB / 0.8756 GB, free: 33.78 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00344/1.789, allocations: 1.519 MB / 0.877 GB, free: 32.24 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.789, allocations: 448 / 0.877 GB, free: 32.24 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.791, allocations: 492.9 kB / 0.8775 GB, free: 31.75 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.792, allocations: 333.9 kB / 0.8778 GB, free: 31.42 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/1.796, allocations: 1.292 MB / 0.8791 GB, free: 30.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/1.796, allocations: 1.034 MB / 0.8801 GB, free: 29.04 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001805/1.798, allocations: 390.4 kB / 0.8805 GB, free: 28.65 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/1.798, allocations: 59.42 kB / 0.8805 GB, free: 28.59 MB / 0.4949 GB Notification: Performance of SimCode: time 1.741e-06/1.798, allocations: 0 / 0.8805 GB, free: 28.59 MB / 0.4949 GB Notification: Performance of Templates: time 0.04799/1.846, allocations: 23.18 MB / 0.9032 GB, free: 5.445 MB / 0.4949 GB