Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 0.9807/0.9807, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.578e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1425, allocations: 25.16 MB / 176.5 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6477, allocations: 208.8 MB / 385.3 MB, free: 62.62 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001499/0.6479, allocations: 57.72 kB / 385.4 MB, free: 62.56 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03066/0.6786, allocations: 9.897 MB / 395.3 MB, free: 52.61 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.941e-06/0.6786, allocations: 0 / 395.3 MB, free: 52.61 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.6787, allocations: 0 / 395.3 MB, free: 52.61 MB / 234.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.0008503/0.6795, allocations: 455 kB / 395.7 MB, free: 52.12 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6796, allocations: 8.031 kB / 395.7 MB, free: 52.11 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.6797, allocations: 23.77 kB / 395.7 MB, free: 52.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.6799, allocations: 210.8 kB / 395.9 MB, free: 51.84 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6799, allocations: 12.28 kB / 395.9 MB, free: 51.83 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.68, allocations: 12 kB / 396 MB, free: 51.82 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.6803, allocations: 200.4 kB / 396.2 MB, free: 51.6 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.6804, allocations: 7.922 kB / 396.2 MB, free: 51.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.6804, allocations: 8 kB / 396.2 MB, free: 51.59 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.231e-06/0.6804, allocations: 7.953 kB / 396.2 MB, free: 51.58 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.6807, allocations: 124.9 kB / 396.3 MB, free: 51.46 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.6821, allocations: 1.149 MB / 397.4 MB, free: 50.18 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.6824, allocations: 122.8 kB / 397.6 MB, free: 50.05 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.6825, allocations: 48.89 kB / 397.6 MB, free: 50 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/0.6831, allocations: 0.6619 MB / 398.3 MB, free: 49.24 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.6832, allocations: 38.5 kB / 398.3 MB, free: 49.2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.919e-06/0.6832, allocations: 0 / 398.3 MB, free: 49.2 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.001909/0.6851, allocations: 0.6308 MB / 398.9 MB, free: 48.51 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.6852, allocations: 59.41 kB / 399 MB, free: 48.44 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.6853, allocations: 138 kB / 399.1 MB, free: 48.29 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.6854, allocations: 29.7 kB / 399.2 MB, free: 48.25 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.6854, allocations: 210.3 kB / 399.4 MB, free: 48.05 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.6855, allocations: 67 kB / 399.4 MB, free: 47.98 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.6855, allocations: 4 kB / 399.4 MB, free: 47.98 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.6856, allocations: 330.8 kB / 399.8 MB, free: 47.64 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.6858, allocations: 67.73 kB / 399.8 MB, free: 47.58 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.686, allocations: 181.8 kB / 400 MB, free: 47.35 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.6862, allocations: 87.34 kB / 400.1 MB, free: 47.27 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.083e-06/0.6862, allocations: 0 / 400.1 MB, free: 47.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005576/0.6868, allocations: 274.9 kB / 400.4 MB, free: 47 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6868, allocations: 12.06 kB / 400.4 MB, free: 46.99 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.686e-06/0.6868, allocations: 4 kB / 400.4 MB, free: 46.98 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6869, allocations: 4 kB / 400.4 MB, free: 46.98 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.6873, allocations: 79.89 kB / 400.5 MB, free: 46.9 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.6873, allocations: 7.984 kB / 400.5 MB, free: 46.89 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.6876, allocations: 16 kB / 400.5 MB, free: 46.88 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.6877, allocations: 19.98 kB / 400.5 MB, free: 46.86 MB / 234.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.463e-05/0.6878, allocations: 128.8 kB / 400.6 MB, free: 46.73 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.6879, allocations: 15.81 kB / 400.6 MB, free: 46.71 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.6884, allocations: 210.2 kB / 400.8 MB, free: 46.5 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.6884, allocations: 4 kB / 400.9 MB, free: 46.5 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-06/0.6885, allocations: 0 / 400.9 MB, free: 46.5 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.307e-06/0.6885, allocations: 0 / 400.9 MB, free: 46.5 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.6898, allocations: 0.5574 MB / 401.4 MB, free: 45.88 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.727e-06/0.6898, allocations: 7.984 kB / 401.4 MB, free: 45.87 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.6902, allocations: 51.91 kB / 401.5 MB, free: 45.82 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.725e-06/0.6902, allocations: 4 kB / 401.5 MB, free: 45.81 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.6903, allocations: 8.109 kB / 401.5 MB, free: 45.8 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.415e-06/0.6903, allocations: 11.98 kB / 401.5 MB, free: 45.79 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.747e-06/0.6903, allocations: 0 / 401.5 MB, free: 45.79 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.6909, allocations: 406.6 kB / 401.9 MB, free: 45.34 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.691, allocations: 85.05 kB / 402 MB, free: 45.24 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.691, allocations: 8 kB / 402 MB, free: 45.23 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.6914, allocations: 19.89 kB / 402 MB, free: 45.21 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.6914, allocations: 7.984 kB / 402 MB, free: 45.21 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.6915, allocations: 16.05 kB / 402 MB, free: 45.19 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.241e-05/0.6916, allocations: 111.3 kB / 402.1 MB, free: 45.08 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.6916, allocations: 0 / 402.1 MB, free: 45.08 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.6921, allocations: 71.94 kB / 402.2 MB, free: 45.01 MB / 234.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.0002467/0.6924, allocations: 159.6 kB / 402.4 MB, free: 44.84 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.6928, allocations: 173.2 kB / 402.5 MB, free: 44.68 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.441e-06/0.6928, allocations: 0.9375 kB / 402.5 MB, free: 44.68 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.693, allocations: 79.92 kB / 402.6 MB, free: 44.6 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.6934, allocations: 36.61 kB / 402.6 MB, free: 44.56 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.6942, allocations: 319.8 kB / 403 MB, free: 44.21 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.6944, allocations: 0.7246 MB / 403.7 MB, free: 43.46 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.6945, allocations: 27.42 kB / 403.7 MB, free: 43.43 MB / 234.7 MB Notification: Performance of SimCode: time 1.488e-06/0.6945, allocations: 4 kB / 403.7 MB, free: 43.43 MB / 234.7 MB Notification: Performance of Templates: time 0.005334/0.6999, allocations: 2.821 MB / 406.5 MB, free: 40.61 MB / 234.7 MB