Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.702e-05, allocations: 11.94 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2567, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5297/0.7864, allocations: 267.7 MB / 0.5487 GB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.7867, allocations: 67.28 kB / 0.5487 GB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0334/0.8201, allocations: 9.245 MB / 0.5578 GB, free: 2.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.8201, allocations: 0 / 0.5578 GB, free: 2.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.8201, allocations: 4 kB / 0.5578 GB, free: 2.695 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009997/0.8212, allocations: 454 kB / 0.5582 GB, free: 2.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8212, allocations: 12.03 kB / 0.5582 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.8215, allocations: 19.81 kB / 0.5582 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.8218, allocations: 209.8 kB / 0.5584 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.8218, allocations: 8 kB / 0.5584 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.8219, allocations: 11.91 kB / 0.5584 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000325/0.8222, allocations: 108.6 kB / 0.5585 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.8226, allocations: 182.1 kB / 0.5587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.8226, allocations: 0 / 0.5587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.8227, allocations: 4 kB / 0.5587 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.8227, allocations: 4 kB / 0.5587 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.8243, allocations: 0.9079 MB / 0.5596 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.8247, allocations: 124.7 kB / 0.5597 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.8248, allocations: 47.97 kB / 0.5598 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/0.8256, allocations: 0.5056 MB / 0.5603 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.8257, allocations: 35.89 kB / 0.5603 GB, free: 60 kB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.778e-06/0.8257, allocations: 4 kB / 0.5603 GB, free: 56 kB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.207/1.033, allocations: 0.5848 MB / 0.5609 GB, free: 147.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/1.033, allocations: 54.16 kB / 0.5609 GB, free: 147.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/1.033, allocations: 133.4 kB / 0.5611 GB, free: 147.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.033, allocations: 26.2 kB / 0.5611 GB, free: 147.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/1.033, allocations: 207.8 kB / 0.5613 GB, free: 147.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/1.033, allocations: 69.03 kB / 0.5613 GB, free: 147.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/1.033, allocations: 2.938 kB / 0.5614 GB, free: 147.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.19e-05/1.033, allocations: 328.2 kB / 0.5617 GB, free: 147 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/1.033, allocations: 59.8 kB / 0.5617 GB, free: 147 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/1.034, allocations: 163.2 kB / 0.5619 GB, free: 146.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/1.034, allocations: 81.06 kB / 0.562 GB, free: 146.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.524e-06/1.034, allocations: 1.594 kB / 0.562 GB, free: 146.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007272/1.035, allocations: 249.8 kB / 0.5622 GB, free: 146.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.035, allocations: 6.406 kB / 0.5622 GB, free: 146.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.035, allocations: 6.062 kB / 0.5622 GB, free: 146.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/1.035, allocations: 6.828 kB / 0.5622 GB, free: 146.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/1.035, allocations: 82.72 kB / 0.5623 GB, free: 146.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.035, allocations: 8.328 kB / 0.5623 GB, free: 146.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/1.036, allocations: 14.73 kB / 0.5623 GB, free: 146.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/1.036, allocations: 17.28 kB / 0.5623 GB, free: 146.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.036, allocations: 121.8 kB / 0.5624 GB, free: 146.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/1.036, allocations: 13 kB / 0.5625 GB, free: 146.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/1.037, allocations: 190.1 kB / 0.5626 GB, free: 146.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.339e-06/1.037, allocations: 2.125 kB / 0.5626 GB, free: 146.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.446e-06/1.037, allocations: 1.438 kB / 0.5626 GB, free: 146.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.037, allocations: 5.5 kB / 0.5626 GB, free: 146.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/1.038, allocations: 0.5149 MB / 0.5632 GB, free: 146.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.535e-06/1.038, allocations: 1.688 kB / 0.5632 GB, free: 146.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/1.038, allocations: 55.97 kB / 0.5632 GB, free: 146.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.909e-06/1.038, allocations: 2.969 kB / 0.5632 GB, free: 146.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/1.039, allocations: 2.906 kB / 0.5632 GB, free: 146.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.657e-06/1.039, allocations: 1.438 kB / 0.5632 GB, free: 146.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.291e-06/1.039, allocations: 3.656 kB / 0.5632 GB, free: 146.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/1.039, allocations: 391.6 kB / 0.5636 GB, free: 146.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/1.039, allocations: 90.12 kB / 0.5637 GB, free: 146.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/1.039, allocations: 5.281 kB / 0.5637 GB, free: 146.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/1.04, allocations: 11.38 kB / 0.5637 GB, free: 146.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/1.04, allocations: 13.72 kB / 0.5637 GB, free: 146.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/1.04, allocations: 13.86 kB / 0.5637 GB, free: 146.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.041e-05/1.04, allocations: 104.1 kB / 0.5638 GB, free: 146 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.47e-07/1.04, allocations: 0 / 0.5638 GB, free: 146 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000558/1.04, allocations: 64.91 kB / 0.5639 GB, free: 146 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/1.041, allocations: 144.7 kB / 0.564 GB, free: 145.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004117/1.041, allocations: 173.5 kB / 0.5642 GB, free: 145.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.005e-06/1.041, allocations: 0.8438 kB / 0.5642 GB, free: 145.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.041, allocations: 71.83 kB / 0.5643 GB, free: 145.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/1.042, allocations: 34.78 kB / 0.5643 GB, free: 145.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/1.043, allocations: 315.5 kB / 0.5646 GB, free: 145.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/1.043, allocations: 0.7211 MB / 0.5653 GB, free: 145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/1.043, allocations: 27.89 kB / 0.5653 GB, free: 145 MB / 394.7 MB Notification: Performance of SimCode: time 1.536e-06/1.043, allocations: 0 / 0.5653 GB, free: 145 MB / 394.7 MB Notification: Performance of Templates: time 0.006046/1.049, allocations: 2.723 MB / 0.568 GB, free: 144.8 MB / 394.7 MB