Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.649e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07847/0.07852, allocations: 44.49 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.621/1.7, allocations: 0.636 GB / 0.9289 GB, free: 78.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/1.7, allocations: 75.95 kB / 0.929 GB, free: 78.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.739/3.439, allocations: 473 MB / 1.391 GB, free: 94.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.252e-06/3.439, allocations: 0 / 1.391 GB, free: 94.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/3.439, allocations: 12.25 kB / 1.391 GB, free: 94.11 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001323/3.44, allocations: 0.705 MB / 1.392 GB, free: 93.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/3.44, allocations: 11.53 kB / 1.392 GB, free: 93.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/3.441, allocations: 56.31 kB / 1.392 GB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/3.441, allocations: 280.2 kB / 1.392 GB, free: 93.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/3.441, allocations: 20.78 kB / 1.392 GB, free: 93.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/3.442, allocations: 24.19 kB / 1.392 GB, free: 93.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/3.442, allocations: 330.6 kB / 1.392 GB, free: 93.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/3.442, allocations: 3.906 kB / 1.392 GB, free: 93.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/3.442, allocations: 12.41 kB / 1.392 GB, free: 93.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/3.442, allocations: 7.5 kB / 1.392 GB, free: 93.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/3.443, allocations: 199 kB / 1.392 GB, free: 93.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/3.455, allocations: 5.522 MB / 1.398 GB, free: 89.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/3.456, allocations: 163.6 kB / 1.398 GB, free: 89.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/3.456, allocations: 98.97 kB / 1.398 GB, free: 89.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/3.468, allocations: 3.497 MB / 1.402 GB, free: 88.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/3.468, allocations: 30.75 kB / 1.402 GB, free: 88.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.406e-06/3.468, allocations: 1.312 kB / 1.402 GB, free: 88.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.007908/3.476, allocations: 1.253 MB / 1.403 GB, free: 87.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/3.476, allocations: 62.69 kB / 1.403 GB, free: 87.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/3.476, allocations: 234.4 kB / 1.403 GB, free: 87.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/3.476, allocations: 28.7 kB / 1.403 GB, free: 87.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/3.476, allocations: 187.2 kB / 1.403 GB, free: 87.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/3.476, allocations: 92.92 kB / 1.403 GB, free: 87.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/3.476, allocations: 6.812 kB / 1.403 GB, free: 87.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/3.476, allocations: 339.6 kB / 1.404 GB, free: 87.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/3.477, allocations: 86.39 kB / 1.404 GB, free: 87.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/3.477, allocations: 184.8 kB / 1.404 GB, free: 87.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/3.477, allocations: 117.4 kB / 1.404 GB, free: 87.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.771e-06/3.477, allocations: 3.344 kB / 1.404 GB, free: 87.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009406/3.478, allocations: 373.8 kB / 1.404 GB, free: 87.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/3.478, allocations: 11.02 kB / 1.404 GB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/3.478, allocations: 2.5 kB / 1.404 GB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004587/3.483, allocations: 460.1 kB / 1.405 GB, free: 87.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/3.483, allocations: 71.28 kB / 1.405 GB, free: 87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/3.485, allocations: 1.864 MB / 1.407 GB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/3.485, allocations: 22.39 kB / 1.407 GB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/3.485, allocations: 14.75 kB / 1.407 GB, free: 85.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00011/3.485, allocations: 131.4 kB / 1.407 GB, free: 85.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/3.485, allocations: 31.33 kB / 1.407 GB, free: 85.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/3.486, allocations: 489.9 kB / 1.407 GB, free: 85.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/3.486, allocations: 3.938 kB / 1.407 GB, free: 85.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.465e-06/3.486, allocations: 4 kB / 1.407 GB, free: 85.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006876/3.487, allocations: 0.715 MB / 1.408 GB, free: 84.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/3.488, allocations: 0.9429 MB / 1.409 GB, free: 84.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/3.488, allocations: 0 / 1.409 GB, free: 84.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/3.489, allocations: 39.34 kB / 1.409 GB, free: 84.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/3.491, allocations: 304.1 kB / 1.409 GB, free: 84.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/3.491, allocations: 10.53 kB / 1.409 GB, free: 84.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005026/3.491, allocations: 0.6408 MB / 1.41 GB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.404e-06/3.491, allocations: 0 / 1.41 GB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/3.493, allocations: 0.7273 MB / 1.411 GB, free: 83.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/3.493, allocations: 108.5 kB / 1.411 GB, free: 83.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/3.493, allocations: 11.89 kB / 1.411 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/3.493, allocations: 15.53 kB / 1.411 GB, free: 83.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/3.493, allocations: 20.53 kB / 1.411 GB, free: 83.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/3.493, allocations: 11.48 kB / 1.411 GB, free: 83.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002129/3.493, allocations: 186 kB / 1.411 GB, free: 83.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.038e-06/3.493, allocations: 0 / 1.411 GB, free: 83.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001033/3.495, allocations: 205.5 kB / 1.411 GB, free: 82.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001403/3.496, allocations: 0.4893 MB / 1.412 GB, free: 82.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009102/3.497, allocations: 419.2 kB / 1.412 GB, free: 82.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.484e-06/3.497, allocations: 0 / 1.412 GB, free: 82.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00069/3.498, allocations: 239 kB / 1.412 GB, free: 82.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/3.499, allocations: 165 kB / 1.413 GB, free: 82.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/3.5, allocations: 0.5687 MB / 1.413 GB, free: 81.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/3.5, allocations: 0.7823 MB / 1.414 GB, free: 80.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003054/3.5, allocations: 43 kB / 1.414 GB, free: 80.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/3.501, allocations: 27.44 kB / 1.414 GB, free: 80.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.827e-06/3.501, allocations: 0 / 1.414 GB, free: 80.67 MB / 410.7 MB Notification: Performance of Templates: time 0.02302/3.524, allocations: 11.23 MB / 1.425 GB, free: 74.37 MB / 410.7 MB