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.1_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.428e-05, allocations: 4 kB / 225 MB, free: 2.719 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2174, allocations: 38.76 MB / 263.7 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.271, allocations: 432.3 MB / 0.6797 GB, free: 95.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/1.271, allocations: 66.84 kB / 0.6797 GB, free: 95.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07881/1.35, allocations: 24.82 MB / 0.704 GB, free: 75.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.007e-06/1.35, allocations: 0 / 0.704 GB, free: 75.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/1.35, allocations: 0 / 0.704 GB, free: 75.54 MB / 362.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.0007881/1.351, allocations: 428.6 kB / 0.7044 GB, free: 75.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.351, allocations: 16.02 kB / 0.7044 GB, free: 75.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006323/1.357, allocations: 458.7 kB / 0.7048 GB, free: 74.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/1.357, allocations: 171 kB / 0.705 GB, free: 74.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/1.357, allocations: 4 kB / 0.705 GB, free: 74.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/1.358, allocations: 7.438 kB / 0.705 GB, free: 74.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/1.358, allocations: 264.3 kB / 0.7053 GB, free: 74.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.358, allocations: 0 / 0.7053 GB, free: 74.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/1.358, allocations: 8 kB / 0.7053 GB, free: 74.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-06/1.358, allocations: 0 / 0.7053 GB, free: 74.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006158/1.359, allocations: 228.3 kB / 0.7055 GB, free: 74.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/1.36, allocations: 431.9 kB / 0.7059 GB, free: 73.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/1.361, allocations: 190.7 kB / 0.7061 GB, free: 73.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/1.361, allocations: 58.36 kB / 0.7061 GB, free: 73.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/1.361, allocations: 0 / 0.7061 GB, free: 73.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/1.361, allocations: 41.88 kB / 0.7062 GB, free: 73.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.269e-06/1.361, allocations: 0 / 0.7062 GB, free: 73.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001314/1.362, allocations: 313.1 kB / 0.7065 GB, free: 73.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/1.363, allocations: 51.41 kB / 0.7065 GB, free: 73.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/1.363, allocations: 96.41 kB / 0.7066 GB, free: 73.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/1.363, allocations: 33.33 kB / 0.7067 GB, free: 72.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/1.363, allocations: 166.4 kB / 0.7068 GB, free: 72.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/1.363, allocations: 58.11 kB / 0.7069 GB, free: 72.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/1.363, allocations: 3.625 kB / 0.7069 GB, free: 72.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/1.363, allocations: 318.2 kB / 0.7072 GB, free: 72.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/1.363, allocations: 57.8 kB / 0.7072 GB, free: 72.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/1.363, allocations: 98.78 kB / 0.7073 GB, free: 72.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/1.363, allocations: 73.3 kB / 0.7074 GB, free: 72.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.52e-06/1.363, allocations: 4 kB / 0.7074 GB, free: 72.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004694/1.364, allocations: 201.1 kB / 0.7076 GB, free: 72.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.364, allocations: 4 kB / 0.7076 GB, free: 72.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.376e-06/1.364, allocations: 4 kB / 0.7076 GB, free: 72.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.364, allocations: 192 / 0.7076 GB, free: 72.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/1.364, allocations: 56.02 kB / 0.7077 GB, free: 72.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.696e-06/1.364, allocations: 4 kB / 0.7077 GB, free: 72.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/1.365, allocations: 19.67 kB / 0.7077 GB, free: 72.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/1.365, allocations: 11.98 kB / 0.7077 GB, free: 72.03 MB / 362.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.831e-05/1.365, allocations: 120.4 kB / 0.7078 GB, free: 71.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/1.365, allocations: 11.89 kB / 0.7078 GB, free: 71.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006841/1.366, allocations: 235.7 kB / 0.708 GB, free: 71.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-06/1.366, allocations: 3.938 kB / 0.708 GB, free: 71.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.263e-06/1.366, allocations: 0 / 0.708 GB, free: 71.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.366, allocations: 0 / 0.708 GB, free: 71.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.367, allocations: 0.54 MB / 0.7086 GB, free: 71.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-06/1.367, allocations: 0 / 0.7086 GB, free: 71.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/1.367, allocations: 47.77 kB / 0.7086 GB, free: 71.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.826e-06/1.367, allocations: 0 / 0.7086 GB, free: 71.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/1.367, allocations: 7.984 kB / 0.7086 GB, free: 71.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.983e-06/1.367, allocations: 8.062 kB / 0.7086 GB, free: 71.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.367, allocations: 3.953 kB / 0.7086 GB, free: 71.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/1.368, allocations: 312.8 kB / 0.7089 GB, free: 70.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/1.368, allocations: 85.02 kB / 0.709 GB, free: 70.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/1.368, allocations: 11.7 kB / 0.709 GB, free: 70.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/1.368, allocations: 15.86 kB / 0.709 GB, free: 70.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/1.368, allocations: 7.984 kB / 0.709 GB, free: 70.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/1.368, allocations: 11.98 kB / 0.7091 GB, free: 70.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.271e-05/1.368, allocations: 86.89 kB / 0.7091 GB, free: 70.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.974e-06/1.368, allocations: 0 / 0.7091 GB, free: 70.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000562/1.369, allocations: 78.61 kB / 0.7092 GB, free: 70.56 MB / 362.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.0006637/1.37, allocations: 0.5149 MB / 0.7097 GB, free: 70.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004215/1.37, allocations: 148.7 kB / 0.7099 GB, free: 69.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.736e-06/1.37, allocations: 4 kB / 0.7099 GB, free: 69.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/1.37, allocations: 78.98 kB / 0.7099 GB, free: 69.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/1.371, allocations: 39.83 kB / 0.71 GB, free: 69.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006195/1.371, allocations: 186.5 kB / 0.7102 GB, free: 69.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/1.371, allocations: 0.6973 MB / 0.7108 GB, free: 68.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/1.372, allocations: 38.97 kB / 0.7109 GB, free: 68.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.279e-06/1.372, allocations: 4 kB / 0.7109 GB, free: 68.9 MB / 362.7 MB Notification: Performance of Templates: time 0.007411/1.379, allocations: 4.866 MB / 0.7156 GB, free: 64.04 MB / 362.7 MB