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.798/1.798, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.263e-05, allocations: 3.188 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08176, allocations: 44.5 MB / 299.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.526/1.608, allocations: 0.636 GB / 0.9288 GB, free: 62.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.608, allocations: 76.89 kB / 0.9288 GB, free: 62.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6194/2.228, allocations: 149.5 MB / 1.075 GB, free: 90.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.942e-06/2.228, allocations: 0 / 1.075 GB, free: 90.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/2.228, allocations: 8 kB / 1.075 GB, free: 90 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001243/2.229, allocations: 0.6552 MB / 1.075 GB, free: 89.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/2.229, allocations: 16.03 kB / 1.076 GB, free: 89.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007249/2.23, allocations: 71.5 kB / 1.076 GB, free: 89.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/2.23, allocations: 337.9 kB / 1.076 GB, free: 88.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/2.23, allocations: 28.78 kB / 1.076 GB, free: 88.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/2.23, allocations: 36 kB / 1.076 GB, free: 88.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007523/2.231, allocations: 456.3 kB / 1.076 GB, free: 88.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/2.231, allocations: 4 kB / 1.076 GB, free: 88.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/2.231, allocations: 16 kB / 1.076 GB, free: 88.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/2.231, allocations: 12 kB / 1.076 GB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/2.232, allocations: 294.9 kB / 1.077 GB, free: 87.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/2.245, allocations: 6.338 MB / 1.083 GB, free: 81.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/2.245, allocations: 275 kB / 1.083 GB, free: 80.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/2.246, allocations: 151.7 kB / 1.083 GB, free: 80.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/2.256, allocations: 3.488 MB / 1.087 GB, free: 76.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/2.256, allocations: 46.42 kB / 1.087 GB, free: 76.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.74e-06/2.256, allocations: 4 kB / 1.087 GB, free: 76.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01282/2.269, allocations: 2.278 MB / 1.089 GB, free: 74.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/2.269, allocations: 55.41 kB / 1.089 GB, free: 74.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/2.269, allocations: 267.3 kB / 1.089 GB, free: 74.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/2.269, allocations: 29.7 kB / 1.089 GB, free: 74.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/2.269, allocations: 282.4 kB / 1.09 GB, free: 73.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/2.27, allocations: 157 kB / 1.09 GB, free: 73.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/2.27, allocations: 12 kB / 1.09 GB, free: 73.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/2.27, allocations: 330.8 kB / 1.09 GB, free: 73.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/2.27, allocations: 145.1 kB / 1.09 GB, free: 73.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/2.27, allocations: 267.7 kB / 1.09 GB, free: 72.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/2.271, allocations: 193.6 kB / 1.091 GB, free: 72.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.005e-06/2.271, allocations: 4 kB / 1.091 GB, free: 72.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001367/2.272, allocations: 0.5645 MB / 1.091 GB, free: 72.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/2.272, allocations: 4 kB / 1.091 GB, free: 72.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.492e-06/2.272, allocations: 4 kB / 1.091 GB, free: 72.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009282/2.282, allocations: 0.8769 MB / 1.092 GB, free: 71.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/2.282, allocations: 119.7 kB / 1.092 GB, free: 71.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/2.284, allocations: 2.449 MB / 1.095 GB, free: 68.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/2.285, allocations: 40.05 kB / 1.095 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/2.285, allocations: 20 kB / 1.095 GB, free: 68.43 MB / 410.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.0001417/2.285, allocations: 136.8 kB / 1.095 GB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/2.285, allocations: 39.53 kB / 1.095 GB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/2.286, allocations: 0.8511 MB / 1.096 GB, free: 67.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/2.286, allocations: 11.98 kB / 1.096 GB, free: 67.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.904e-06/2.286, allocations: 0 / 1.096 GB, free: 67.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/2.288, allocations: 0.9611 MB / 1.097 GB, free: 66.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/2.29, allocations: 1.472 MB / 1.098 GB, free: 64.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.54e-06/2.29, allocations: 0 / 1.098 GB, free: 64.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/2.29, allocations: 83.89 kB / 1.098 GB, free: 64.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003497/2.294, allocations: 0.5829 MB / 1.099 GB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/2.294, allocations: 12 kB / 1.099 GB, free: 64.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008903/2.295, allocations: 1.28 MB / 1.1 GB, free: 62.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/2.295, allocations: 0 / 1.1 GB, free: 62.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/2.297, allocations: 1.224 MB / 1.101 GB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/2.297, allocations: 120.6 kB / 1.101 GB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.926e-05/2.297, allocations: 11.94 kB / 1.101 GB, free: 61.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/2.297, allocations: 31.89 kB / 1.101 GB, free: 61.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/2.297, allocations: 27.95 kB / 1.101 GB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/2.297, allocations: 19.98 kB / 1.101 GB, free: 61.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002526/2.298, allocations: 207.1 kB / 1.102 GB, free: 61.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.88e-07/2.298, allocations: 0 / 1.102 GB, free: 61.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00114/2.299, allocations: 243.8 kB / 1.102 GB, free: 60.88 MB / 410.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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/2.3, allocations: 444.1 kB / 1.102 GB, free: 60.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/2.302, allocations: 0.6823 MB / 1.103 GB, free: 59.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.985e-06/2.302, allocations: 0 / 1.103 GB, free: 59.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/2.303, allocations: 432.8 kB / 1.103 GB, free: 59.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/2.304, allocations: 236 kB / 1.103 GB, free: 59.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/2.307, allocations: 1.009 MB / 1.104 GB, free: 58.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/2.307, allocations: 0.8402 MB / 1.105 GB, free: 57.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/2.307, allocations: 47.42 kB / 1.105 GB, free: 57.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.735e-06/2.307, allocations: 0 / 1.105 GB, free: 57.17 MB / 410.7 MB Notification: Performance of Templates: time 0.0175/2.325, allocations: 13.16 MB / 1.118 GB, free: 44 MB / 410.7 MB