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.767/1.767, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.773e-05, allocations: 0 / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07872/0.07877, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.055/8.134, allocations: 3.617 GB / 3.91 GB, free: 51.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/8.134, allocations: 91.94 kB / 3.91 GB, free: 51.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49/9.624, allocations: 321.8 MB / 4.224 GB, free: 53.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.988e-06/9.624, allocations: 3.469 kB / 4.224 GB, free: 53.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/9.624, allocations: 12 kB / 4.224 GB, free: 53.28 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.004437/9.629, allocations: 1.548 MB / 4.225 GB, free: 51.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/9.629, allocations: 12.03 kB / 4.225 GB, free: 51.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/9.629, allocations: 59.48 kB / 4.226 GB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/9.63, allocations: 350.3 kB / 4.226 GB, free: 51.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/9.63, allocations: 33 kB / 4.226 GB, free: 51.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.53e-05/9.63, allocations: 44 kB / 4.226 GB, free: 51.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/9.631, allocations: 498.4 kB / 4.226 GB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/9.631, allocations: 4 kB / 4.226 GB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/9.631, allocations: 16 kB / 4.226 GB, free: 50.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/9.631, allocations: 12 kB / 4.226 GB, free: 50.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/9.632, allocations: 0.5856 MB / 4.227 GB, free: 50.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/9.636, allocations: 2.186 MB / 4.229 GB, free: 47.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/9.637, allocations: 0.5515 MB / 4.23 GB, free: 47.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/9.638, allocations: 254.5 kB / 4.23 GB, free: 46.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005176/9.638, allocations: 0.7009 MB / 4.231 GB, free: 45.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/9.638, allocations: 39 kB / 4.231 GB, free: 45.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 4.04e-06/9.638, allocations: 4 kB / 4.231 GB, free: 45.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01527/9.654, allocations: 3.367 MB / 4.234 GB, free: 42.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/9.654, allocations: 55.97 kB / 4.234 GB, free: 42.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/9.654, allocations: 267.1 kB / 4.234 GB, free: 42.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/9.654, allocations: 37.7 kB / 4.234 GB, free: 42.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/9.654, allocations: 239.6 kB / 4.234 GB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/9.655, allocations: 228.7 kB / 4.235 GB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/9.655, allocations: 12 kB / 4.235 GB, free: 41.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/9.655, allocations: 334.8 kB / 4.235 GB, free: 41.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/9.655, allocations: 277.5 kB / 4.235 GB, free: 41.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/9.656, allocations: 345.6 kB / 4.236 GB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/9.657, allocations: 318 kB / 4.236 GB, free: 40.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-06/9.657, allocations: 0 / 4.236 GB, free: 40.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002079/9.659, allocations: 0.8732 MB / 4.237 GB, free: 39.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/9.659, allocations: 8.781 kB / 4.237 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.628e-06/9.659, allocations: 4 kB / 4.237 GB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/9.66, allocations: 270.1 kB / 4.237 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/9.661, allocations: 123.8 kB / 4.237 GB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/9.663, allocations: 3.393 MB / 4.24 GB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/9.664, allocations: 68.08 kB / 4.241 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/9.664, allocations: 35.36 kB / 4.241 GB, free: 35.32 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.0002081/9.664, allocations: 144.8 kB / 4.241 GB, free: 35.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/9.665, allocations: 43.53 kB / 4.241 GB, free: 35.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/9.669, allocations: 1.258 MB / 4.242 GB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/9.669, allocations: 8 kB / 4.242 GB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.736e-06/9.669, allocations: 0 / 4.242 GB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003758/9.673, allocations: 1.297 MB / 4.243 GB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/9.676, allocations: 1.618 MB / 4.245 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.824e-06/9.676, allocations: 0 / 4.245 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/9.677, allocations: 111.9 kB / 4.245 GB, free: 30.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/9.678, allocations: 308.3 kB / 4.245 GB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/9.678, allocations: 27.97 kB / 4.245 GB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00085/9.679, allocations: 0.7749 MB / 4.246 GB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.781e-06/9.679, allocations: 3.953 kB / 4.246 GB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004303/9.683, allocations: 1.522 MB / 4.248 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/9.684, allocations: 116.7 kB / 4.248 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/9.684, allocations: 20 kB / 4.248 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/9.685, allocations: 63.88 kB / 4.248 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/9.685, allocations: 40.5 kB / 4.248 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.156e-05/9.685, allocations: 35.97 kB / 4.248 GB, free: 27.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002759/9.685, allocations: 219 kB / 4.248 GB, free: 27.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.16e-07/9.685, allocations: 0 / 4.248 GB, free: 27.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0019/9.687, allocations: 0.5347 MB / 4.249 GB, free: 26.97 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.002346/9.689, allocations: 1.201 MB / 4.25 GB, free: 25.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/9.691, allocations: 0.916 MB / 4.251 GB, free: 24.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/9.691, allocations: 3.938 kB / 4.251 GB, free: 24.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000891/9.692, allocations: 375.5 kB / 4.251 GB, free: 24.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/9.694, allocations: 292.5 kB / 4.251 GB, free: 24.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/9.697, allocations: 1.055 MB / 4.252 GB, free: 23.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/9.697, allocations: 0.8611 MB / 4.253 GB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/9.698, allocations: 59.42 kB / 4.253 GB, free: 22.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.796e-06/9.698, allocations: 0 / 4.253 GB, free: 22.12 MB / 410.7 MB Notification: Performance of Templates: time 0.02899/9.727, allocations: 20.85 MB / 4.274 GB, free: 1.258 MB / 410.7 MB