Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.842/1.842, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.8e-05, allocations: 0 / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09509, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.238, allocations: 438 MB / 0.7206 GB, free: 107 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/1.238, allocations: 67.19 kB / 0.7206 GB, free: 107 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07654/1.315, allocations: 24.81 MB / 0.7449 GB, free: 91.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.065e-06/1.315, allocations: 0 / 0.7449 GB, free: 91.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.551e-06/1.315, allocations: 0 / 0.7449 GB, free: 91.4 MB / 410.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.000815/1.316, allocations: 429.7 kB / 0.7453 GB, free: 90.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.316, allocations: 8.031 kB / 0.7453 GB, free: 90.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006333/1.322, allocations: 465.1 kB / 0.7457 GB, free: 90.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.524e-05/1.322, allocations: 163 kB / 0.7459 GB, free: 90.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/1.322, allocations: 4 kB / 0.7459 GB, free: 90.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.322, allocations: 7.625 kB / 0.7459 GB, free: 90.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/1.323, allocations: 265.8 kB / 0.7461 GB, free: 90.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.323, allocations: 4 kB / 0.7461 GB, free: 90.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/1.323, allocations: 7.703 kB / 0.7461 GB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.323, allocations: 0 / 0.7461 GB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/1.324, allocations: 230.1 kB / 0.7464 GB, free: 89.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/1.325, allocations: 419.3 kB / 0.7468 GB, free: 89.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009198/1.326, allocations: 193.2 kB / 0.7469 GB, free: 89.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/1.326, allocations: 59.03 kB / 0.747 GB, free: 89.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/1.326, allocations: 0 / 0.747 GB, free: 89.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/1.326, allocations: 42.19 kB / 0.747 GB, free: 89.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.4e-06/1.326, allocations: 0 / 0.747 GB, free: 89.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.00132/1.327, allocations: 313.2 kB / 0.7473 GB, free: 89.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/1.327, allocations: 55.36 kB / 0.7474 GB, free: 88.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/1.327, allocations: 100.6 kB / 0.7475 GB, free: 88.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.327, allocations: 29.33 kB / 0.7475 GB, free: 88.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/1.327, allocations: 162.3 kB / 0.7477 GB, free: 88.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/1.327, allocations: 58.31 kB / 0.7477 GB, free: 88.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/1.327, allocations: 7.625 kB / 0.7477 GB, free: 88.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/1.327, allocations: 322.5 kB / 0.748 GB, free: 88.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/1.328, allocations: 53.81 kB / 0.7481 GB, free: 88.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/1.328, allocations: 104.8 kB / 0.7482 GB, free: 88.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/1.328, allocations: 72.11 kB / 0.7483 GB, free: 88.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-06/1.328, allocations: 4 kB / 0.7483 GB, free: 88.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004751/1.329, allocations: 197.3 kB / 0.7485 GB, free: 87.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.329, allocations: 4 kB / 0.7485 GB, free: 87.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/1.329, allocations: 4 kB / 0.7485 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.329, allocations: 0 / 0.7485 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/1.329, allocations: 51.89 kB / 0.7485 GB, free: 87.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.966e-06/1.329, allocations: 8.125 kB / 0.7485 GB, free: 87.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/1.329, allocations: 19.38 kB / 0.7485 GB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/1.329, allocations: 11.98 kB / 0.7486 GB, free: 87.9 MB / 410.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 8.509e-05/1.33, allocations: 115.9 kB / 0.7487 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/1.33, allocations: 7.906 kB / 0.7487 GB, free: 87.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/1.33, allocations: 239.4 kB / 0.7489 GB, free: 87.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-06/1.33, allocations: 0 / 0.7489 GB, free: 87.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.27e-06/1.33, allocations: 0 / 0.7489 GB, free: 87.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.33, allocations: 0 / 0.7489 GB, free: 87.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/1.331, allocations: 0.5369 MB / 0.7494 GB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.882e-06/1.331, allocations: 0 / 0.7494 GB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/1.332, allocations: 51.84 kB / 0.7495 GB, free: 87.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.699e-06/1.332, allocations: 7.938 kB / 0.7495 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/1.332, allocations: 7.688 kB / 0.7495 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.788e-06/1.332, allocations: 4 kB / 0.7495 GB, free: 87.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.418e-06/1.332, allocations: 0 / 0.7495 GB, free: 87.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/1.332, allocations: 318.6 kB / 0.7498 GB, free: 86.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/1.332, allocations: 85.02 kB / 0.7499 GB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/1.332, allocations: 0 / 0.7499 GB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/1.333, allocations: 23.8 kB / 0.7499 GB, free: 86.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/1.333, allocations: 7.984 kB / 0.7499 GB, free: 86.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/1.333, allocations: 15.67 kB / 0.7499 GB, free: 86.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.861e-05/1.333, allocations: 79.28 kB / 0.75 GB, free: 86.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.76e-07/1.333, allocations: 3.938 kB / 0.75 GB, free: 86.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005504/1.334, allocations: 79.55 kB / 0.7501 GB, free: 86.44 MB / 410.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 (18): * Single equations (assignments): 18 * 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.0006461/1.334, allocations: 0.5159 MB / 0.7506 GB, free: 85.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004047/1.335, allocations: 154.9 kB / 0.7507 GB, free: 85.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.4e-06/1.335, allocations: 0 / 0.7507 GB, free: 85.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/1.335, allocations: 84.97 kB / 0.7508 GB, free: 85.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/1.335, allocations: 39.55 kB / 0.7508 GB, free: 85.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/1.336, allocations: 198.5 kB / 0.751 GB, free: 85.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/1.336, allocations: 0.6974 MB / 0.7517 GB, free: 84.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.336, allocations: 35.03 kB / 0.7518 GB, free: 84.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.486e-06/1.336, allocations: 4 kB / 0.7518 GB, free: 84.76 MB / 410.7 MB Notification: Performance of Templates: time 0.007396/1.344, allocations: 4.855 MB / 0.7565 GB, free: 79.9 MB / 410.7 MB