Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.683/1.683, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.52e-05, allocations: 0 / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.807/9.015, allocations: 3.611 GB / 3.869 GB, free: 5.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/9.016, allocations: 88.77 kB / 3.869 GB, free: 5.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653/10.67, allocations: 319 MB / 4.18 GB, free: 46.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.954e-06/10.67, allocations: 0 / 4.18 GB, free: 46.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/10.67, allocations: 10.41 kB / 4.18 GB, free: 46.96 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004075/10.67, allocations: 1.549 MB / 4.182 GB, free: 46.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/10.67, allocations: 10.41 kB / 4.182 GB, free: 46.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/10.67, allocations: 61.45 kB / 4.182 GB, free: 46.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/10.67, allocations: 350.1 kB / 4.182 GB, free: 46.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/10.67, allocations: 35.34 kB / 4.182 GB, free: 46.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/10.67, allocations: 50.14 kB / 4.182 GB, free: 46.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/10.67, allocations: 491.4 kB / 4.183 GB, free: 45.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/10.68, allocations: 0 / 4.183 GB, free: 45.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/10.68, allocations: 23.47 kB / 4.183 GB, free: 45.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/10.68, allocations: 12.56 kB / 4.183 GB, free: 45.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/10.68, allocations: 0.5737 MB / 4.183 GB, free: 45.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/10.68, allocations: 2.004 MB / 4.185 GB, free: 44.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/10.68, allocations: 0.532 MB / 4.186 GB, free: 44.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/10.68, allocations: 265.1 kB / 4.186 GB, free: 44.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/10.68, allocations: 0.7036 MB / 4.187 GB, free: 44.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/10.68, allocations: 43.69 kB / 4.187 GB, free: 44.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.731e-06/10.68, allocations: 2.25 kB / 4.187 GB, free: 44.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.0152/10.7, allocations: 3.351 MB / 4.19 GB, free: 43.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/10.7, allocations: 59.62 kB / 4.19 GB, free: 43.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/10.7, allocations: 261.4 kB / 4.19 GB, free: 43.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/10.7, allocations: 41.14 kB / 4.191 GB, free: 43.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/10.7, allocations: 196.5 kB / 4.191 GB, free: 43.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/10.7, allocations: 225.7 kB / 4.191 GB, free: 43.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/10.7, allocations: 13.5 kB / 4.191 GB, free: 43.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/10.7, allocations: 348.9 kB / 4.191 GB, free: 43.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/10.7, allocations: 266.3 kB / 4.192 GB, free: 43.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/10.7, allocations: 340.5 kB / 4.192 GB, free: 43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/10.7, allocations: 315 kB / 4.192 GB, free: 42.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/10.7, allocations: 0 / 4.192 GB, free: 42.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002069/10.7, allocations: 0.8818 MB / 4.193 GB, free: 42.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/10.7, allocations: 7.75 kB / 4.193 GB, free: 42.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.803e-06/10.7, allocations: 0 / 4.193 GB, free: 42.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/10.7, allocations: 272.2 kB / 4.193 GB, free: 42.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/10.7, allocations: 117.6 kB / 4.193 GB, free: 42.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/10.71, allocations: 3.403 MB / 4.197 GB, free: 39.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008389/10.71, allocations: 67.7 kB / 4.197 GB, free: 39.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/10.71, allocations: 29.53 kB / 4.197 GB, free: 39.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002208/10.71, allocations: 143 kB / 4.197 GB, free: 39.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/10.71, allocations: 44.05 kB / 4.197 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/10.71, allocations: 1.254 MB / 4.198 GB, free: 39.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/10.71, allocations: 7.125 kB / 4.198 GB, free: 39.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-06/10.71, allocations: 0 / 4.198 GB, free: 39.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005831/10.72, allocations: 1.297 MB / 4.199 GB, free: 39.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005731/10.72, allocations: 1.607 MB / 4.201 GB, free: 38.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/10.72, allocations: 3.375 kB / 4.201 GB, free: 38.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/10.73, allocations: 116.7 kB / 4.201 GB, free: 38.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/10.73, allocations: 299 kB / 4.201 GB, free: 38.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/10.73, allocations: 28.19 kB / 4.201 GB, free: 38.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/10.73, allocations: 0.7712 MB / 4.202 GB, free: 38.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/10.73, allocations: 2.812 kB / 4.202 GB, free: 38.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007735/10.74, allocations: 1.536 MB / 4.204 GB, free: 38.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/10.74, allocations: 119.7 kB / 4.204 GB, free: 38.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/10.74, allocations: 19.03 kB / 4.204 GB, free: 38.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/10.74, allocations: 57.05 kB / 4.204 GB, free: 38.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/10.74, allocations: 46.42 kB / 4.204 GB, free: 38.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/10.74, allocations: 28.78 kB / 4.204 GB, free: 38.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000484/10.74, allocations: 222.1 kB / 4.204 GB, free: 37.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.186e-06/10.74, allocations: 0 / 4.204 GB, free: 37.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003251/10.74, allocations: 0.5396 MB / 4.205 GB, free: 37.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004289/10.75, allocations: 1.209 MB / 4.206 GB, free: 37.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004061/10.75, allocations: 0.896 MB / 4.207 GB, free: 37.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.372e-06/10.75, allocations: 3.25 kB / 4.207 GB, free: 37.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/10.75, allocations: 373 kB / 4.207 GB, free: 37.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/10.76, allocations: 295 kB / 4.207 GB, free: 37.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/10.76, allocations: 1.013 MB / 4.208 GB, free: 37.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009086/10.76, allocations: 0.8597 MB / 4.209 GB, free: 52.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009006/10.76, allocations: 126 kB / 4.209 GB, free: 52.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/10.76, allocations: 55.75 kB / 4.209 GB, free: 52.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/10.76, allocations: 6.531 kB / 4.209 GB, free: 52.56 MB / 378.7 MB Notification: Performance of Templates: time 0.05643/10.82, allocations: 32.03 MB / 4.241 GB, free: 50.82 MB / 378.7 MB