Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 0.9903/0.9903, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.764e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 25.16 MB / 176.5 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6825/0.826, allocations: 290.8 MB / 467.3 MB, free: 71.19 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000152/0.8262, allocations: 55.97 kB / 467.4 MB, free: 71.13 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07882/0.905, allocations: 25.96 MB / 493.3 MB, free: 45.07 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.9051, allocations: 4 kB / 493.3 MB, free: 45.07 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.941e-06/0.9051, allocations: 4 kB / 493.3 MB, free: 45.07 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007592/0.9059, allocations: 426.2 kB / 493.7 MB, free: 44.61 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.9059, allocations: 8.031 kB / 493.7 MB, free: 44.6 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.906, allocations: 7.906 kB / 493.8 MB, free: 44.59 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.232e-05/0.9061, allocations: 171 kB / 493.9 MB, free: 44.38 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.9061, allocations: 8 kB / 493.9 MB, free: 44.38 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.9061, allocations: 11.98 kB / 493.9 MB, free: 44.36 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.9063, allocations: 101.6 kB / 494 MB, free: 44.26 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.9064, allocations: 3.906 kB / 494 MB, free: 44.25 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.9064, allocations: 4 kB / 494 MB, free: 44.25 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-06/0.9064, allocations: 11.92 kB / 494.1 MB, free: 44.24 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.9066, allocations: 127.9 kB / 494.2 MB, free: 44.11 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.9072, allocations: 368.6 kB / 494.5 MB, free: 43.7 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.9079, allocations: 142.4 kB / 494.7 MB, free: 43.55 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.908, allocations: 36.86 kB / 494.7 MB, free: 43.52 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009931/0.909, allocations: 1.039 MB / 495.8 MB, free: 42.3 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.9091, allocations: 30.56 kB / 495.8 MB, free: 42.27 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.569e-06/0.9091, allocations: 0 / 495.8 MB, free: 42.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001108/0.9102, allocations: 250.1 kB / 496 MB, free: 42.02 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.9103, allocations: 51.41 kB / 496.1 MB, free: 41.95 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.9103, allocations: 89 kB / 496.2 MB, free: 41.86 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.9104, allocations: 33.7 kB / 496.2 MB, free: 41.82 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.9104, allocations: 166.9 kB / 496.4 MB, free: 41.66 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.9105, allocations: 63.09 kB / 496.4 MB, free: 41.59 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.9105, allocations: 4 kB / 496.4 MB, free: 41.59 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.9105, allocations: 322.8 kB / 496.7 MB, free: 41.27 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.9107, allocations: 44.3 kB / 496.8 MB, free: 41.22 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.9108, allocations: 72.84 kB / 496.9 MB, free: 41.13 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.9109, allocations: 42.64 kB / 496.9 MB, free: 41.09 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.525e-06/0.9109, allocations: 7.953 kB / 496.9 MB, free: 41.09 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003626/0.9113, allocations: 161.4 kB / 497.1 MB, free: 40.92 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9113, allocations: 8 kB / 497.1 MB, free: 40.91 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.025e-06/0.9113, allocations: 0 / 497.1 MB, free: 40.91 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.9114, allocations: 4 kB / 497.1 MB, free: 40.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.9117, allocations: 47.91 kB / 497.1 MB, free: 40.86 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.9117, allocations: 7.984 kB / 497.1 MB, free: 40.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.9119, allocations: 8.125 kB / 497.1 MB, free: 40.85 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.9119, allocations: 19.92 kB / 497.2 MB, free: 40.83 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 6.596e-05/0.912, allocations: 105 kB / 497.3 MB, free: 40.72 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.9121, allocations: 15.86 kB / 497.3 MB, free: 40.7 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.9126, allocations: 183.9 kB / 497.5 MB, free: 40.52 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.9126, allocations: 8 kB / 497.5 MB, free: 40.52 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-06/0.9126, allocations: 0 / 497.5 MB, free: 40.52 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.007e-06/0.9126, allocations: 3.938 kB / 497.5 MB, free: 40.51 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.9135, allocations: 468.7 kB / 497.9 MB, free: 39.99 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-06/0.9135, allocations: 0 / 497.9 MB, free: 39.99 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.9138, allocations: 47.95 kB / 498 MB, free: 39.95 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.541e-06/0.9138, allocations: 4 kB / 498 MB, free: 39.94 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.9138, allocations: 4 kB / 498 MB, free: 39.94 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.281e-06/0.9138, allocations: 4 kB / 498 MB, free: 39.93 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.179e-06/0.9138, allocations: 0 / 498 MB, free: 39.93 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.9142, allocations: 270.4 kB / 498.2 MB, free: 39.64 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.9142, allocations: 85.02 kB / 498.3 MB, free: 39.54 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.9142, allocations: 4 kB / 498.3 MB, free: 39.53 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.9144, allocations: 15.94 kB / 498.4 MB, free: 39.52 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.9145, allocations: 16.11 kB / 498.4 MB, free: 39.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.9145, allocations: 4 kB / 498.4 MB, free: 39.5 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.191e-05/0.9146, allocations: 87.25 kB / 498.5 MB, free: 39.41 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.9146, allocations: 4 kB / 498.5 MB, free: 39.41 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00065/0.9152, allocations: 115.9 kB / 498.6 MB, free: 39.29 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0009133/0.9162, allocations: 0.5949 MB / 499.2 MB, free: 38.7 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.9165, allocations: 115.8 kB / 499.3 MB, free: 38.58 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.753e-06/0.9165, allocations: 0 / 499.3 MB, free: 38.58 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.9166, allocations: 55.92 kB / 499.3 MB, free: 38.53 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.917, allocations: 33.75 kB / 499.4 MB, free: 38.5 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.9175, allocations: 175.1 kB / 499.5 MB, free: 38.29 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.9176, allocations: 0.6934 MB / 0.4885 GB, free: 37.57 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.9178, allocations: 31.41 kB / 0.4885 GB, free: 37.54 MB / 234.7 MB Notification: Performance of SimCode: time 1.443e-06/0.9178, allocations: 0 / 0.4885 GB, free: 37.54 MB / 234.7 MB Notification: Performance of Templates: time 0.008489/0.9263, allocations: 5.618 MB / 0.494 GB, free: 31.93 MB / 234.7 MB