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.868/1.868, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.245e-05, allocations: 3.984 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07857/0.07862, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.536/1.614, allocations: 0.636 GB / 0.9289 GB, free: 62.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.614, allocations: 79.58 kB / 0.9289 GB, free: 62.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542/3.156, allocations: 473 MB / 1.391 GB, free: 93.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.36e-06/3.156, allocations: 1.641 kB / 1.391 GB, free: 93.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.076e-05/3.156, allocations: 5.219 kB / 1.391 GB, free: 93.08 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.001326/3.158, allocations: 0.706 MB / 1.392 GB, free: 92.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/3.158, allocations: 9.594 kB / 1.392 GB, free: 92.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005675/3.158, allocations: 53.36 kB / 1.392 GB, free: 92.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/3.159, allocations: 285.2 kB / 1.392 GB, free: 92.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/3.159, allocations: 19.62 kB / 1.392 GB, free: 92.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/3.159, allocations: 29.81 kB / 1.392 GB, free: 92.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/3.159, allocations: 319.4 kB / 1.392 GB, free: 92.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/3.159, allocations: 6.531 kB / 1.392 GB, free: 92.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/3.16, allocations: 12.81 kB / 1.392 GB, free: 92.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/3.16, allocations: 9.25 kB / 1.392 GB, free: 92.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/3.16, allocations: 197.2 kB / 1.392 GB, free: 92.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/3.173, allocations: 5.525 MB / 1.398 GB, free: 88.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/3.173, allocations: 176.4 kB / 1.398 GB, free: 88.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/3.173, allocations: 90.98 kB / 1.398 GB, free: 88.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009693/3.183, allocations: 3.492 MB / 1.401 GB, free: 85.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/3.183, allocations: 36.62 kB / 1.402 GB, free: 85.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.48e-06/3.183, allocations: 2.531 kB / 1.402 GB, free: 85.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.006612/3.19, allocations: 1.252 MB / 1.403 GB, free: 84.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/3.19, allocations: 63.28 kB / 1.403 GB, free: 84.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/3.19, allocations: 229.5 kB / 1.403 GB, free: 84.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/3.19, allocations: 28.95 kB / 1.403 GB, free: 84.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.967e-05/3.19, allocations: 244.8 kB / 1.403 GB, free: 84.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/3.19, allocations: 92.55 kB / 1.403 GB, free: 84.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/3.19, allocations: 3.562 kB / 1.403 GB, free: 84.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.155e-05/3.19, allocations: 331.4 kB / 1.404 GB, free: 83.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/3.191, allocations: 91.22 kB / 1.404 GB, free: 83.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/3.191, allocations: 181.4 kB / 1.404 GB, free: 83.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/3.191, allocations: 112 kB / 1.404 GB, free: 83.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.466e-06/3.191, allocations: 4.656 kB / 1.404 GB, free: 83.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008222/3.192, allocations: 362.1 kB / 1.404 GB, free: 83.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/3.192, allocations: 8 kB / 1.404 GB, free: 83.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/3.192, allocations: 3.844 kB / 1.404 GB, free: 83.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004565/3.197, allocations: 457.4 kB / 1.405 GB, free: 83.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/3.197, allocations: 71.88 kB / 1.405 GB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/3.198, allocations: 1.873 MB / 1.407 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/3.199, allocations: 26.16 kB / 1.407 GB, free: 81.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/3.199, allocations: 15.23 kB / 1.407 GB, free: 81.12 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.0001072/3.199, allocations: 121.8 kB / 1.407 GB, free: 81.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/3.199, allocations: 37.64 kB / 1.407 GB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/3.2, allocations: 477.9 kB / 1.407 GB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/3.2, allocations: 7.703 kB / 1.407 GB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-06/3.2, allocations: 4 kB / 1.407 GB, free: 80.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006721/3.201, allocations: 0.7115 MB / 1.408 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/3.202, allocations: 0.9538 MB / 1.409 GB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.558e-06/3.202, allocations: 0 / 1.409 GB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/3.202, allocations: 50.45 kB / 1.409 GB, free: 79.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/3.204, allocations: 292.6 kB / 1.409 GB, free: 78.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/3.204, allocations: 11.7 kB / 1.409 GB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004617/3.205, allocations: 0.6451 MB / 1.41 GB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.128e-06/3.205, allocations: 0 / 1.41 GB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/3.206, allocations: 0.7214 MB / 1.411 GB, free: 77.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/3.206, allocations: 108.2 kB / 1.411 GB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/3.206, allocations: 11.95 kB / 1.411 GB, free: 77.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/3.206, allocations: 14.11 kB / 1.411 GB, free: 77.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/3.206, allocations: 15.69 kB / 1.411 GB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/3.206, allocations: 12 kB / 1.411 GB, free: 77.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002111/3.207, allocations: 181.8 kB / 1.411 GB, free: 77.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.08e-07/3.207, allocations: 0 / 1.411 GB, free: 77.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001067/3.208, allocations: 206.5 kB / 1.411 GB, free: 77.1 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.001463/3.209, allocations: 499.1 kB / 1.412 GB, free: 76.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000957/3.21, allocations: 417.1 kB / 1.412 GB, free: 76.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.245e-06/3.21, allocations: 0 / 1.412 GB, free: 76.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/3.211, allocations: 240.1 kB / 1.412 GB, free: 76.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/3.212, allocations: 160.8 kB / 1.413 GB, free: 75.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/3.213, allocations: 0.5999 MB / 1.413 GB, free: 75.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/3.213, allocations: 0.7932 MB / 1.414 GB, free: 74.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/3.214, allocations: 27.44 kB / 1.414 GB, free: 74.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.757e-06/3.214, allocations: 0 / 1.414 GB, free: 74.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01359/3.227, allocations: 9.202 MB / 1.423 GB, free: 69.39 MB / 410.7 MB