Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.048e-05/5.069e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3413, allocations: 54.86 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.375, allocations: 424.5 MB / 0.766 GB, free: 150.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004462/1.375, allocations: 91.94 kB / 0.766 GB, free: 150.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4646/1.84, allocations: 132.1 MB / 0.895 GB, free: 16.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.855e-06/1.84, allocations: 0 / 0.895 GB, free: 16.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.742e-05/1.84, allocations: 20 kB / 0.895 GB, free: 16.87 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001787/1.842, allocations: 0.9004 MB / 0.8959 GB, free: 15.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.842, allocations: 12.25 kB / 0.8959 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/1.842, allocations: 91.05 kB / 0.896 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/1.843, allocations: 0.5521 MB / 0.8966 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/1.843, allocations: 104.4 kB / 0.8967 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/1.844, allocations: 48 kB / 0.8967 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/1.845, allocations: 0.7905 MB / 0.8975 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/1.845, allocations: 7.938 kB / 0.8975 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/1.845, allocations: 23.94 kB / 0.8975 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.325e-05/1.845, allocations: 40.98 kB / 0.8975 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/1.846, allocations: 0.6031 MB / 0.8981 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/1.851, allocations: 3.645 MB / 0.9017 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008441/1.852, allocations: 375.9 kB / 0.902 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/1.852, allocations: 198.2 kB / 0.9022 GB, free: 9.094 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/1.855, allocations: 1.644 MB / 0.9038 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.4e-05/1.855, allocations: 38.56 kB / 0.9039 GB, free: 7.211 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 3.773e-06/1.855, allocations: 0 / 0.9039 GB, free: 7.211 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.003128/1.858, allocations: 1.285 MB / 0.9051 GB, free: 5.848 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/1.858, allocations: 132.5 kB / 0.9053 GB, free: 5.688 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/1.859, allocations: 0.493 MB / 0.9057 GB, free: 5.188 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/1.859, allocations: 33.7 kB / 0.9058 GB, free: 5.148 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/1.859, allocations: 383.2 kB / 0.9061 GB, free: 4.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.859, allocations: 149.9 kB / 0.9063 GB, free: 4.621 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/1.859, allocations: 16 kB / 0.9063 GB, free: 4.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/1.859, allocations: 374.8 kB / 0.9067 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/1.86, allocations: 197.5 kB / 0.9068 GB, free: 4.035 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/1.86, allocations: 0.5239 MB / 0.9074 GB, free: 3.355 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/1.861, allocations: 311.7 kB / 0.9077 GB, free: 3.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.861, allocations: 3.953 kB / 0.9077 GB, free: 3.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001822/1.863, allocations: 0.8447 MB / 0.9085 GB, free: 2.191 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.863, allocations: 8.938 kB / 0.9085 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.863, allocations: 12 kB / 0.9085 GB, free: 2.172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/1.864, allocations: 261.7 kB / 0.9088 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/1.865, allocations: 131.8 kB / 0.9089 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009482/1.866, allocations: 0.8464 MB / 0.9097 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/1.867, allocations: 55.94 kB / 0.9098 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/1.867, allocations: 36 kB / 0.9098 GB, free: 0.8242 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001757/1.867, allocations: 153 kB / 0.9099 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/1.867, allocations: 71.19 kB / 0.91 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.263/2.13, allocations: 0.7086 MB / 0.9107 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/2.13, allocations: 5.875 kB / 0.9107 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/2.13, allocations: 0.5625 kB / 0.9107 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/2.13, allocations: 4.203 kB / 0.9107 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/2.133, allocations: 1.321 MB / 0.912 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/2.133, allocations: 1.125 kB / 0.912 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/2.135, allocations: 197.9 kB / 0.9122 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/2.135, allocations: 27.19 kB / 0.9122 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/2.135, allocations: 14.36 kB / 0.9122 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/2.137, allocations: 2.671 MB / 0.9148 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.085e-06/2.137, allocations: 2 kB / 0.9148 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/2.139, allocations: 0.9952 MB / 0.9158 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/2.139, allocations: 194.6 kB / 0.916 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/2.139, allocations: 14.16 kB / 0.916 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/2.14, allocations: 35.55 kB / 0.916 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/2.14, allocations: 31.34 kB / 0.9161 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/2.14, allocations: 24.8 kB / 0.9161 GB, free: 106.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006889/2.141, allocations: 395.8 kB / 0.9165 GB, free: 106.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.614e-06/2.141, allocations: 0 / 0.9165 GB, free: 106.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001318/2.142, allocations: 241.6 kB / 0.9167 GB, free: 106.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008481/2.143, allocations: 374.2 kB / 0.9171 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/2.145, allocations: 0.5477 MB / 0.9176 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.986e-06/2.145, allocations: 1.188 kB / 0.9176 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/2.146, allocations: 405.1 kB / 0.918 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/2.148, allocations: 290.1 kB / 0.9183 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/2.15, allocations: 0.9595 MB / 0.9192 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/2.151, allocations: 0.951 MB / 0.9201 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00111/2.152, allocations: 203.5 kB / 0.9203 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/2.152, allocations: 65.61 kB / 0.9204 GB, free: 105 MB / 490.7 MB Notification: Performance of SimCode: time 2.636e-06/2.152, allocations: 0 / 0.9204 GB, free: 105 MB / 490.7 MB Notification: Performance of Templates: time 0.03613/2.188, allocations: 14.21 MB / 0.9343 GB, free: 104.6 MB / 490.7 MB