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.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.8/1.8, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.974e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 38.77 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.447/1.661, allocations: 0.6307 GB / 0.8883 GB, free: 28.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/1.662, allocations: 75.2 kB / 0.8883 GB, free: 28.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5908/2.252, allocations: 149.5 MB / 1.034 GB, free: 35.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.212e-06/2.252, allocations: 0 / 1.034 GB, free: 35.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.935e-05/2.253, allocations: 12 kB / 1.034 GB, free: 35.44 MB / 362.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.00119/2.254, allocations: 0.6512 MB / 1.035 GB, free: 34.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/2.254, allocations: 12.02 kB / 1.035 GB, free: 34.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007858/2.255, allocations: 79.41 kB / 1.035 GB, free: 34.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/2.255, allocations: 326.3 kB / 1.035 GB, free: 34.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/2.255, allocations: 32.78 kB / 1.035 GB, free: 34.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/2.255, allocations: 40 kB / 1.035 GB, free: 34.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/2.256, allocations: 458.6 kB / 1.036 GB, free: 33.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/2.256, allocations: 7.906 kB / 1.036 GB, free: 33.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/2.256, allocations: 16 kB / 1.036 GB, free: 33.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/2.256, allocations: 8 kB / 1.036 GB, free: 33.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/2.257, allocations: 289.4 kB / 1.036 GB, free: 33.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/2.269, allocations: 6.344 MB / 1.042 GB, free: 26.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/2.27, allocations: 274.8 kB / 1.043 GB, free: 26.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/2.27, allocations: 148.8 kB / 1.043 GB, free: 26.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/2.281, allocations: 3.487 MB / 1.046 GB, free: 22.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/2.281, allocations: 38.56 kB / 1.046 GB, free: 22.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.584e-06/2.281, allocations: 4 kB / 1.046 GB, free: 22.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01295/2.294, allocations: 2.27 MB / 1.048 GB, free: 19.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/2.294, allocations: 55.41 kB / 1.049 GB, free: 19.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/2.294, allocations: 267.3 kB / 1.049 GB, free: 19.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/2.294, allocations: 33.7 kB / 1.049 GB, free: 19.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/2.295, allocations: 220 kB / 1.049 GB, free: 19.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/2.295, allocations: 165.6 kB / 1.049 GB, free: 19.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/2.295, allocations: 8 kB / 1.049 GB, free: 19.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/2.295, allocations: 350.8 kB / 1.05 GB, free: 18.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/2.295, allocations: 149.1 kB / 1.05 GB, free: 18.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/2.295, allocations: 262.6 kB / 1.05 GB, free: 18.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/2.296, allocations: 193.6 kB / 1.05 GB, free: 18.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.694e-06/2.296, allocations: 7.938 kB / 1.05 GB, free: 18.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001314/2.297, allocations: 0.5645 MB / 1.051 GB, free: 17.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/2.297, allocations: 4 kB / 1.051 GB, free: 17.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/2.297, allocations: 4 kB / 1.051 GB, free: 17.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009012/2.306, allocations: 0.8692 MB / 1.052 GB, free: 16.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/2.307, allocations: 111.8 kB / 1.052 GB, free: 16.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/2.309, allocations: 2.455 MB / 1.054 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/2.309, allocations: 36.02 kB / 1.054 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/2.309, allocations: 24 kB / 1.054 GB, free: 13.86 MB / 362.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.0001457/2.31, allocations: 136.8 kB / 1.054 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/2.31, allocations: 43.52 kB / 1.054 GB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/2.311, allocations: 0.8434 MB / 1.055 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/2.311, allocations: 7.984 kB / 1.055 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-06/2.311, allocations: 0 / 1.055 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/2.312, allocations: 0.9457 MB / 1.056 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/2.315, allocations: 1.488 MB / 1.057 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/2.315, allocations: 4 kB / 1.057 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/2.315, allocations: 79.89 kB / 1.058 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/2.319, allocations: 0.575 MB / 1.058 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/2.319, allocations: 15.98 kB / 1.058 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008951/2.32, allocations: 1.28 MB / 1.059 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/2.32, allocations: 0 / 1.059 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/2.322, allocations: 1.217 MB / 1.061 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/2.322, allocations: 120.6 kB / 1.061 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/2.322, allocations: 12 kB / 1.061 GB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/2.322, allocations: 27.89 kB / 1.061 GB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/2.322, allocations: 27.92 kB / 1.061 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/2.322, allocations: 19.98 kB / 1.061 GB, free: 6.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000275/2.323, allocations: 207.1 kB / 1.061 GB, free: 6.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.71e-07/2.323, allocations: 0 / 1.061 GB, free: 6.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001207/2.324, allocations: 251.8 kB / 1.061 GB, free: 6.293 MB / 362.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.001412/2.325, allocations: 452.4 kB / 1.062 GB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/2.327, allocations: 0.6617 MB / 1.062 GB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/2.327, allocations: 0 / 1.062 GB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/2.328, allocations: 444.2 kB / 1.063 GB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/2.33, allocations: 228.4 kB / 1.063 GB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/2.332, allocations: 0.9646 MB / 1.064 GB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/2.332, allocations: 0.8441 MB / 1.065 GB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004689/2.332, allocations: 64.36 kB / 1.065 GB, free: 2.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/2.333, allocations: 43.42 kB / 1.065 GB, free: 2.547 MB / 362.7 MB Notification: Performance of SimCode: time 1.814e-06/2.333, allocations: 0 / 1.065 GB, free: 2.547 MB / 362.7 MB Notification: Performance of Templates: time 0.3675/2.7, allocations: 13.02 MB / 1.077 GB, free: 75.34 MB / 362.7 MB