Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.598/1.598, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.83e-05, allocations: 0 / 225 MB, free: 2.84 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2165, allocations: 38.77 MB / 263.7 MB, free: 9.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6947/0.9112, allocations: 263.1 MB / 0.5145 GB, free: 104.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.9115, allocations: 64.22 kB / 0.5145 GB, free: 104.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03173/0.9432, allocations: 9.337 MB / 0.5237 GB, free: 102.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.352e-06/0.9433, allocations: 0 / 0.5237 GB, free: 102.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.9433, allocations: 0 / 0.5237 GB, free: 102.8 MB / 362.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.0008308/0.9441, allocations: 453 kB / 0.5241 GB, free: 102.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.9442, allocations: 7.906 kB / 0.5241 GB, free: 102.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.9445, allocations: 27.47 kB / 0.5241 GB, free: 102.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.9447, allocations: 205.6 kB / 0.5243 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.9447, allocations: 7.406 kB / 0.5243 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.9448, allocations: 19.25 kB / 0.5244 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.9451, allocations: 204.3 kB / 0.5245 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.9452, allocations: 0 / 0.5245 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.9452, allocations: 11.69 kB / 0.5246 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.469e-06/0.9452, allocations: 3.938 kB / 0.5246 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.9455, allocations: 117.8 kB / 0.5247 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.9469, allocations: 0.9485 MB / 0.5256 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.9472, allocations: 132 kB / 0.5257 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.9474, allocations: 43.95 kB / 0.5258 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/0.9479, allocations: 0.5121 MB / 0.5263 GB, free: 100.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.948, allocations: 30.56 kB / 0.5263 GB, free: 100.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.95e-06/0.948, allocations: 0 / 0.5263 GB, free: 100.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002044/0.95, allocations: 0.6306 MB / 0.5269 GB, free: 100.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.9501, allocations: 55.34 kB / 0.527 GB, free: 100.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.9503, allocations: 148.9 kB / 0.5271 GB, free: 100.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.9503, allocations: 29.64 kB / 0.5271 GB, free: 100.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.9504, allocations: 212.3 kB / 0.5273 GB, free: 100.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.9504, allocations: 64.78 kB / 0.5274 GB, free: 100.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.9505, allocations: 3.875 kB / 0.5274 GB, free: 100.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.9505, allocations: 330.3 kB / 0.5277 GB, free: 99.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.9507, allocations: 62.58 kB / 0.5278 GB, free: 99.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.9509, allocations: 176.5 kB / 0.528 GB, free: 99.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.9511, allocations: 85.09 kB / 0.528 GB, free: 99.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.455e-06/0.9511, allocations: 7.906 kB / 0.528 GB, free: 99.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005901/0.9517, allocations: 272.8 kB / 0.5283 GB, free: 99.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9518, allocations: 3.938 kB / 0.5283 GB, free: 99.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.9518, allocations: 4.375 kB / 0.5283 GB, free: 99.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.9518, allocations: 11.81 kB / 0.5283 GB, free: 99.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.9523, allocations: 78.73 kB / 0.5284 GB, free: 99.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.9524, allocations: 14.8 kB / 0.5284 GB, free: 99.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.9527, allocations: 22.55 kB / 0.5284 GB, free: 99.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.9527, allocations: 19.66 kB / 0.5284 GB, free: 99.51 MB / 362.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.765e-05/0.9528, allocations: 120.4 kB / 0.5286 GB, free: 99.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.9529, allocations: 15.78 kB / 0.5286 GB, free: 99.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005431/0.9535, allocations: 208.5 kB / 0.5288 GB, free: 99.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.136e-06/0.9535, allocations: 7.844 kB / 0.5288 GB, free: 99.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.9535, allocations: 0 / 0.5288 GB, free: 99.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.715e-06/0.9535, allocations: 0 / 0.5288 GB, free: 99.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.9548, allocations: 0.5638 MB / 0.5293 GB, free: 98.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.905e-06/0.9548, allocations: 0 / 0.5293 GB, free: 98.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.9553, allocations: 52.84 kB / 0.5294 GB, free: 98.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.366e-06/0.9553, allocations: 0 / 0.5294 GB, free: 98.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.9553, allocations: 10.73 kB / 0.5294 GB, free: 98.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.768e-06/0.9553, allocations: 11.91 kB / 0.5294 GB, free: 98.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.714e-06/0.9554, allocations: 4.125 kB / 0.5294 GB, free: 98.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.956, allocations: 399.2 kB / 0.5298 GB, free: 98.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.956, allocations: 99.88 kB / 0.5299 GB, free: 98.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.9561, allocations: 3.938 kB / 0.5299 GB, free: 98.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.9564, allocations: 14.66 kB / 0.5299 GB, free: 98.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.9565, allocations: 14.67 kB / 0.5299 GB, free: 98.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.9565, allocations: 7.203 kB / 0.5299 GB, free: 98.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.9566, allocations: 115.8 kB / 0.53 GB, free: 98.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.9566, allocations: 0 / 0.53 GB, free: 98.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.9572, allocations: 66.44 kB / 0.5301 GB, free: 98.53 MB / 362.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.0002381/0.9574, allocations: 147.9 kB / 0.5302 GB, free: 98.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.9579, allocations: 182.2 kB / 0.5304 GB, free: 98.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9579, allocations: 0.9375 kB / 0.5304 GB, free: 98.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.9581, allocations: 71.8 kB / 0.5305 GB, free: 98.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.9585, allocations: 32.5 kB / 0.5305 GB, free: 98.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.9593, allocations: 326.1 kB / 0.5308 GB, free: 98.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.9595, allocations: 0.7217 MB / 0.5315 GB, free: 97.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.9597, allocations: 26.39 kB / 0.5316 GB, free: 97.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.265e-06/0.9597, allocations: 0 / 0.5316 GB, free: 97.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005372/0.965, allocations: 2.71 MB / 0.5342 GB, free: 97.24 MB / 362.7 MB