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.3_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.204e-05, allocations: 4 kB / 269.3 MB, free: 6.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0837/0.08375, allocations: 47.57 MB / 316.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.412, allocations: 442.2 MB / 0.7413 GB, free: 87.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/1.412, allocations: 62.28 kB / 0.7414 GB, free: 87.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07714/1.489, allocations: 24.86 MB / 0.7657 GB, free: 66.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.486e-06/1.489, allocations: 0 / 0.7657 GB, free: 66.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.046e-06/1.49, allocations: 4 kB / 0.7657 GB, free: 66.25 MB / 426.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.0007713/1.49, allocations: 429.4 kB / 0.7661 GB, free: 65.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.49, allocations: 8.031 kB / 0.7661 GB, free: 65.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006301/1.497, allocations: 462.2 kB / 0.7665 GB, free: 65.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.674e-05/1.497, allocations: 167 kB / 0.7667 GB, free: 65.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.497, allocations: 3.312 kB / 0.7667 GB, free: 65.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/1.497, allocations: 8 kB / 0.7667 GB, free: 65.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/1.498, allocations: 266.6 kB / 0.7669 GB, free: 64.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.498, allocations: 3.938 kB / 0.7669 GB, free: 64.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/1.498, allocations: 0 / 0.7669 GB, free: 64.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.45e-06/1.498, allocations: 8 kB / 0.767 GB, free: 64.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/1.498, allocations: 232.7 kB / 0.7672 GB, free: 64.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/1.499, allocations: 422.4 kB / 0.7676 GB, free: 64.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/1.5, allocations: 187.8 kB / 0.7678 GB, free: 64.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/1.5, allocations: 62.09 kB / 0.7678 GB, free: 64.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/1.501, allocations: 4 kB / 0.7678 GB, free: 64.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/1.501, allocations: 34.5 kB / 0.7679 GB, free: 64.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.932e-06/1.501, allocations: 0 / 0.7679 GB, free: 64.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001381/1.502, allocations: 308.9 kB / 0.7682 GB, free: 63.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.4e-05/1.502, allocations: 59.34 kB / 0.7682 GB, free: 63.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/1.502, allocations: 96.8 kB / 0.7683 GB, free: 63.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/1.502, allocations: 25.7 kB / 0.7683 GB, free: 63.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/1.502, allocations: 102.9 kB / 0.7684 GB, free: 63.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/1.502, allocations: 54.25 kB / 0.7685 GB, free: 63.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/1.502, allocations: 11.62 kB / 0.7685 GB, free: 63.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.126e-05/1.502, allocations: 322.3 kB / 0.7688 GB, free: 63.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/1.502, allocations: 61.5 kB / 0.7689 GB, free: 63.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/1.503, allocations: 98.39 kB / 0.7689 GB, free: 63.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/1.503, allocations: 72.22 kB / 0.769 GB, free: 63.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.503, allocations: 0 / 0.769 GB, free: 63.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005039/1.503, allocations: 200 kB / 0.7692 GB, free: 62.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.503, allocations: 4 kB / 0.7692 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.919e-06/1.503, allocations: 0 / 0.7692 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.503, allocations: 4 kB / 0.7692 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/1.504, allocations: 51.33 kB / 0.7693 GB, free: 62.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.034e-06/1.504, allocations: 4.125 kB / 0.7693 GB, free: 62.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/1.504, allocations: 11.98 kB / 0.7693 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/1.504, allocations: 15.61 kB / 0.7693 GB, free: 62.82 MB / 426.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.267e-05/1.504, allocations: 116.4 kB / 0.7694 GB, free: 62.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/1.504, allocations: 11.84 kB / 0.7694 GB, free: 62.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/1.505, allocations: 243.5 kB / 0.7696 GB, free: 62.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.218e-06/1.505, allocations: 4 kB / 0.7696 GB, free: 62.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.692e-06/1.505, allocations: 0 / 0.7696 GB, free: 62.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.505, allocations: 0 / 0.7696 GB, free: 62.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/1.506, allocations: 0.5347 MB / 0.7702 GB, free: 61.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.506, allocations: 4 kB / 0.7702 GB, free: 61.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/1.507, allocations: 43.95 kB / 0.7702 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.216e-06/1.507, allocations: 0 / 0.7702 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/1.507, allocations: 4 kB / 0.7702 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.706e-06/1.507, allocations: 7.891 kB / 0.7702 GB, free: 61.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-06/1.507, allocations: 0 / 0.7702 GB, free: 61.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/1.507, allocations: 312.8 kB / 0.7705 GB, free: 61.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/1.507, allocations: 88.97 kB / 0.7706 GB, free: 61.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/1.507, allocations: 7.625 kB / 0.7706 GB, free: 61.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/1.508, allocations: 15.98 kB / 0.7706 GB, free: 61.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/1.508, allocations: 19.53 kB / 0.7707 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/1.508, allocations: 8 kB / 0.7707 GB, free: 61.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.236e-05/1.508, allocations: 83.22 kB / 0.7707 GB, free: 61.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.49e-07/1.508, allocations: 0 / 0.7707 GB, free: 61.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006114/1.509, allocations: 73.3 kB / 0.7708 GB, free: 61.36 MB / 426.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.0006675/1.509, allocations: 0.5203 MB / 0.7713 GB, free: 60.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003996/1.51, allocations: 158.6 kB / 0.7715 GB, free: 60.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.208e-06/1.51, allocations: 0 / 0.7715 GB, free: 60.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/1.51, allocations: 89.36 kB / 0.7716 GB, free: 60.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/1.51, allocations: 43.67 kB / 0.7716 GB, free: 60.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/1.511, allocations: 164.9 kB / 0.7718 GB, free: 60.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/1.511, allocations: 0.7012 MB / 0.7724 GB, free: 59.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005945/1.512, allocations: 56.72 kB / 0.7725 GB, free: 59.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/1.512, allocations: 35.36 kB / 0.7725 GB, free: 59.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.557e-06/1.512, allocations: 0 / 0.7725 GB, free: 59.64 MB / 426.7 MB Notification: Performance of Templates: time 0.01845/1.53, allocations: 10.53 MB / 0.7828 GB, free: 49.13 MB / 426.7 MB