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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.827e-05, allocations: 3.984 kB / 255.4 MB, free: 2.672 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.0856, allocations: 44.5 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.745/8.831, allocations: 3.617 GB / 3.91 GB, free: 101.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/8.831, allocations: 93.34 kB / 3.91 GB, free: 101.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562/10.39, allocations: 321.8 MB / 4.224 GB, free: 59.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.712e-06/10.39, allocations: 2.812 kB / 4.224 GB, free: 59.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.551e-05/10.39, allocations: 8.688 kB / 4.224 GB, free: 59.57 MB / 410.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.004392/10.4, allocations: 1.554 MB / 4.226 GB, free: 58.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/10.4, allocations: 9.844 kB / 4.226 GB, free: 58.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004217/10.4, allocations: 55.11 kB / 4.226 GB, free: 58.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/10.4, allocations: 353 kB / 4.226 GB, free: 58.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/10.4, allocations: 33.45 kB / 4.226 GB, free: 58.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/10.4, allocations: 46.28 kB / 4.226 GB, free: 58.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/10.4, allocations: 491.1 kB / 4.226 GB, free: 58.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/10.4, allocations: 1.031 kB / 4.226 GB, free: 58.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/10.4, allocations: 24.77 kB / 4.226 GB, free: 58.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/10.4, allocations: 10.22 kB / 4.226 GB, free: 58.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/10.4, allocations: 0.5772 MB / 4.227 GB, free: 58.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/10.4, allocations: 2.18 MB / 4.229 GB, free: 57.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/10.41, allocations: 0.5417 MB / 4.23 GB, free: 57.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/10.41, allocations: 256 kB / 4.23 GB, free: 57.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/10.41, allocations: 0.7019 MB / 4.231 GB, free: 56.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/10.41, allocations: 41.88 kB / 4.231 GB, free: 56.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 4.159e-06/10.41, allocations: 3.219 kB / 4.231 GB, free: 56.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01748/10.42, allocations: 3.342 MB / 4.234 GB, free: 56.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/10.42, allocations: 66.12 kB / 4.234 GB, free: 56.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/10.43, allocations: 259.5 kB / 4.234 GB, free: 55.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/10.43, allocations: 38.86 kB / 4.234 GB, free: 55.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/10.43, allocations: 189.2 kB / 4.234 GB, free: 55.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/10.43, allocations: 227.3 kB / 4.235 GB, free: 55.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/10.43, allocations: 11.91 kB / 4.235 GB, free: 55.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/10.43, allocations: 358.3 kB / 4.235 GB, free: 55.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009394/10.43, allocations: 271.8 kB / 4.235 GB, free: 55.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/10.43, allocations: 338.9 kB / 4.236 GB, free: 55.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/10.43, allocations: 308.4 kB / 4.236 GB, free: 55.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.351e-06/10.43, allocations: 0 / 4.236 GB, free: 55.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003645/10.43, allocations: 0.8812 MB / 4.237 GB, free: 55.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/10.43, allocations: 10.34 kB / 4.237 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/10.43, allocations: 0 / 4.237 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/10.44, allocations: 271.4 kB / 4.237 GB, free: 55.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/10.44, allocations: 124.5 kB / 4.237 GB, free: 55.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/10.44, allocations: 3.401 MB / 4.24 GB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/10.44, allocations: 67.28 kB / 4.241 GB, free: 52.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.473e-05/10.44, allocations: 24.94 kB / 4.241 GB, free: 52.17 MB / 410.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.0002314/10.44, allocations: 143.1 kB / 4.241 GB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/10.44, allocations: 42.06 kB / 4.241 GB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004909/10.45, allocations: 1.247 MB / 4.242 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/10.45, allocations: 6.844 kB / 4.242 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.947e-06/10.45, allocations: 3.953 kB / 4.242 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004366/10.45, allocations: 1.301 MB / 4.243 GB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/10.45, allocations: 1.605 MB / 4.245 GB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.388e-06/10.45, allocations: 0 / 4.245 GB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/10.45, allocations: 122.8 kB / 4.245 GB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/10.46, allocations: 316.1 kB / 4.245 GB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/10.46, allocations: 21.44 kB / 4.245 GB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008831/10.46, allocations: 0.7662 MB / 4.246 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.901e-06/10.46, allocations: 3.406 kB / 4.246 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005125/10.46, allocations: 1.524 MB / 4.247 GB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/10.46, allocations: 122.2 kB / 4.248 GB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/10.46, allocations: 21.64 kB / 4.248 GB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008246/10.46, allocations: 59.42 kB / 4.248 GB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/10.46, allocations: 45.02 kB / 4.248 GB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/10.46, allocations: 30.17 kB / 4.248 GB, free: 50.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002901/10.46, allocations: 223.2 kB / 4.248 GB, free: 50.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.39e-07/10.46, allocations: 2.812 kB / 4.248 GB, free: 50.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002111/10.47, allocations: 0.5369 MB / 4.248 GB, free: 50.24 MB / 410.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.002571/10.47, allocations: 1.212 MB / 4.25 GB, free: 49.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001911/10.47, allocations: 0.8811 MB / 4.251 GB, free: 49.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.01e-06/10.47, allocations: 3.812 kB / 4.251 GB, free: 49.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009094/10.47, allocations: 376.7 kB / 4.251 GB, free: 49.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/10.47, allocations: 282.6 kB / 4.251 GB, free: 49.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/10.48, allocations: 1.02 MB / 4.252 GB, free: 49.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/10.48, allocations: 0.8615 MB / 4.253 GB, free: 48.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009709/10.48, allocations: 130.3 kB / 4.253 GB, free: 48.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/10.48, allocations: 54.98 kB / 4.253 GB, free: 48.8 MB / 410.7 MB Notification: Performance of SimCode: time 3.571e-06/10.48, allocations: 2.125 kB / 4.253 GB, free: 48.8 MB / 410.7 MB Notification: Performance of Templates: time 0.05859/10.54, allocations: 32.03 MB / 4.284 GB, free: 46.21 MB / 410.7 MB