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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 194.9 MB / 208.4 MB, free: 3.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.021e-05, allocations: 8 kB / 255.4 MB, free: 3.145 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.07734, allocations: 44.48 MB / 299.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.149/8.227, allocations: 3.617 GB / 3.91 GB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/8.227, allocations: 90.61 kB / 3.91 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51/9.736, allocations: 321.8 MB / 4.224 GB, free: 46.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.106e-06/9.737, allocations: 0 / 4.224 GB, free: 46.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.453e-05/9.737, allocations: 12 kB / 4.224 GB, free: 46.38 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.004083/9.741, allocations: 1.556 MB / 4.225 GB, free: 44.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/9.741, allocations: 12.03 kB / 4.225 GB, free: 44.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/9.741, allocations: 59.47 kB / 4.226 GB, free: 44.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/9.742, allocations: 346.3 kB / 4.226 GB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/9.742, allocations: 36.98 kB / 4.226 GB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/9.742, allocations: 44 kB / 4.226 GB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/9.743, allocations: 492.4 kB / 4.226 GB, free: 43.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/9.743, allocations: 4 kB / 4.226 GB, free: 43.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/9.743, allocations: 19.98 kB / 4.226 GB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/9.743, allocations: 12 kB / 4.226 GB, free: 43.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/9.744, allocations: 0.5798 MB / 4.227 GB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/9.747, allocations: 2.164 MB / 4.229 GB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/9.749, allocations: 0.5481 MB / 4.23 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/9.749, allocations: 252.5 kB / 4.23 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004978/9.75, allocations: 0.7048 MB / 4.231 GB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/9.75, allocations: 43 kB / 4.231 GB, free: 39.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.568e-06/9.75, allocations: 3.938 kB / 4.231 GB, free: 39.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01657/9.766, allocations: 3.35 MB / 4.234 GB, free: 35.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/9.767, allocations: 55.97 kB / 4.234 GB, free: 35.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/9.767, allocations: 263.2 kB / 4.234 GB, free: 35.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/9.767, allocations: 41.69 kB / 4.234 GB, free: 35.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/9.767, allocations: 247.6 kB / 4.234 GB, free: 35.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/9.767, allocations: 228.7 kB / 4.235 GB, free: 34.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/9.767, allocations: 16 kB / 4.235 GB, free: 34.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.62e-05/9.767, allocations: 330.8 kB / 4.235 GB, free: 34.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/9.768, allocations: 269.5 kB / 4.235 GB, free: 34.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/9.769, allocations: 340.1 kB / 4.236 GB, free: 33.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/9.769, allocations: 314 kB / 4.236 GB, free: 33.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.116e-06/9.769, allocations: 0 / 4.236 GB, free: 33.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001981/9.771, allocations: 0.8693 MB / 4.237 GB, free: 32.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/9.771, allocations: 7.938 kB / 4.237 GB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.119e-06/9.771, allocations: 0 / 4.237 GB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/9.772, allocations: 274.5 kB / 4.237 GB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/9.773, allocations: 119.8 kB / 4.237 GB, free: 32.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/9.776, allocations: 3.386 MB / 4.24 GB, free: 28.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/9.777, allocations: 68 kB / 4.241 GB, free: 28.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.864e-05/9.777, allocations: 27.98 kB / 4.241 GB, free: 28.46 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.0002166/9.777, allocations: 144.8 kB / 4.241 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/9.777, allocations: 47.52 kB / 4.241 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/9.782, allocations: 1.258 MB / 4.242 GB, free: 27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.88e-06/9.782, allocations: 4 kB / 4.242 GB, free: 27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.41e-06/9.782, allocations: 8 kB / 4.242 GB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003711/9.786, allocations: 1.293 MB / 4.243 GB, free: 25.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/9.788, allocations: 1.609 MB / 4.245 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.033e-06/9.789, allocations: 7.938 kB / 4.245 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/9.789, allocations: 111.9 kB / 4.245 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/9.791, allocations: 304.5 kB / 4.245 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/9.791, allocations: 27.98 kB / 4.245 GB, free: 23.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008451/9.792, allocations: 0.7709 MB / 4.246 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.662e-06/9.792, allocations: 3.953 kB / 4.246 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/9.796, allocations: 1.53 MB / 4.247 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/9.796, allocations: 124.7 kB / 4.248 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/9.796, allocations: 19.98 kB / 4.248 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/9.797, allocations: 63.86 kB / 4.248 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/9.797, allocations: 40.5 kB / 4.248 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.321e-05/9.797, allocations: 31.97 kB / 4.248 GB, free: 20.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000271/9.798, allocations: 219.1 kB / 4.248 GB, free: 20.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.99e-07/9.798, allocations: 0 / 4.248 GB, free: 20.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001886/9.799, allocations: 0.5385 MB / 4.248 GB, free: 20.11 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.002233/9.802, allocations: 1.21 MB / 4.25 GB, free: 18.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/9.803, allocations: 0.8849 MB / 4.251 GB, free: 17.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/9.803, allocations: 0 / 4.251 GB, free: 17.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007982/9.804, allocations: 382.2 kB / 4.251 GB, free: 17.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/9.806, allocations: 288.5 kB / 4.251 GB, free: 17.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/9.809, allocations: 1.055 MB / 4.252 GB, free: 16.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/9.809, allocations: 0.861 MB / 4.253 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/9.809, allocations: 59.42 kB / 4.253 GB, free: 15.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.607e-06/9.809, allocations: 1.781 kB / 4.253 GB, free: 15.29 MB / 410.7 MB Notification: Performance of Templates: time 0.2748/10.08, allocations: 20.91 MB / 4.274 GB, free: 59.39 MB / 410.7 MB