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.817/1.817, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.691e-05, allocations: 3.812 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08099, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.211, allocations: 438 MB / 0.7205 GB, free: 106.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/1.211, allocations: 63.16 kB / 0.7206 GB, free: 106.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07743/1.288, allocations: 24.81 MB / 0.7448 GB, free: 91.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.786e-06/1.288, allocations: 0 / 0.7448 GB, free: 91.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.038e-06/1.288, allocations: 0 / 0.7448 GB, free: 91.48 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.0008309/1.289, allocations: 433.3 kB / 0.7452 GB, free: 91.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.289, allocations: 12.03 kB / 0.7452 GB, free: 91.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/1.296, allocations: 456 kB / 0.7457 GB, free: 90.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/1.296, allocations: 159.1 kB / 0.7458 GB, free: 90.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.296, allocations: 7.5 kB / 0.7458 GB, free: 90.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/1.296, allocations: 4 kB / 0.7458 GB, free: 90.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/1.297, allocations: 277.6 kB / 0.7461 GB, free: 90.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/1.297, allocations: 0 / 0.7461 GB, free: 90.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/1.297, allocations: 7.891 kB / 0.7461 GB, free: 90.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-06/1.297, allocations: 4 kB / 0.7461 GB, free: 90.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006389/1.297, allocations: 232.5 kB / 0.7463 GB, free: 90.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/1.298, allocations: 420.3 kB / 0.7467 GB, free: 89.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/1.299, allocations: 192.8 kB / 0.7469 GB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/1.3, allocations: 62.03 kB / 0.747 GB, free: 89.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/1.3, allocations: 4 kB / 0.747 GB, free: 89.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/1.3, allocations: 38.56 kB / 0.747 GB, free: 89.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.634e-06/1.3, allocations: 0 / 0.747 GB, free: 89.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001341/1.301, allocations: 318.5 kB / 0.7473 GB, free: 89.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.301, allocations: 59.34 kB / 0.7474 GB, free: 89.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/1.301, allocations: 92.44 kB / 0.7475 GB, free: 88.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/1.301, allocations: 33.7 kB / 0.7475 GB, free: 88.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/1.301, allocations: 165.9 kB / 0.7477 GB, free: 88.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/1.301, allocations: 54.7 kB / 0.7477 GB, free: 88.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/1.301, allocations: 3.125 kB / 0.7477 GB, free: 88.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/1.301, allocations: 322.1 kB / 0.748 GB, free: 88.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/1.301, allocations: 58.17 kB / 0.7481 GB, free: 88.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/1.302, allocations: 108.4 kB / 0.7482 GB, free: 88.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/1.302, allocations: 69 kB / 0.7483 GB, free: 88.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-06/1.302, allocations: 0 / 0.7483 GB, free: 88.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004796/1.302, allocations: 196.7 kB / 0.7484 GB, free: 88.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.302, allocations: 11.94 kB / 0.7485 GB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.266e-06/1.302, allocations: 4.125 kB / 0.7485 GB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.302, allocations: 7.984 kB / 0.7485 GB, free: 88.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/1.303, allocations: 43.97 kB / 0.7485 GB, free: 88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.824e-06/1.303, allocations: 3.984 kB / 0.7485 GB, free: 88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/1.303, allocations: 19.62 kB / 0.7485 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/1.303, allocations: 8 kB / 0.7485 GB, free: 87.97 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.748e-05/1.303, allocations: 115.9 kB / 0.7486 GB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/1.303, allocations: 11.91 kB / 0.7487 GB, free: 87.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006986/1.304, allocations: 240 kB / 0.7489 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.594e-06/1.304, allocations: 4 kB / 0.7489 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.45e-06/1.304, allocations: 0 / 0.7489 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.558e-06/1.304, allocations: 7.984 kB / 0.7489 GB, free: 87.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/1.305, allocations: 0.5193 MB / 0.7494 GB, free: 87.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.811e-06/1.305, allocations: 4 kB / 0.7494 GB, free: 87.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/1.306, allocations: 55.28 kB / 0.7495 GB, free: 87.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.729e-06/1.306, allocations: 8 kB / 0.7495 GB, free: 87.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/1.306, allocations: 7.984 kB / 0.7495 GB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.066e-06/1.306, allocations: 0 / 0.7495 GB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.306, allocations: 0 / 0.7495 GB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/1.306, allocations: 319.9 kB / 0.7498 GB, free: 86.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/1.306, allocations: 85.02 kB / 0.7499 GB, free: 86.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/1.306, allocations: 11.8 kB / 0.7499 GB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/1.307, allocations: 7.984 kB / 0.7499 GB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/1.307, allocations: 19.36 kB / 0.7499 GB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/1.307, allocations: 8 kB / 0.7499 GB, free: 86.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.298e-05/1.307, allocations: 83.27 kB / 0.75 GB, free: 86.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.26e-07/1.307, allocations: 0 / 0.75 GB, free: 86.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005687/1.308, allocations: 77 kB / 0.7501 GB, free: 86.52 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.0006569/1.308, allocations: 0.5124 MB / 0.7506 GB, free: 86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004181/1.309, allocations: 165.8 kB / 0.7507 GB, free: 85.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.04e-06/1.309, allocations: 0 / 0.7507 GB, free: 85.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/1.309, allocations: 81.47 kB / 0.7508 GB, free: 85.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/1.309, allocations: 35.3 kB / 0.7508 GB, free: 85.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/1.31, allocations: 198.9 kB / 0.751 GB, free: 85.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/1.31, allocations: 0.6973 MB / 0.7517 GB, free: 84.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/1.31, allocations: 43.39 kB / 0.7517 GB, free: 84.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/1.31, allocations: 0 / 0.7517 GB, free: 84.83 MB / 410.7 MB Notification: Performance of Templates: time 0.007568/1.318, allocations: 4.822 MB / 0.7565 GB, free: 80.01 MB / 410.7 MB