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_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.644e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2512, allocations: 44.5 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.676/1.927, allocations: 0.6354 GB / 0.9226 GB, free: 98.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/1.927, allocations: 79.28 kB / 0.9227 GB, free: 98.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545/3.472, allocations: 461.2 MB / 1.373 GB, free: 92.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.021e-06/3.472, allocations: 0 / 1.373 GB, free: 92.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/3.472, allocations: 7.828 kB / 1.373 GB, free: 92.49 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001223/3.474, allocations: 0.7081 MB / 1.374 GB, free: 91.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/3.474, allocations: 10.06 kB / 1.374 GB, free: 91.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005449/3.474, allocations: 57.59 kB / 1.374 GB, free: 91.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/3.475, allocations: 286.8 kB / 1.374 GB, free: 91.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/3.475, allocations: 7.438 kB / 1.374 GB, free: 91.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/3.475, allocations: 13.81 kB / 1.374 GB, free: 91.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004011/3.475, allocations: 178.8 kB / 1.374 GB, free: 91.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/3.476, allocations: 293.3 kB / 1.375 GB, free: 91.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/3.476, allocations: 6.953 kB / 1.375 GB, free: 91.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/3.476, allocations: 5.25 kB / 1.375 GB, free: 91.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/3.476, allocations: 7.188 kB / 1.375 GB, free: 91.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/3.489, allocations: 5.446 MB / 1.38 GB, free: 87.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/3.489, allocations: 171.9 kB / 1.38 GB, free: 87.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/3.489, allocations: 77.92 kB / 1.38 GB, free: 87.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/3.5, allocations: 3.486 MB / 1.384 GB, free: 85.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/3.5, allocations: 38.72 kB / 1.384 GB, free: 85.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.197e-06/3.5, allocations: 0 / 1.384 GB, free: 85.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.004546/3.504, allocations: 0.9844 MB / 1.385 GB, free: 85.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/3.504, allocations: 59.33 kB / 1.385 GB, free: 85.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/3.505, allocations: 196 kB / 1.385 GB, free: 85.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/3.505, allocations: 25.7 kB / 1.385 GB, free: 85.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/3.505, allocations: 251.2 kB / 1.385 GB, free: 84.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/3.505, allocations: 89.33 kB / 1.385 GB, free: 84.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/3.505, allocations: 0 / 1.385 GB, free: 84.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/3.505, allocations: 327.8 kB / 1.385 GB, free: 84.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/3.505, allocations: 85.41 kB / 1.386 GB, free: 84.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/3.505, allocations: 176.9 kB / 1.386 GB, free: 84.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/3.507, allocations: 189.2 kB / 1.386 GB, free: 84.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/3.507, allocations: 4 kB / 1.386 GB, free: 84.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001621/3.508, allocations: 420.3 kB / 1.386 GB, free: 84.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/3.508, allocations: 13.59 kB / 1.386 GB, free: 84.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.332e-06/3.508, allocations: 384 / 1.386 GB, free: 84.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/3.509, allocations: 72.14 kB / 1.386 GB, free: 84.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/3.509, allocations: 71.02 kB / 1.386 GB, free: 84.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/3.511, allocations: 1.875 MB / 1.388 GB, free: 82.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/3.511, allocations: 17.34 kB / 1.388 GB, free: 82.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/3.511, allocations: 12.22 kB / 1.388 GB, free: 82.32 MB / 394.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.0001136/3.511, allocations: 112 kB / 1.388 GB, free: 82.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/3.511, allocations: 35.27 kB / 1.388 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/3.513, allocations: 467.3 kB / 1.389 GB, free: 81.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/3.513, allocations: 6.812 kB / 1.389 GB, free: 81.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.204e-06/3.513, allocations: 0 / 1.389 GB, free: 81.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000941/3.514, allocations: 0.7021 MB / 1.39 GB, free: 81.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/3.515, allocations: 0.8748 MB / 1.39 GB, free: 80.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.477e-06/3.515, allocations: 8.031 kB / 1.39 GB, free: 80.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/3.516, allocations: 47.62 kB / 1.39 GB, free: 80.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/3.516, allocations: 97.52 kB / 1.391 GB, free: 80.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/3.516, allocations: 0 / 1.391 GB, free: 80.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005807/3.516, allocations: 0.6776 MB / 1.391 GB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-06/3.517, allocations: 0 / 1.391 GB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/3.518, allocations: 0.7041 MB / 1.392 GB, free: 78.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/3.518, allocations: 104.9 kB / 1.392 GB, free: 78.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/3.518, allocations: 0 / 1.392 GB, free: 78.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/3.518, allocations: 15.33 kB / 1.392 GB, free: 78.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/3.518, allocations: 19.41 kB / 1.392 GB, free: 78.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/3.518, allocations: 7.656 kB / 1.392 GB, free: 78.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001587/3.519, allocations: 155.9 kB / 1.392 GB, free: 78.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.14e-06/3.519, allocations: 4 kB / 1.392 GB, free: 78.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001083/3.52, allocations: 198.9 kB / 1.392 GB, free: 78.32 MB / 394.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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001313/3.521, allocations: 0.4903 MB / 1.393 GB, free: 77.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008599/3.522, allocations: 422.2 kB / 1.393 GB, free: 77.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/3.522, allocations: 0 / 1.393 GB, free: 77.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003884/3.522, allocations: 200.4 kB / 1.393 GB, free: 77.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/3.523, allocations: 135.2 kB / 1.394 GB, free: 77.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/3.524, allocations: 0.5821 MB / 1.394 GB, free: 76.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/3.525, allocations: 0.7826 MB / 1.395 GB, free: 75.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/3.525, allocations: 27.44 kB / 1.395 GB, free: 75.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.674e-06/3.525, allocations: 0 / 1.395 GB, free: 75.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01329/3.538, allocations: 8.924 MB / 1.404 GB, free: 70.85 MB / 394.7 MB