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_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.118e-05, allocations: 0 / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.0794, allocations: 44.5 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.647/1.727, allocations: 0.636 GB / 0.9288 GB, free: 62.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.727, allocations: 77.83 kB / 0.9289 GB, free: 62.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6509/2.378, allocations: 149.5 MB / 1.075 GB, free: 89.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.649e-06/2.378, allocations: 0 / 1.075 GB, free: 89.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.721e-05/2.378, allocations: 8.938 kB / 1.075 GB, free: 89.71 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.001225/2.379, allocations: 0.6627 MB / 1.076 GB, free: 89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/2.379, allocations: 8.031 kB / 1.076 GB, free: 89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/2.38, allocations: 71.5 kB / 1.076 GB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/2.381, allocations: 338.4 kB / 1.076 GB, free: 88.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/2.381, allocations: 28.78 kB / 1.076 GB, free: 88.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/2.381, allocations: 48 kB / 1.076 GB, free: 88.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007597/2.382, allocations: 442.8 kB / 1.076 GB, free: 88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/2.382, allocations: 7.938 kB / 1.076 GB, free: 88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/2.382, allocations: 20 kB / 1.076 GB, free: 87.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/2.382, allocations: 12 kB / 1.076 GB, free: 87.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/2.382, allocations: 285.4 kB / 1.077 GB, free: 87.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/2.395, allocations: 6.335 MB / 1.083 GB, free: 80.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/2.396, allocations: 284.4 kB / 1.083 GB, free: 80.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/2.396, allocations: 140.9 kB / 1.083 GB, free: 80.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00986/2.406, allocations: 3.498 MB / 1.087 GB, free: 76.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/2.406, allocations: 42.56 kB / 1.087 GB, free: 76.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 4.055e-06/2.406, allocations: 0 / 1.087 GB, free: 76.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01276/2.419, allocations: 2.265 MB / 1.089 GB, free: 74.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/2.419, allocations: 59.41 kB / 1.089 GB, free: 74.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/2.419, allocations: 263.2 kB / 1.089 GB, free: 73.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/2.419, allocations: 37.7 kB / 1.089 GB, free: 73.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/2.419, allocations: 227 kB / 1.09 GB, free: 73.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/2.419, allocations: 157 kB / 1.09 GB, free: 73.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/2.419, allocations: 12 kB / 1.09 GB, free: 73.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/2.419, allocations: 350.8 kB / 1.09 GB, free: 73.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/2.42, allocations: 149.1 kB / 1.09 GB, free: 72.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/2.42, allocations: 262.7 kB / 1.09 GB, free: 72.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/2.421, allocations: 189.6 kB / 1.091 GB, free: 72.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.66e-06/2.421, allocations: 0 / 1.091 GB, free: 72.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001301/2.422, allocations: 0.5683 MB / 1.091 GB, free: 71.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/2.422, allocations: 11.95 kB / 1.091 GB, free: 71.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/2.422, allocations: 4 kB / 1.091 GB, free: 71.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008929/2.431, allocations: 0.8653 MB / 1.092 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/2.432, allocations: 111.8 kB / 1.092 GB, free: 70.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/2.433, allocations: 2.447 MB / 1.095 GB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/2.434, allocations: 51.95 kB / 1.095 GB, free: 68.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/2.434, allocations: 23.98 kB / 1.095 GB, free: 68.19 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.0001367/2.434, allocations: 128.9 kB / 1.095 GB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/2.434, allocations: 35.62 kB / 1.095 GB, free: 68.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/2.436, allocations: 0.851 MB / 1.096 GB, free: 67.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/2.436, allocations: 11.98 kB / 1.096 GB, free: 67.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/2.436, allocations: 7.953 kB / 1.096 GB, free: 67.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/2.437, allocations: 0.9495 MB / 1.097 GB, free: 66.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/2.439, allocations: 1.485 MB / 1.098 GB, free: 64.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.029e-06/2.439, allocations: 0 / 1.098 GB, free: 64.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/2.439, allocations: 75.89 kB / 1.098 GB, free: 64.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/2.443, allocations: 0.5789 MB / 1.099 GB, free: 63.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.126e-05/2.443, allocations: 15.98 kB / 1.099 GB, free: 63.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008936/2.444, allocations: 1.276 MB / 1.1 GB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.788e-06/2.444, allocations: 0 / 1.1 GB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/2.446, allocations: 1.217 MB / 1.101 GB, free: 61.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/2.446, allocations: 124.6 kB / 1.101 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/2.446, allocations: 8 kB / 1.101 GB, free: 61.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/2.446, allocations: 27.89 kB / 1.101 GB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/2.447, allocations: 31.95 kB / 1.101 GB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/2.447, allocations: 19.98 kB / 1.101 GB, free: 61.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002558/2.447, allocations: 203.1 kB / 1.101 GB, free: 60.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.447, allocations: 0 / 1.101 GB, free: 60.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001132/2.448, allocations: 243.9 kB / 1.102 GB, free: 60.65 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.001366/2.449, allocations: 452 kB / 1.102 GB, free: 60.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/2.451, allocations: 0.6609 MB / 1.103 GB, free: 59.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.694e-06/2.451, allocations: 4.938 kB / 1.103 GB, free: 59.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/2.452, allocations: 440.1 kB / 1.103 GB, free: 59.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/2.453, allocations: 233 kB / 1.103 GB, free: 58.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/2.455, allocations: 0.9686 MB / 1.104 GB, free: 57.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/2.456, allocations: 0.848 MB / 1.105 GB, free: 57.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004367/2.456, allocations: 68.34 kB / 1.105 GB, free: 56.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/2.456, allocations: 35.44 kB / 1.105 GB, free: 56.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.916e-06/2.456, allocations: 0 / 1.105 GB, free: 56.93 MB / 410.7 MB Notification: Performance of Templates: time 0.02484/2.481, allocations: 13.04 MB / 1.118 GB, free: 43.93 MB / 410.7 MB