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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.044e-05, allocations: 4 kB / 225 MB, free: 2.812 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2093, allocations: 38.78 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.145/8.355, allocations: 3.611 GB / 3.869 GB, free: 102.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/8.355, allocations: 83.95 kB / 3.869 GB, free: 102.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.521/9.876, allocations: 319.1 MB / 4.18 GB, free: 49.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.163e-06/9.876, allocations: 0 / 4.18 GB, free: 49.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.573e-05/9.876, allocations: 14.75 kB / 4.18 GB, free: 49.41 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.004322/9.881, allocations: 1.543 MB / 4.182 GB, free: 48.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/9.881, allocations: 11.06 kB / 4.182 GB, free: 48.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/9.881, allocations: 58 kB / 4.182 GB, free: 48.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/9.882, allocations: 363.2 kB / 4.182 GB, free: 48.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/9.882, allocations: 34.56 kB / 4.182 GB, free: 48.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/9.882, allocations: 45.67 kB / 4.182 GB, free: 48.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/9.883, allocations: 489.2 kB / 4.183 GB, free: 48.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/9.883, allocations: 3.688 kB / 4.183 GB, free: 48.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/9.883, allocations: 21.19 kB / 4.183 GB, free: 48.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/9.883, allocations: 11.34 kB / 4.183 GB, free: 48.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/9.884, allocations: 0.575 MB / 4.183 GB, free: 48.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/9.888, allocations: 1.994 MB / 4.185 GB, free: 46.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/9.889, allocations: 0.5454 MB / 4.186 GB, free: 46.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/9.89, allocations: 261.2 kB / 4.186 GB, free: 46.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005059/9.89, allocations: 0.7024 MB / 4.187 GB, free: 45.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/9.891, allocations: 42.84 kB / 4.187 GB, free: 45.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.7e-06/9.891, allocations: 0 / 4.187 GB, free: 45.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01702/9.908, allocations: 3.342 MB / 4.19 GB, free: 44.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/9.908, allocations: 58.78 kB / 4.19 GB, free: 44.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/9.908, allocations: 269 kB / 4.19 GB, free: 44.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/9.908, allocations: 36.77 kB / 4.191 GB, free: 44.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/9.908, allocations: 244.9 kB / 4.191 GB, free: 44.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/9.908, allocations: 223.2 kB / 4.191 GB, free: 44.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/9.908, allocations: 14.59 kB / 4.191 GB, free: 44.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/9.909, allocations: 337.6 kB / 4.191 GB, free: 43.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/9.909, allocations: 275.4 kB / 4.192 GB, free: 43.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/9.91, allocations: 342.6 kB / 4.192 GB, free: 43.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/9.91, allocations: 315.7 kB / 4.192 GB, free: 43.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-06/9.911, allocations: 2.688 kB / 4.192 GB, free: 43.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002154/9.913, allocations: 0.8588 MB / 4.193 GB, free: 43.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/9.913, allocations: 4.75 kB / 4.193 GB, free: 43.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.681e-06/9.913, allocations: 3.906 kB / 4.193 GB, free: 43.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/9.914, allocations: 272.2 kB / 4.193 GB, free: 43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/9.915, allocations: 123.7 kB / 4.193 GB, free: 42.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/9.917, allocations: 3.401 MB / 4.197 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009364/9.918, allocations: 69.95 kB / 4.197 GB, free: 39.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/9.918, allocations: 25.3 kB / 4.197 GB, free: 39.69 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.0002193/9.919, allocations: 135.8 kB / 4.197 GB, free: 39.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/9.919, allocations: 52.77 kB / 4.197 GB, free: 39.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/9.923, allocations: 1.241 MB / 4.198 GB, free: 38.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/9.923, allocations: 8 kB / 4.198 GB, free: 38.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.58e-06/9.923, allocations: 3.938 kB / 4.198 GB, free: 38.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003767/9.927, allocations: 1.31 MB / 4.2 GB, free: 37.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/9.93, allocations: 1.599 MB / 4.201 GB, free: 36.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.015e-06/9.93, allocations: 0 / 4.201 GB, free: 36.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007073/9.931, allocations: 112.1 kB / 4.201 GB, free: 36.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/9.932, allocations: 311.9 kB / 4.201 GB, free: 35.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/9.933, allocations: 28.88 kB / 4.201 GB, free: 35.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008494/9.933, allocations: 0.7648 MB / 4.202 GB, free: 35.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.579e-06/9.933, allocations: 3.984 kB / 4.202 GB, free: 35.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/9.938, allocations: 1.525 MB / 4.204 GB, free: 33.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/9.938, allocations: 124.2 kB / 4.204 GB, free: 33.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/9.938, allocations: 26.27 kB / 4.204 GB, free: 33.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007895/9.939, allocations: 57.97 kB / 4.204 GB, free: 33.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/9.939, allocations: 43.41 kB / 4.204 GB, free: 33.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/9.939, allocations: 27.55 kB / 4.204 GB, free: 33.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002823/9.939, allocations: 229 kB / 4.204 GB, free: 33.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.31e-07/9.939, allocations: 0 / 4.204 GB, free: 33.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001886/9.941, allocations: 0.5321 MB / 4.205 GB, free: 32.82 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.002354/9.944, allocations: 1.216 MB / 4.206 GB, free: 31.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/9.946, allocations: 0.8948 MB / 4.207 GB, free: 31.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/9.946, allocations: 4 kB / 4.207 GB, free: 31.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00083/9.946, allocations: 383 kB / 4.207 GB, free: 30.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/9.948, allocations: 281 kB / 4.207 GB, free: 30.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/9.951, allocations: 1.052 MB / 4.208 GB, free: 29.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/9.951, allocations: 0.859 MB / 4.209 GB, free: 28.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/9.952, allocations: 62.28 kB / 4.209 GB, free: 28.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.975e-06/9.952, allocations: 0 / 4.209 GB, free: 28.71 MB / 362.7 MB Notification: Performance of Templates: time 0.02987/9.982, allocations: 20.9 MB / 4.23 GB, free: 9.441 MB / 362.7 MB