Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.788/1.788, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.532e-05, allocations: 0 / 255.4 MB, free: 2.746 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07837, allocations: 44.5 MB / 299.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.773/0.8515, allocations: 268.4 MB / 0.555 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001684/0.8517, allocations: 63.08 kB / 0.555 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02965/0.8813, allocations: 9.315 MB / 0.5641 GB, free: 109.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.011e-06/0.8814, allocations: 0 / 0.5641 GB, free: 109.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.8814, allocations: 3.938 kB / 0.5641 GB, free: 109.1 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007766/0.8822, allocations: 452.8 kB / 0.5645 GB, free: 108.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.8822, allocations: 7.625 kB / 0.5646 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.8825, allocations: 27.16 kB / 0.5646 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.8827, allocations: 219.7 kB / 0.5648 GB, free: 108.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.8828, allocations: 11.44 kB / 0.5648 GB, free: 108.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.8828, allocations: 15.16 kB / 0.5648 GB, free: 108.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.8832, allocations: 200.9 kB / 0.565 GB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.8832, allocations: 3.938 kB / 0.565 GB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.8832, allocations: 11 kB / 0.565 GB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.8833, allocations: 3.875 kB / 0.565 GB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.8835, allocations: 117.1 kB / 0.5651 GB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.8848, allocations: 0.941 MB / 0.5661 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.8851, allocations: 126.1 kB / 0.5662 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.8853, allocations: 48.39 kB / 0.5662 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/0.8858, allocations: 0.508 MB / 0.5667 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.8858, allocations: 38.45 kB / 0.5668 GB, free: 107 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.879e-06/0.8858, allocations: 0 / 0.5668 GB, free: 107 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001891/0.8877, allocations: 0.6336 MB / 0.5674 GB, free: 106.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.8878, allocations: 59.16 kB / 0.5674 GB, free: 106.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.8879, allocations: 143.3 kB / 0.5676 GB, free: 106.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.888, allocations: 29.45 kB / 0.5676 GB, free: 106.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.888, allocations: 137.4 kB / 0.5677 GB, free: 106.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.8881, allocations: 74.08 kB / 0.5678 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.8881, allocations: 7.75 kB / 0.5678 GB, free: 106.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.8882, allocations: 322 kB / 0.5681 GB, free: 106 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.8883, allocations: 68.42 kB / 0.5682 GB, free: 105.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.8885, allocations: 169.5 kB / 0.5683 GB, free: 105.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.8887, allocations: 91.77 kB / 0.5684 GB, free: 105.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-06/0.8888, allocations: 0 / 0.5684 GB, free: 105.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005509/0.8893, allocations: 271.8 kB / 0.5687 GB, free: 105.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8893, allocations: 13 kB / 0.5687 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.602e-06/0.8894, allocations: 3.75 kB / 0.5687 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.8894, allocations: 11.61 kB / 0.5687 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.8899, allocations: 81.06 kB / 0.5688 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.8899, allocations: 3.875 kB / 0.5688 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.8902, allocations: 19.48 kB / 0.5688 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.8902, allocations: 19.25 kB / 0.5688 GB, free: 105.7 MB / 410.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 8.768e-05/0.8903, allocations: 124.4 kB / 0.5689 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.8904, allocations: 15.44 kB / 0.569 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.8909, allocations: 207.8 kB / 0.5692 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.822e-06/0.8909, allocations: 7.203 kB / 0.5692 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.902e-06/0.891, allocations: 0 / 0.5692 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-06/0.891, allocations: 0 / 0.5692 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.8922, allocations: 0.5654 MB / 0.5697 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.032e-06/0.8922, allocations: 0 / 0.5697 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.8927, allocations: 55.05 kB / 0.5698 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.098e-06/0.8927, allocations: 0 / 0.5698 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.8927, allocations: 15.52 kB / 0.5698 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.8928, allocations: 3.938 kB / 0.5698 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.869e-06/0.8928, allocations: 0 / 0.5698 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.8933, allocations: 403.2 kB / 0.5702 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.8934, allocations: 96.73 kB / 0.5703 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.8935, allocations: 3.812 kB / 0.5703 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.8938, allocations: 15.55 kB / 0.5703 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.8938, allocations: 19.31 kB / 0.5703 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.8939, allocations: 19.39 kB / 0.5703 GB, free: 104.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.277e-05/0.8939, allocations: 105.6 kB / 0.5704 GB, free: 104.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.894, allocations: 0 / 0.5704 GB, free: 104.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00054/0.8945, allocations: 67.64 kB / 0.5705 GB, free: 104.5 MB / 410.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.0002043/0.8947, allocations: 140.9 kB / 0.5706 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.8951, allocations: 174.8 kB / 0.5708 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.252e-06/0.8951, allocations: 0 / 0.5708 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.8953, allocations: 76.48 kB / 0.5709 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.8957, allocations: 36.84 kB / 0.5709 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007333/0.8964, allocations: 300.2 kB / 0.5712 GB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.8966, allocations: 0.7197 MB / 0.5719 GB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003945/0.897, allocations: 45.36 kB / 0.5719 GB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.8971, allocations: 30.77 kB / 0.572 GB, free: 103.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.585e-06/0.8971, allocations: 0 / 0.572 GB, free: 103.4 MB / 410.7 MB Notification: Performance of Templates: time 0.007119/0.9043, allocations: 2.788 MB / 0.5747 GB, free: 102 MB / 410.7 MB