Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 225.8 MB / 239.4 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.376e-05/2.394e-05, allocations: 0 / 292.6 MB, free: 11.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.08924, allocations: 50.41 MB / 343.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.339, allocations: 443.2 MB / 0.7678 GB, free: 106 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/1.34, allocations: 65.97 kB / 0.7679 GB, free: 105.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07549/1.415, allocations: 25.39 MB / 0.7927 GB, free: 84.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.415, allocations: 0 / 0.7927 GB, free: 84.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.158e-06/1.415, allocations: 4 kB / 0.7927 GB, free: 84.48 MB / 442.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.0007836/1.416, allocations: 436.9 kB / 0.7931 GB, free: 84.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.416, allocations: 8.031 kB / 0.7931 GB, free: 84.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006212/1.422, allocations: 454.2 kB / 0.7935 GB, free: 83.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.716e-05/1.422, allocations: 175 kB / 0.7937 GB, free: 83.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.422, allocations: 0 / 0.7937 GB, free: 83.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/1.423, allocations: 11.62 kB / 0.7937 GB, free: 83.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/1.423, allocations: 267.4 kB / 0.794 GB, free: 83.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.423, allocations: 3.938 kB / 0.794 GB, free: 83.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/1.423, allocations: 3.438 kB / 0.794 GB, free: 83.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.669e-06/1.423, allocations: 4 kB / 0.794 GB, free: 83.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/1.424, allocations: 232.4 kB / 0.7942 GB, free: 83.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009972/1.425, allocations: 419.8 kB / 0.7946 GB, free: 82.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/1.426, allocations: 182.7 kB / 0.7948 GB, free: 82.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/1.426, allocations: 58.55 kB / 0.7948 GB, free: 82.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/1.426, allocations: 15.92 kB / 0.7948 GB, free: 82.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/1.426, allocations: 34.52 kB / 0.7949 GB, free: 82.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.81e-06/1.426, allocations: 0 / 0.7949 GB, free: 82.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001287/1.427, allocations: 301.7 kB / 0.7952 GB, free: 82.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/1.427, allocations: 55.41 kB / 0.7952 GB, free: 82.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/1.427, allocations: 100.8 kB / 0.7953 GB, free: 81.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/1.427, allocations: 29.2 kB / 0.7953 GB, free: 81.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/1.428, allocations: 95.89 kB / 0.7954 GB, free: 81.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/1.428, allocations: 58.62 kB / 0.7955 GB, free: 81.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/1.428, allocations: 7.75 kB / 0.7955 GB, free: 81.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/1.428, allocations: 318.5 kB / 0.7958 GB, free: 81.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/1.428, allocations: 58.25 kB / 0.7959 GB, free: 81.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/1.428, allocations: 97.78 kB / 0.7959 GB, free: 81.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/1.428, allocations: 65.5 kB / 0.796 GB, free: 81.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-06/1.428, allocations: 0 / 0.796 GB, free: 81.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004728/1.429, allocations: 205.7 kB / 0.7962 GB, free: 81.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.429, allocations: 4 kB / 0.7962 GB, free: 81.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-06/1.429, allocations: 8.062 kB / 0.7962 GB, free: 81.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.429, allocations: 4 kB / 0.7962 GB, free: 81.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/1.429, allocations: 55.39 kB / 0.7963 GB, free: 81.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.223e-06/1.429, allocations: 0 / 0.7963 GB, free: 81.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/1.43, allocations: 19.36 kB / 0.7963 GB, free: 81.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/1.43, allocations: 16.17 kB / 0.7963 GB, free: 81.04 MB / 442.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.484e-05/1.43, allocations: 112 kB / 0.7964 GB, free: 80.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/1.43, allocations: 15.86 kB / 0.7964 GB, free: 80.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000665/1.43, allocations: 232.5 kB / 0.7966 GB, free: 80.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-06/1.43, allocations: 4 kB / 0.7967 GB, free: 80.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.392e-06/1.431, allocations: 0 / 0.7967 GB, free: 80.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-06/1.431, allocations: 4 kB / 0.7967 GB, free: 80.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/1.432, allocations: 0.533 MB / 0.7972 GB, free: 80.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-06/1.432, allocations: 4 kB / 0.7972 GB, free: 80.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/1.432, allocations: 39.97 kB / 0.7972 GB, free: 80.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.681e-06/1.432, allocations: 8.047 kB / 0.7972 GB, free: 80.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/1.432, allocations: 7.562 kB / 0.7972 GB, free: 80.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.291e-06/1.432, allocations: 0 / 0.7972 GB, free: 80.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.432, allocations: 4 kB / 0.7972 GB, free: 80.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/1.433, allocations: 316.2 kB / 0.7975 GB, free: 79.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/1.433, allocations: 85.02 kB / 0.7976 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/1.433, allocations: 7.75 kB / 0.7976 GB, free: 79.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/1.433, allocations: 7.984 kB / 0.7976 GB, free: 79.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/1.433, allocations: 19.62 kB / 0.7977 GB, free: 79.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/1.433, allocations: 11.98 kB / 0.7977 GB, free: 79.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.003e-05/1.433, allocations: 87.2 kB / 0.7977 GB, free: 79.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.76e-07/1.433, allocations: 0 / 0.7977 GB, free: 79.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005302/1.434, allocations: 77.98 kB / 0.7978 GB, free: 79.58 MB / 442.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.0006351/1.434, allocations: 0.5202 MB / 0.7983 GB, free: 79.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003964/1.435, allocations: 160.5 kB / 0.7985 GB, free: 78.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.959e-06/1.435, allocations: 256 / 0.7985 GB, free: 78.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/1.435, allocations: 86.05 kB / 0.7986 GB, free: 78.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/1.435, allocations: 39.64 kB / 0.7986 GB, free: 78.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/1.436, allocations: 169.4 kB / 0.7988 GB, free: 78.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.436, allocations: 0.6974 MB / 0.7994 GB, free: 77.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005845/1.437, allocations: 64.66 kB / 0.7995 GB, free: 77.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/1.437, allocations: 31.41 kB / 0.7995 GB, free: 77.87 MB / 442.7 MB Notification: Performance of SimCode: time 1.34e-06/1.437, allocations: 0 / 0.7995 GB, free: 77.87 MB / 442.7 MB Notification: Performance of Templates: time 0.01766/1.455, allocations: 10.55 MB / 0.8098 GB, free: 67.34 MB / 442.7 MB