Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.368e-05, allocations: 4 kB / 292.1 MB, free: 8.871 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 50.42 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8367/0.9941, allocations: 273.9 MB / 0.602 GB, free: 84.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.9943, allocations: 66.09 kB / 0.602 GB, free: 84.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03066/1.025, allocations: 9.582 MB / 0.6114 GB, free: 76.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.025, allocations: 0 / 0.6114 GB, free: 76.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/1.025, allocations: 8 kB / 0.6114 GB, free: 76.95 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.0008157/1.026, allocations: 449.7 kB / 0.6118 GB, free: 76.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.026, allocations: 8.031 kB / 0.6118 GB, free: 76.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/1.026, allocations: 27.75 kB / 0.6119 GB, free: 76.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/1.026, allocations: 202.4 kB / 0.6121 GB, free: 76.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/1.026, allocations: 11.28 kB / 0.6121 GB, free: 76.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/1.026, allocations: 23.34 kB / 0.6121 GB, free: 76.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/1.027, allocations: 187.9 kB / 0.6123 GB, free: 76.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.027, allocations: 7.938 kB / 0.6123 GB, free: 76.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/1.027, allocations: 7.188 kB / 0.6123 GB, free: 76.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.807e-06/1.027, allocations: 7.953 kB / 0.6123 GB, free: 76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/1.027, allocations: 125.6 kB / 0.6124 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/1.029, allocations: 0.9445 MB / 0.6133 GB, free: 74.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/1.029, allocations: 119.9 kB / 0.6135 GB, free: 74.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/1.029, allocations: 47.86 kB / 0.6135 GB, free: 74.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/1.03, allocations: 0.5238 MB / 0.614 GB, free: 74.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/1.03, allocations: 30.56 kB / 0.614 GB, free: 74.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.401e-06/1.03, allocations: 3.938 kB / 0.614 GB, free: 74.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001996/1.032, allocations: 0.6185 MB / 0.6146 GB, free: 73.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/1.032, allocations: 59.39 kB / 0.6147 GB, free: 73.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/1.032, allocations: 142.8 kB / 0.6148 GB, free: 73.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/1.032, allocations: 25.7 kB / 0.6149 GB, free: 73.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/1.032, allocations: 209 kB / 0.6151 GB, free: 73.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/1.032, allocations: 78.12 kB / 0.6151 GB, free: 73.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/1.032, allocations: 3.5 kB / 0.6151 GB, free: 73.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/1.032, allocations: 329.8 kB / 0.6155 GB, free: 72.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/1.032, allocations: 65.8 kB / 0.6155 GB, free: 72.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/1.033, allocations: 166 kB / 0.6157 GB, free: 72.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/1.033, allocations: 89.02 kB / 0.6158 GB, free: 72.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.651e-06/1.033, allocations: 0 / 0.6158 GB, free: 72.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005498/1.033, allocations: 276.9 kB / 0.616 GB, free: 72.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.033, allocations: 11.94 kB / 0.616 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.033, allocations: 11.98 kB / 0.6161 GB, free: 72.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.033, allocations: 4 kB / 0.6161 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/1.034, allocations: 88.17 kB / 0.6161 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.034, allocations: 4 kB / 0.6161 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/1.034, allocations: 15.61 kB / 0.6162 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/1.034, allocations: 15.56 kB / 0.6162 GB, free: 72.2 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.938e-05/1.034, allocations: 131 kB / 0.6163 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/1.035, allocations: 19.75 kB / 0.6163 GB, free: 72.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/1.035, allocations: 205.7 kB / 0.6165 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.949e-06/1.035, allocations: 8 kB / 0.6165 GB, free: 71.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.035, allocations: 0 / 0.6165 GB, free: 71.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-06/1.035, allocations: 3.984 kB / 0.6165 GB, free: 71.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.036, allocations: 0.5565 MB / 0.6171 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.036, allocations: 0 / 0.6171 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/1.037, allocations: 47.91 kB / 0.6171 GB, free: 71.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.037, allocations: 4 kB / 0.6171 GB, free: 71.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/1.037, allocations: 11.86 kB / 0.6171 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.703e-06/1.037, allocations: 0 / 0.6171 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.037, allocations: 4 kB / 0.6171 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/1.037, allocations: 399 kB / 0.6175 GB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/1.037, allocations: 85.11 kB / 0.6176 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/1.038, allocations: 15.38 kB / 0.6176 GB, free: 70.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/1.038, allocations: 23.39 kB / 0.6176 GB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/1.038, allocations: 7.984 kB / 0.6176 GB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/1.038, allocations: 15.55 kB / 0.6177 GB, free: 70.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.349e-05/1.038, allocations: 107.6 kB / 0.6178 GB, free: 70.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.038, allocations: 0 / 0.6178 GB, free: 70.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005207/1.039, allocations: 66.88 kB / 0.6178 GB, free: 70.58 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.0002343/1.039, allocations: 151.7 kB / 0.618 GB, free: 70.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000428/1.039, allocations: 174.3 kB / 0.6181 GB, free: 70.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.885e-06/1.039, allocations: 0 / 0.6181 GB, free: 70.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/1.039, allocations: 78.3 kB / 0.6182 GB, free: 70.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/1.04, allocations: 36.84 kB / 0.6182 GB, free: 70.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/1.041, allocations: 308.9 kB / 0.6185 GB, free: 69.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/1.041, allocations: 0.7282 MB / 0.6192 GB, free: 69.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.041, allocations: 39.05 kB / 0.6193 GB, free: 69.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.903e-06/1.041, allocations: 0 / 0.6193 GB, free: 69.12 MB / 442.7 MB Notification: Performance of Templates: time 0.005321/1.046, allocations: 2.739 MB / 0.622 GB, free: 66.4 MB / 442.7 MB