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.881/1.881, allocations: 194.9 MB / 208.4 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.099e-05, allocations: 6.562 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08062/0.08067, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.529/1.609, allocations: 0.636 GB / 0.9288 GB, free: 62.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.61, allocations: 77.39 kB / 0.9289 GB, free: 62.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562/3.172, allocations: 473 MB / 1.391 GB, free: 92.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.79e-06/3.172, allocations: 0 / 1.391 GB, free: 92.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.241e-05/3.172, allocations: 3.938 kB / 1.391 GB, free: 92.79 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.001357/3.173, allocations: 0.7055 MB / 1.392 GB, free: 92.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/3.174, allocations: 12.72 kB / 1.392 GB, free: 92.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005686/3.174, allocations: 55.98 kB / 1.392 GB, free: 92.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/3.174, allocations: 283 kB / 1.392 GB, free: 92.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/3.175, allocations: 22.66 kB / 1.392 GB, free: 92.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/3.175, allocations: 24.91 kB / 1.392 GB, free: 92.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/3.175, allocations: 335.2 kB / 1.392 GB, free: 91.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/3.175, allocations: 7.906 kB / 1.392 GB, free: 91.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/3.175, allocations: 10.38 kB / 1.392 GB, free: 91.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.663e-06/3.175, allocations: 6.969 kB / 1.392 GB, free: 91.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/3.176, allocations: 199.5 kB / 1.392 GB, free: 91.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/3.189, allocations: 5.523 MB / 1.398 GB, free: 88.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/3.19, allocations: 173.5 kB / 1.398 GB, free: 88.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/3.19, allocations: 87.17 kB / 1.398 GB, free: 88.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/3.2, allocations: 3.498 MB / 1.401 GB, free: 85.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/3.2, allocations: 34.69 kB / 1.402 GB, free: 85.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 5.314e-06/3.2, allocations: 3.75 kB / 1.402 GB, free: 85.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.006736/3.207, allocations: 1.267 MB / 1.403 GB, free: 84.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/3.207, allocations: 51.41 kB / 1.403 GB, free: 84.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/3.208, allocations: 230.9 kB / 1.403 GB, free: 84.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/3.208, allocations: 33.52 kB / 1.403 GB, free: 84.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/3.208, allocations: 251.4 kB / 1.403 GB, free: 84.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/3.208, allocations: 89 kB / 1.403 GB, free: 84.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/3.208, allocations: 11.31 kB / 1.403 GB, free: 84.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.04e-05/3.208, allocations: 322.6 kB / 1.404 GB, free: 83.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/3.208, allocations: 89.39 kB / 1.404 GB, free: 83.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/3.208, allocations: 185.3 kB / 1.404 GB, free: 83.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/3.209, allocations: 113.3 kB / 1.404 GB, free: 83.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.58e-06/3.209, allocations: 4 kB / 1.404 GB, free: 83.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008518/3.209, allocations: 381 kB / 1.404 GB, free: 83.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/3.21, allocations: 11.95 kB / 1.404 GB, free: 83.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.652e-06/3.21, allocations: 0 / 1.404 GB, free: 83.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004635/3.214, allocations: 451.2 kB / 1.405 GB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/3.215, allocations: 74.78 kB / 1.405 GB, free: 82.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/3.216, allocations: 1.862 MB / 1.407 GB, free: 81.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/3.216, allocations: 34.45 kB / 1.407 GB, free: 81.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/3.217, allocations: 15.62 kB / 1.407 GB, free: 81 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.0001134/3.217, allocations: 120.9 kB / 1.407 GB, free: 80.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/3.217, allocations: 27.72 kB / 1.407 GB, free: 80.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008859/3.218, allocations: 0.4946 MB / 1.407 GB, free: 80.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/3.218, allocations: 4 kB / 1.407 GB, free: 80.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.292e-06/3.218, allocations: 0 / 1.407 GB, free: 80.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006584/3.218, allocations: 0.7122 MB / 1.408 GB, free: 79.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/3.22, allocations: 0.9517 MB / 1.409 GB, free: 79.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.901e-06/3.22, allocations: 2.438 kB / 1.409 GB, free: 79.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/3.22, allocations: 46.27 kB / 1.409 GB, free: 79.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/3.222, allocations: 290.4 kB / 1.409 GB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/3.222, allocations: 15.75 kB / 1.409 GB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004728/3.222, allocations: 0.6364 MB / 1.41 GB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.574e-06/3.223, allocations: 4.062 kB / 1.41 GB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/3.224, allocations: 0.7312 MB / 1.411 GB, free: 77.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/3.224, allocations: 108.5 kB / 1.411 GB, free: 77.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/3.224, allocations: 8 kB / 1.411 GB, free: 77.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/3.224, allocations: 12.06 kB / 1.411 GB, free: 77.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/3.224, allocations: 22.98 kB / 1.411 GB, free: 77.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/3.224, allocations: 7.703 kB / 1.411 GB, free: 77.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002173/3.224, allocations: 182.6 kB / 1.411 GB, free: 77.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.99e-07/3.224, allocations: 0 / 1.411 GB, free: 77.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001053/3.226, allocations: 210.5 kB / 1.411 GB, free: 77.05 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.001402/3.227, allocations: 488.7 kB / 1.412 GB, free: 76.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009249/3.228, allocations: 442.5 kB / 1.412 GB, free: 76.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.92e-06/3.228, allocations: 0 / 1.412 GB, free: 76.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006461/3.229, allocations: 237.1 kB / 1.412 GB, free: 76.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/3.23, allocations: 155.5 kB / 1.413 GB, free: 75.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/3.231, allocations: 0.6093 MB / 1.413 GB, free: 75.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/3.231, allocations: 0.7851 MB / 1.414 GB, free: 74.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/3.231, allocations: 31.44 kB / 1.414 GB, free: 74.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.85e-06/3.231, allocations: 0 / 1.414 GB, free: 74.53 MB / 410.7 MB Notification: Performance of Templates: time 0.01397/3.245, allocations: 9.212 MB / 1.423 GB, free: 69.34 MB / 410.7 MB