Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.767e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3326, allocations: 44.49 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.478/1.81, allocations: 0.6353 GB / 0.9225 GB, free: 98.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.81, allocations: 75.95 kB / 0.9226 GB, free: 98.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.609/2.419, allocations: 148.9 MB / 1.068 GB, free: 93.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.215e-06/2.42, allocations: 0 / 1.068 GB, free: 93.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/2.42, allocations: 7.812 kB / 1.068 GB, free: 93.85 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001151/2.421, allocations: 0.6663 MB / 1.069 GB, free: 93.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/2.421, allocations: 7.812 kB / 1.069 GB, free: 93.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/2.422, allocations: 72.69 kB / 1.069 GB, free: 93.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/2.422, allocations: 342 kB / 1.069 GB, free: 93.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/2.422, allocations: 11.38 kB / 1.069 GB, free: 93.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/2.422, allocations: 32.91 kB / 1.069 GB, free: 93.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005486/2.423, allocations: 257.9 kB / 1.069 GB, free: 92.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007041/2.423, allocations: 388.6 kB / 1.07 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/2.423, allocations: 11.56 kB / 1.07 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/2.424, allocations: 1.688 kB / 1.07 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/2.424, allocations: 9.375 kB / 1.07 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/2.437, allocations: 6.252 MB / 1.076 GB, free: 88.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/2.438, allocations: 260.8 kB / 1.076 GB, free: 88.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/2.438, allocations: 139 kB / 1.076 GB, free: 88.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/2.449, allocations: 3.487 MB / 1.08 GB, free: 85.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/2.449, allocations: 42.42 kB / 1.08 GB, free: 85.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.62e-06/2.449, allocations: 0 / 1.08 GB, free: 85.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.008141/2.457, allocations: 1.619 MB / 1.081 GB, free: 84.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/2.457, allocations: 55.34 kB / 1.081 GB, free: 84.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/2.458, allocations: 227.8 kB / 1.082 GB, free: 84.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/2.458, allocations: 29.58 kB / 1.082 GB, free: 84.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/2.458, allocations: 285.8 kB / 1.082 GB, free: 84.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/2.458, allocations: 157.1 kB / 1.082 GB, free: 84.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/2.458, allocations: 0 / 1.082 GB, free: 84.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/2.458, allocations: 330.2 kB / 1.082 GB, free: 83.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/2.458, allocations: 138 kB / 1.082 GB, free: 83.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/2.459, allocations: 247.8 kB / 1.083 GB, free: 83.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/2.461, allocations: 330.6 kB / 1.083 GB, free: 83.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/2.461, allocations: 0 / 1.083 GB, free: 83.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002909/2.464, allocations: 0.658 MB / 1.084 GB, free: 83.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/2.464, allocations: 3.844 kB / 1.084 GB, free: 83.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/2.464, allocations: 3.875 kB / 1.084 GB, free: 83.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004806/2.464, allocations: 113.1 kB / 1.084 GB, free: 83.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/2.465, allocations: 113 kB / 1.084 GB, free: 82.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/2.467, allocations: 2.521 MB / 1.086 GB, free: 80.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/2.468, allocations: 31.61 kB / 1.086 GB, free: 80.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/2.468, allocations: 23.44 kB / 1.086 GB, free: 80.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001414/2.468, allocations: 124.2 kB / 1.087 GB, free: 80.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.302e-05/2.468, allocations: 32.34 kB / 1.087 GB, free: 80.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/2.47, allocations: 0.8091 MB / 1.087 GB, free: 79.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/2.47, allocations: 15.56 kB / 1.087 GB, free: 79.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.714e-06/2.47, allocations: 0 / 1.087 GB, free: 79.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001638/2.472, allocations: 0.9175 MB / 1.088 GB, free: 79.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/2.475, allocations: 1.377 MB / 1.09 GB, free: 78.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.24e-06/2.475, allocations: 6.672 kB / 1.09 GB, free: 78.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/2.475, allocations: 75.31 kB / 1.09 GB, free: 78.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006423/2.476, allocations: 180.8 kB / 1.09 GB, free: 78.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/2.476, allocations: 11.78 kB / 1.09 GB, free: 78.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/2.477, allocations: 1.356 MB / 1.091 GB, free: 76.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.093e-06/2.477, allocations: 0 / 1.091 GB, free: 76.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/2.48, allocations: 1.174 MB / 1.092 GB, free: 75.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/2.48, allocations: 116.7 kB / 1.092 GB, free: 75.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/2.48, allocations: 6.688 kB / 1.092 GB, free: 75.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/2.48, allocations: 23.83 kB / 1.092 GB, free: 75.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/2.481, allocations: 23.97 kB / 1.092 GB, free: 75.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/2.481, allocations: 19.98 kB / 1.092 GB, free: 75.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000205/2.481, allocations: 174 kB / 1.093 GB, free: 75.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.79e-07/2.481, allocations: 4 kB / 1.093 GB, free: 75.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001126/2.482, allocations: 228.1 kB / 1.093 GB, free: 75.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/2.483, allocations: 466.2 kB / 1.093 GB, free: 74.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/2.485, allocations: 0.6344 MB / 1.094 GB, free: 74.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.52e-06/2.485, allocations: 0 / 1.094 GB, free: 74.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006857/2.485, allocations: 392 kB / 1.094 GB, free: 73.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/2.487, allocations: 186.1 kB / 1.094 GB, free: 73.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/2.488, allocations: 0.9715 MB / 1.095 GB, free: 72.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/2.489, allocations: 0.8586 MB / 1.096 GB, free: 71.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/2.489, allocations: 43.42 kB / 1.096 GB, free: 71.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.657e-06/2.489, allocations: 0 / 1.096 GB, free: 71.86 MB / 394.7 MB Notification: Performance of Templates: time 0.01737/2.506, allocations: 12.88 MB / 1.109 GB, free: 58.99 MB / 394.7 MB