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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.367e-05, allocations: 4 kB / 292.1 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.09929, allocations: 50.42 MB / 342.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.628/1.728, allocations: 0.5368 GB / 0.8713 GB, free: 120.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.728, allocations: 74.86 kB / 0.8714 GB, free: 120.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.736/2.464, allocations: 147.2 MB / 1.015 GB, free: 90.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.422e-06/2.464, allocations: 0 / 1.015 GB, free: 90.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.926e-05/2.464, allocations: 8.406 kB / 1.015 GB, free: 90.36 MB / 442.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.002151/2.466, allocations: 0.6556 MB / 1.016 GB, free: 90 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/2.466, allocations: 8.75 kB / 1.016 GB, free: 90 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/2.468, allocations: 79.94 kB / 1.016 GB, free: 89.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/2.469, allocations: 331.4 kB / 1.016 GB, free: 89.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/2.469, allocations: 33.56 kB / 1.016 GB, free: 89.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/2.47, allocations: 44.56 kB / 1.016 GB, free: 89.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/2.471, allocations: 443.5 kB / 1.017 GB, free: 89.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/2.472, allocations: 3.156 kB / 1.017 GB, free: 89.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/2.472, allocations: 20.55 kB / 1.017 GB, free: 89.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/2.472, allocations: 13.83 kB / 1.017 GB, free: 89.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/2.473, allocations: 286.5 kB / 1.017 GB, free: 89.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/2.487, allocations: 6.34 MB / 1.023 GB, free: 85.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/2.488, allocations: 260.9 kB / 1.023 GB, free: 85.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/2.488, allocations: 151.9 kB / 1.024 GB, free: 85.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/2.498, allocations: 3.492 MB / 1.027 GB, free: 84.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/2.498, allocations: 37.19 kB / 1.027 GB, free: 84.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 4.968e-06/2.498, allocations: 0.75 kB / 1.027 GB, free: 84.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.01319/2.512, allocations: 2.276 MB / 1.029 GB, free: 83.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/2.512, allocations: 56.78 kB / 1.029 GB, free: 83.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/2.512, allocations: 268.8 kB / 1.03 GB, free: 83.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/2.512, allocations: 34.52 kB / 1.03 GB, free: 83.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/2.512, allocations: 225.3 kB / 1.03 GB, free: 83.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/2.512, allocations: 167 kB / 1.03 GB, free: 83.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/2.513, allocations: 8.844 kB / 1.03 GB, free: 83.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/2.513, allocations: 347.5 kB / 1.03 GB, free: 83.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/2.513, allocations: 147.4 kB / 1.03 GB, free: 83.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/2.513, allocations: 262.6 kB / 1.031 GB, free: 83.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/2.514, allocations: 191 kB / 1.031 GB, free: 83.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.086e-06/2.514, allocations: 2.312 kB / 1.031 GB, free: 83.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001456/2.515, allocations: 0.5668 MB / 1.031 GB, free: 82.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/2.515, allocations: 6.781 kB / 1.031 GB, free: 82.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/2.515, allocations: 5.25 kB / 1.031 GB, free: 82.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009353/2.525, allocations: 0.8684 MB / 1.032 GB, free: 82.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/2.525, allocations: 115.5 kB / 1.032 GB, free: 82.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/2.527, allocations: 2.455 MB / 1.035 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/2.528, allocations: 41.12 kB / 1.035 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/2.528, allocations: 20.56 kB / 1.035 GB, free: 80.57 MB / 442.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.0001451/2.528, allocations: 140.1 kB / 1.035 GB, free: 80.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/2.528, allocations: 42.86 kB / 1.035 GB, free: 80.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/2.53, allocations: 0.8466 MB / 1.036 GB, free: 80.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/2.53, allocations: 6.344 kB / 1.036 GB, free: 80.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.32e-06/2.53, allocations: 0 / 1.036 GB, free: 80.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/2.531, allocations: 0.9603 MB / 1.037 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/2.534, allocations: 1.475 MB / 1.038 GB, free: 79.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.342e-06/2.534, allocations: 5 kB / 1.038 GB, free: 79.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/2.534, allocations: 79.59 kB / 1.038 GB, free: 79.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003743/2.538, allocations: 0.5832 MB / 1.039 GB, free: 79.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/2.538, allocations: 11.78 kB / 1.039 GB, free: 79.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009271/2.539, allocations: 1.272 MB / 1.04 GB, free: 78.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.594e-06/2.539, allocations: 0.9688 kB / 1.04 GB, free: 78.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/2.541, allocations: 1.223 MB / 1.041 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/2.541, allocations: 120.6 kB / 1.041 GB, free: 78.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/2.541, allocations: 7.938 kB / 1.041 GB, free: 78.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/2.542, allocations: 27.88 kB / 1.041 GB, free: 78.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/2.542, allocations: 35.22 kB / 1.042 GB, free: 78.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/2.542, allocations: 16.06 kB / 1.042 GB, free: 78.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002732/2.542, allocations: 212.8 kB / 1.042 GB, free: 78.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.04e-07/2.542, allocations: 0 / 1.042 GB, free: 78.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00112/2.543, allocations: 244.9 kB / 1.042 GB, free: 78.04 MB / 442.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.001352/2.545, allocations: 453 kB / 1.042 GB, free: 77.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/2.546, allocations: 0.6597 MB / 1.043 GB, free: 77.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.562e-06/2.546, allocations: 0 / 1.043 GB, free: 77.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/2.547, allocations: 442.1 kB / 1.043 GB, free: 77.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/2.549, allocations: 229.8 kB / 1.044 GB, free: 77.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/2.551, allocations: 0.9638 MB / 1.045 GB, free: 77.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/2.551, allocations: 0.848 MB / 1.045 GB, free: 76.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000409/2.551, allocations: 73.05 kB / 1.046 GB, free: 76.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/2.551, allocations: 34.06 kB / 1.046 GB, free: 76.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.522e-06/2.551, allocations: 3.844 kB / 1.046 GB, free: 76.65 MB / 442.7 MB Notification: Performance of Templates: time 0.02705/2.578, allocations: 13.02 MB / 1.058 GB, free: 75.98 MB / 442.7 MB