Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.952e-05, allocations: 4 kB / 292.1 MB, free: 8.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.08977, allocations: 50.41 MB / 342.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.317, allocations: 443.4 MB / 0.7676 GB, free: 81.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/1.317, allocations: 67.53 kB / 0.7676 GB, free: 81.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07707/1.394, allocations: 25.38 MB / 0.7924 GB, free: 60.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.185e-06/1.394, allocations: 0 / 0.7924 GB, free: 60.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.967e-06/1.394, allocations: 0 / 0.7924 GB, free: 60.13 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.0007752/1.395, allocations: 428.8 kB / 0.7928 GB, free: 59.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.395, allocations: 16.03 kB / 0.7928 GB, free: 59.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006241/1.402, allocations: 455.3 kB / 0.7933 GB, free: 59.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/1.402, allocations: 167 kB / 0.7934 GB, free: 59.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/1.402, allocations: 11.75 kB / 0.7934 GB, free: 59.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/1.402, allocations: 4 kB / 0.7934 GB, free: 59.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/1.402, allocations: 268.9 kB / 0.7937 GB, free: 58.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.402, allocations: 4 kB / 0.7937 GB, free: 58.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/1.403, allocations: 7.688 kB / 0.7937 GB, free: 58.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-06/1.403, allocations: 3.938 kB / 0.7937 GB, free: 58.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/1.403, allocations: 234.7 kB / 0.7939 GB, free: 58.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/1.404, allocations: 420.9 kB / 0.7943 GB, free: 58.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/1.405, allocations: 181.3 kB / 0.7945 GB, free: 58.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/1.405, allocations: 65.72 kB / 0.7946 GB, free: 58.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/1.405, allocations: 4 kB / 0.7946 GB, free: 58.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/1.405, allocations: 38.52 kB / 0.7946 GB, free: 58.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 3.051e-06/1.405, allocations: 0 / 0.7946 GB, free: 58.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001316/1.407, allocations: 312.6 kB / 0.7949 GB, free: 57.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/1.407, allocations: 51.41 kB / 0.795 GB, free: 57.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/1.407, allocations: 96.69 kB / 0.795 GB, free: 57.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/1.407, allocations: 25.7 kB / 0.7951 GB, free: 57.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/1.407, allocations: 99.2 kB / 0.7952 GB, free: 57.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/1.407, allocations: 58.5 kB / 0.7952 GB, free: 57.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/1.407, allocations: 3.438 kB / 0.7952 GB, free: 57.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/1.407, allocations: 318.7 kB / 0.7955 GB, free: 57.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/1.407, allocations: 61.73 kB / 0.7956 GB, free: 57.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/1.407, allocations: 91.66 kB / 0.7957 GB, free: 56.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/1.408, allocations: 76.09 kB / 0.7957 GB, free: 56.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-06/1.408, allocations: 0 / 0.7957 GB, free: 56.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004897/1.408, allocations: 201.9 kB / 0.7959 GB, free: 56.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.408, allocations: 11.98 kB / 0.796 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.192e-06/1.408, allocations: 0 / 0.796 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.408, allocations: 192 / 0.796 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/1.409, allocations: 60.02 kB / 0.796 GB, free: 56.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.409, allocations: 3.938 kB / 0.796 GB, free: 56.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/1.409, allocations: 15.42 kB / 0.796 GB, free: 56.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/1.409, allocations: 11.5 kB / 0.796 GB, free: 56.69 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.52e-05/1.409, allocations: 108.6 kB / 0.7961 GB, free: 56.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/1.409, allocations: 15.84 kB / 0.7962 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006808/1.41, allocations: 237.7 kB / 0.7964 GB, free: 56.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-06/1.41, allocations: 0 / 0.7964 GB, free: 56.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.41, allocations: 0 / 0.7964 GB, free: 56.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.635e-06/1.41, allocations: 7.984 kB / 0.7964 GB, free: 56.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.411, allocations: 0.5295 MB / 0.7969 GB, free: 55.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.126e-06/1.411, allocations: 0 / 0.7969 GB, free: 55.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/1.411, allocations: 43.95 kB / 0.797 GB, free: 55.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.85e-06/1.411, allocations: 7.938 kB / 0.797 GB, free: 55.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/1.411, allocations: 11.55 kB / 0.797 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.412, allocations: 64 / 0.797 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.277e-06/1.412, allocations: 4 kB / 0.797 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/1.412, allocations: 309.1 kB / 0.7973 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/1.412, allocations: 89 kB / 0.7974 GB, free: 55.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/1.412, allocations: 15.31 kB / 0.7974 GB, free: 55.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/1.412, allocations: 11.98 kB / 0.7974 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/1.412, allocations: 19.44 kB / 0.7974 GB, free: 55.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/1.413, allocations: 8 kB / 0.7974 GB, free: 55.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.202e-05/1.413, allocations: 86.56 kB / 0.7975 GB, free: 55.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.09e-07/1.413, allocations: 7.938 kB / 0.7975 GB, free: 55.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000543/1.413, allocations: 64.81 kB / 0.7976 GB, free: 55.23 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.000666/1.414, allocations: 0.5264 MB / 0.7981 GB, free: 54.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004073/1.414, allocations: 154.6 kB / 0.7982 GB, free: 54.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.414, allocations: 3.938 kB / 0.7982 GB, free: 54.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/1.414, allocations: 82.92 kB / 0.7983 GB, free: 54.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/1.415, allocations: 35.91 kB / 0.7983 GB, free: 54.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/1.415, allocations: 176.5 kB / 0.7985 GB, free: 54.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/1.416, allocations: 0.6935 MB / 0.7992 GB, free: 53.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005998/1.416, allocations: 60.64 kB / 0.7992 GB, free: 53.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/1.416, allocations: 31.41 kB / 0.7993 GB, free: 53.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.534e-06/1.416, allocations: 0 / 0.7993 GB, free: 53.52 MB / 442.7 MB Notification: Performance of Templates: time 0.01787/1.434, allocations: 10.55 MB / 0.8096 GB, free: 43 MB / 442.7 MB