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_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.029e-05, allocations: 4 kB / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 38.76 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.291, allocations: 432.3 MB / 0.6797 GB, free: 112.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/1.291, allocations: 71.16 kB / 0.6798 GB, free: 112.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07597/1.367, allocations: 24.8 MB / 0.704 GB, free: 87.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.87e-06/1.367, allocations: 4 kB / 0.704 GB, free: 87.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.505e-06/1.367, allocations: 0 / 0.704 GB, free: 87.29 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.0008149/1.368, allocations: 434.2 kB / 0.7044 GB, free: 86.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.368, allocations: 12.03 kB / 0.7044 GB, free: 86.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006769/1.375, allocations: 467.2 kB / 0.7049 GB, free: 86.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.505e-05/1.375, allocations: 171 kB / 0.705 GB, free: 86.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/1.375, allocations: 8 kB / 0.705 GB, free: 86.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/1.375, allocations: 4 kB / 0.705 GB, free: 86.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/1.376, allocations: 265.4 kB / 0.7053 GB, free: 85.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.376, allocations: 3.938 kB / 0.7053 GB, free: 85.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/1.376, allocations: 4 kB / 0.7053 GB, free: 85.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/1.376, allocations: 0 / 0.7053 GB, free: 85.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/1.376, allocations: 227.9 kB / 0.7055 GB, free: 85.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/1.377, allocations: 436.4 kB / 0.7059 GB, free: 85.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000925/1.378, allocations: 190.5 kB / 0.7061 GB, free: 84.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/1.379, allocations: 56.86 kB / 0.7062 GB, free: 84.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/1.379, allocations: 4 kB / 0.7062 GB, free: 84.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/1.379, allocations: 34.55 kB / 0.7062 GB, free: 84.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.763e-06/1.379, allocations: 0 / 0.7062 GB, free: 84.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001315/1.38, allocations: 309.6 kB / 0.7065 GB, free: 84.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/1.38, allocations: 55.41 kB / 0.7066 GB, free: 84.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/1.38, allocations: 96.91 kB / 0.7067 GB, free: 84.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/1.38, allocations: 29.7 kB / 0.7067 GB, free: 84.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/1.38, allocations: 91.97 kB / 0.7068 GB, free: 84.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/1.38, allocations: 63.09 kB / 0.7068 GB, free: 84.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/1.38, allocations: 7.938 kB / 0.7068 GB, free: 84.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/1.38, allocations: 326.8 kB / 0.7072 GB, free: 83.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/1.38, allocations: 56.38 kB / 0.7072 GB, free: 83.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/1.381, allocations: 96.59 kB / 0.7073 GB, free: 83.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/1.381, allocations: 70.73 kB / 0.7074 GB, free: 83.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-06/1.381, allocations: 4 kB / 0.7074 GB, free: 83.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004748/1.381, allocations: 201.4 kB / 0.7076 GB, free: 83.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.381, allocations: 8 kB / 0.7076 GB, free: 83.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.145e-06/1.381, allocations: 0 / 0.7076 GB, free: 83.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.381, allocations: 4 kB / 0.7076 GB, free: 83.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/1.382, allocations: 51.89 kB / 0.7076 GB, free: 83.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.908e-06/1.382, allocations: 0 / 0.7076 GB, free: 83.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/1.382, allocations: 20.11 kB / 0.7076 GB, free: 83.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.526e-05/1.382, allocations: 11.98 kB / 0.7077 GB, free: 83.32 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.751e-05/1.382, allocations: 117.6 kB / 0.7078 GB, free: 83.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/1.382, allocations: 7.906 kB / 0.7078 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/1.383, allocations: 235.7 kB / 0.708 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.383, allocations: 7.938 kB / 0.708 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.396e-06/1.383, allocations: 0 / 0.708 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-06/1.383, allocations: 0 / 0.708 GB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/1.384, allocations: 0.5466 MB / 0.7085 GB, free: 82.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.799e-06/1.384, allocations: 0 / 0.7085 GB, free: 82.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/1.385, allocations: 39.97 kB / 0.7086 GB, free: 82.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.422e-06/1.385, allocations: 4 kB / 0.7086 GB, free: 82.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/1.385, allocations: 11.98 kB / 0.7086 GB, free: 82.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.604e-06/1.385, allocations: 4 kB / 0.7086 GB, free: 82.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.269e-06/1.385, allocations: 7.891 kB / 0.7086 GB, free: 82.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/1.385, allocations: 316.5 kB / 0.7089 GB, free: 81.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/1.385, allocations: 85.02 kB / 0.709 GB, free: 81.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/1.385, allocations: 7.953 kB / 0.709 GB, free: 81.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/1.386, allocations: 11.98 kB / 0.709 GB, free: 81.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/1.386, allocations: 15.98 kB / 0.709 GB, free: 81.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/1.386, allocations: 15.98 kB / 0.709 GB, free: 81.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.934e-05/1.386, allocations: 79.28 kB / 0.7091 GB, free: 81.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.99e-07/1.386, allocations: 0 / 0.7091 GB, free: 81.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005367/1.386, allocations: 75.98 kB / 0.7092 GB, free: 81.62 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.0006573/1.387, allocations: 0.5164 MB / 0.7097 GB, free: 81.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/1.387, allocations: 153.2 kB / 0.7098 GB, free: 80.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.644e-06/1.387, allocations: 0 / 0.7098 GB, free: 80.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/1.388, allocations: 75.92 kB / 0.7099 GB, free: 80.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/1.388, allocations: 44.27 kB / 0.7099 GB, free: 80.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/1.389, allocations: 163 kB / 0.7101 GB, free: 80.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/1.389, allocations: 0.7013 MB / 0.7108 GB, free: 79.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000596/1.389, allocations: 52.73 kB / 0.7108 GB, free: 79.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/1.39, allocations: 39.41 kB / 0.7109 GB, free: 79.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.44e-06/1.39, allocations: 0 / 0.7109 GB, free: 79.84 MB / 362.7 MB Notification: Performance of Templates: time 0.01805/1.408, allocations: 10.52 MB / 0.7211 GB, free: 69.32 MB / 362.7 MB