Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.637e-05, allocations: 0 / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09875, allocations: 50.41 MB / 342.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8169/0.9157, allocations: 273.8 MB / 0.6019 GB, free: 84.99 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.9159, allocations: 67.41 kB / 0.602 GB, free: 84.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03036/0.9463, allocations: 9.58 MB / 0.6114 GB, free: 77.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.968e-06/0.9463, allocations: 0 / 0.6114 GB, free: 77.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.9464, allocations: 7.938 kB / 0.6114 GB, free: 77.07 MB / 442.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.0008016/0.9472, allocations: 449.8 kB / 0.6118 GB, free: 76.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.9472, allocations: 12.03 kB / 0.6118 GB, free: 76.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.9475, allocations: 27.33 kB / 0.6118 GB, free: 76.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.9477, allocations: 201.8 kB / 0.612 GB, free: 76.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.9477, allocations: 15.91 kB / 0.612 GB, free: 76.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.9478, allocations: 18.53 kB / 0.612 GB, free: 76.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.9482, allocations: 193.4 kB / 0.6122 GB, free: 76.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.9482, allocations: 0 / 0.6122 GB, free: 76.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.9482, allocations: 11.23 kB / 0.6122 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.894e-06/0.9483, allocations: 15.89 kB / 0.6123 GB, free: 76.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.9485, allocations: 124.3 kB / 0.6124 GB, free: 76.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.9499, allocations: 0.9344 MB / 0.6133 GB, free: 75.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.9502, allocations: 124 kB / 0.6134 GB, free: 75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.9503, allocations: 43.73 kB / 0.6135 GB, free: 74.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.9509, allocations: 0.5243 MB / 0.614 GB, free: 74.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.951, allocations: 34.56 kB / 0.614 GB, free: 74.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.04e-06/0.951, allocations: 0 / 0.614 GB, free: 74.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001927/0.9529, allocations: 0.6295 MB / 0.6146 GB, free: 73.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.953, allocations: 51.41 kB / 0.6147 GB, free: 73.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.9531, allocations: 142.7 kB / 0.6148 GB, free: 73.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.9532, allocations: 37.08 kB / 0.6148 GB, free: 73.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.9532, allocations: 134.8 kB / 0.615 GB, free: 73.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.9533, allocations: 77.44 kB / 0.615 GB, free: 73.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.9533, allocations: 3.75 kB / 0.615 GB, free: 73.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.9534, allocations: 330.3 kB / 0.6154 GB, free: 73.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.9536, allocations: 61.94 kB / 0.6154 GB, free: 72.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.9538, allocations: 166.1 kB / 0.6156 GB, free: 72.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.954, allocations: 89.41 kB / 0.6157 GB, free: 72.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.344e-06/0.954, allocations: 4 kB / 0.6157 GB, free: 72.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005475/0.9546, allocations: 273.4 kB / 0.6159 GB, free: 72.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.9546, allocations: 8 kB / 0.6159 GB, free: 72.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.314e-06/0.9546, allocations: 4 kB / 0.6159 GB, free: 72.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.9546, allocations: 4.469 kB / 0.6159 GB, free: 72.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.9551, allocations: 87.81 kB / 0.616 GB, free: 72.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.9552, allocations: 8 kB / 0.616 GB, free: 72.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.9555, allocations: 18.92 kB / 0.616 GB, free: 72.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.9555, allocations: 12 kB / 0.6161 GB, free: 72.39 MB / 442.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 9.769e-05/0.9556, allocations: 131.5 kB / 0.6162 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.9557, allocations: 19.75 kB / 0.6162 GB, free: 72.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.9562, allocations: 210.4 kB / 0.6164 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.916e-06/0.9563, allocations: 4 kB / 0.6164 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.691e-06/0.9563, allocations: 0 / 0.6164 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.243e-06/0.9563, allocations: 0 / 0.6164 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.9575, allocations: 0.5597 MB / 0.617 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.428e-06/0.9575, allocations: 0 / 0.617 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.9579, allocations: 47.95 kB / 0.617 GB, free: 71.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.876e-06/0.9579, allocations: 4 kB / 0.617 GB, free: 71.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.958, allocations: 11.62 kB / 0.617 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.464e-06/0.958, allocations: 3.984 kB / 0.617 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.85e-06/0.958, allocations: 0 / 0.617 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.9586, allocations: 405.9 kB / 0.6174 GB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.9586, allocations: 92.94 kB / 0.6175 GB, free: 70.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.9587, allocations: 7.375 kB / 0.6175 GB, free: 70.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.959, allocations: 19.92 kB / 0.6175 GB, free: 70.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.9591, allocations: 15.42 kB / 0.6175 GB, free: 70.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.9591, allocations: 8 kB / 0.6175 GB, free: 70.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.179e-05/0.9592, allocations: 112.1 kB / 0.6176 GB, free: 70.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.9592, allocations: 4.062 kB / 0.6177 GB, free: 70.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005279/0.9597, allocations: 67.3 kB / 0.6177 GB, free: 70.76 MB / 442.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.0002261/0.96, allocations: 147.8 kB / 0.6179 GB, free: 70.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.9604, allocations: 179.6 kB / 0.618 GB, free: 70.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.088e-06/0.9604, allocations: 4 kB / 0.618 GB, free: 70.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.9606, allocations: 74.48 kB / 0.6181 GB, free: 70.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.961, allocations: 36.3 kB / 0.6181 GB, free: 70.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.9618, allocations: 290.1 kB / 0.6184 GB, free: 70.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.962, allocations: 0.7165 MB / 0.6191 GB, free: 69.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.9624, allocations: 46.06 kB / 0.6192 GB, free: 69.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.9625, allocations: 23.42 kB / 0.6192 GB, free: 69.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.735e-06/0.9625, allocations: 0 / 0.6192 GB, free: 69.3 MB / 442.7 MB Notification: Performance of Templates: time 0.00753/0.97, allocations: 2.806 MB / 0.6219 GB, free: 66.53 MB / 442.7 MB