Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.916e-05, allocations: 2.188 kB / 292.7 MB, free: 8.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.0911, allocations: 50.42 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8089/0.9, allocations: 273.8 MB / 0.6024 GB, free: 85.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.9003, allocations: 64.97 kB / 0.6025 GB, free: 85.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04151/0.9418, allocations: 9.584 MB / 0.6119 GB, free: 77.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.265e-06/0.9419, allocations: 0 / 0.6119 GB, free: 77.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.9419, allocations: 0 / 0.6119 GB, free: 77.22 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.001349/0.9433, allocations: 454 kB / 0.6123 GB, free: 76.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.9433, allocations: 8.031 kB / 0.6123 GB, free: 76.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.9438, allocations: 27.77 kB / 0.6123 GB, free: 76.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.9441, allocations: 202.1 kB / 0.6125 GB, free: 76.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.9441, allocations: 15.66 kB / 0.6125 GB, free: 76.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.9442, allocations: 23.39 kB / 0.6126 GB, free: 76.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.9449, allocations: 193.9 kB / 0.6127 GB, free: 76.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.9449, allocations: 4 kB / 0.6128 GB, free: 76.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.945, allocations: 10.75 kB / 0.6128 GB, free: 76.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.945, allocations: 7.953 kB / 0.6128 GB, free: 76.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.9455, allocations: 121.4 kB / 0.6129 GB, free: 76.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.9478, allocations: 0.9344 MB / 0.6138 GB, free: 75.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.9484, allocations: 127.2 kB / 0.6139 GB, free: 75.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.9486, allocations: 46.91 kB / 0.614 GB, free: 75.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009532/0.9496, allocations: 0.5166 MB / 0.6145 GB, free: 74.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.9497, allocations: 30.56 kB / 0.6145 GB, free: 74.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 5.285e-06/0.9497, allocations: 0 / 0.6145 GB, free: 74.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.003969/0.9537, allocations: 0.6292 MB / 0.6151 GB, free: 73.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.9538, allocations: 51.41 kB / 0.6152 GB, free: 73.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.954, allocations: 154.6 kB / 0.6153 GB, free: 73.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.9541, allocations: 29.27 kB / 0.6153 GB, free: 73.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.9543, allocations: 135 kB / 0.6155 GB, free: 73.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.9544, allocations: 81.86 kB / 0.6155 GB, free: 73.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.9545, allocations: 3.75 kB / 0.6155 GB, free: 73.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.9546, allocations: 326.2 kB / 0.6159 GB, free: 73.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.9549, allocations: 69.23 kB / 0.6159 GB, free: 73.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.9554, allocations: 162.6 kB / 0.6161 GB, free: 72.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.9558, allocations: 93.39 kB / 0.6162 GB, free: 72.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.422e-06/0.9558, allocations: 4 kB / 0.6162 GB, free: 72.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001153/0.957, allocations: 266.4 kB / 0.6164 GB, free: 72.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.9571, allocations: 8.469 kB / 0.6164 GB, free: 72.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.9571, allocations: 4 kB / 0.6164 GB, free: 72.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/0.9572, allocations: 12 kB / 0.6164 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.9582, allocations: 87.44 kB / 0.6165 GB, free: 72.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.9583, allocations: 8 kB / 0.6165 GB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.9587, allocations: 15.55 kB / 0.6166 GB, free: 72.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.9588, allocations: 15.75 kB / 0.6166 GB, free: 72.53 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 0.0001094/0.9589, allocations: 123.6 kB / 0.6167 GB, free: 72.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.959, allocations: 19.75 kB / 0.6167 GB, free: 72.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.9596, allocations: 217.6 kB / 0.6169 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-06/0.9596, allocations: 4 kB / 0.6169 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.9596, allocations: 0 / 0.6169 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.393e-06/0.9596, allocations: 0 / 0.6169 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.9609, allocations: 0.551 MB / 0.6175 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.165e-06/0.9609, allocations: 4 kB / 0.6175 GB, free: 71.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.9613, allocations: 47.95 kB / 0.6175 GB, free: 71.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.9613, allocations: 7.984 kB / 0.6175 GB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.9614, allocations: 7.547 kB / 0.6175 GB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.73e-06/0.9614, allocations: 4.125 kB / 0.6175 GB, free: 71.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.9614, allocations: 7.938 kB / 0.6175 GB, free: 71.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.962, allocations: 406.5 kB / 0.6179 GB, free: 71.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.9622, allocations: 88.92 kB / 0.618 GB, free: 71.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.9622, allocations: 4 kB / 0.618 GB, free: 71.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.9626, allocations: 15.86 kB / 0.618 GB, free: 71.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.9626, allocations: 15.92 kB / 0.618 GB, free: 71.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.9627, allocations: 15.92 kB / 0.6181 GB, free: 71.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.578e-05/0.9628, allocations: 112.6 kB / 0.6182 GB, free: 70.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.9628, allocations: 0 / 0.6182 GB, free: 70.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005886/0.9634, allocations: 66.75 kB / 0.6182 GB, free: 70.91 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.0002353/0.9636, allocations: 138.8 kB / 0.6184 GB, free: 70.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.9641, allocations: 179.1 kB / 0.6185 GB, free: 70.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.9641, allocations: 0.9375 kB / 0.6185 GB, free: 70.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.9643, allocations: 77.42 kB / 0.6186 GB, free: 70.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.9647, allocations: 39.22 kB / 0.6186 GB, free: 70.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008352/0.9655, allocations: 292.4 kB / 0.6189 GB, free: 70.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.9657, allocations: 0.7165 MB / 0.6196 GB, free: 69.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004025/0.9662, allocations: 50.05 kB / 0.6197 GB, free: 69.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.9663, allocations: 23.42 kB / 0.6197 GB, free: 69.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.595e-06/0.9663, allocations: 4 kB / 0.6197 GB, free: 69.44 MB / 442.7 MB Notification: Performance of Templates: time 0.007847/0.9742, allocations: 2.792 MB / 0.6224 GB, free: 66.68 MB / 442.7 MB