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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.008/2.009, allocations: 209.3 MB / 221.5 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.13e-05, allocations: 8 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08475, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.418, allocations: 418.1 MB / 0.7226 GB, free: 126.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/1.418, allocations: 90.14 kB / 0.7227 GB, free: 126.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6428/2.061, allocations: 132.1 MB / 0.8516 GB, free: 86.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.135e-06/2.061, allocations: 0 / 0.8516 GB, free: 86.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.439e-05/2.061, allocations: 23.22 kB / 0.8517 GB, free: 86.04 MB / 426.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.001987/2.063, allocations: 0.8954 MB / 0.8525 GB, free: 85.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/2.063, allocations: 9.406 kB / 0.8525 GB, free: 85.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/2.063, allocations: 94.36 kB / 0.8526 GB, free: 85.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/2.065, allocations: 0.5505 MB / 0.8532 GB, free: 85.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/2.065, allocations: 108.1 kB / 0.8533 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/2.065, allocations: 51.84 kB / 0.8533 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/2.066, allocations: 0.7811 MB / 0.8541 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/2.066, allocations: 6.531 kB / 0.8541 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/2.067, allocations: 21.41 kB / 0.8541 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.833e-05/2.067, allocations: 39.17 kB / 0.8541 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/2.068, allocations: 0.612 MB / 0.8547 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005033/2.073, allocations: 3.637 MB / 0.8583 GB, free: 82.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/2.074, allocations: 378.7 kB / 0.8587 GB, free: 82.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/2.074, allocations: 200.6 kB / 0.8588 GB, free: 82.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002402/2.077, allocations: 1.645 MB / 0.8604 GB, free: 81.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/2.077, allocations: 37.84 kB / 0.8605 GB, free: 81.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.829e-06/2.077, allocations: 3.094 kB / 0.8605 GB, free: 81.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.003454/2.08, allocations: 1.287 MB / 0.8617 GB, free: 81.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/2.08, allocations: 141.2 kB / 0.8619 GB, free: 81.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/2.081, allocations: 495.5 kB / 0.8624 GB, free: 80.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/2.081, allocations: 34.55 kB / 0.8624 GB, free: 80.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/2.082, allocations: 378.2 kB / 0.8627 GB, free: 80.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/2.082, allocations: 157.5 kB / 0.8629 GB, free: 80.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/2.082, allocations: 13.09 kB / 0.8629 GB, free: 80.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/2.082, allocations: 378.6 kB / 0.8633 GB, free: 80.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/2.082, allocations: 201.8 kB / 0.8635 GB, free: 80.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/2.083, allocations: 0.5297 MB / 0.864 GB, free: 79.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/2.084, allocations: 305.3 kB / 0.8643 GB, free: 79.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.801e-06/2.084, allocations: 3.906 kB / 0.8643 GB, free: 79.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002018/2.086, allocations: 0.8456 MB / 0.8651 GB, free: 79.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/2.086, allocations: 13.58 kB / 0.8651 GB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/2.086, allocations: 10.56 kB / 0.8651 GB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/2.088, allocations: 253.1 kB / 0.8654 GB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/2.088, allocations: 134.9 kB / 0.8655 GB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/2.089, allocations: 0.8471 MB / 0.8663 GB, free: 79.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009781/2.09, allocations: 49.72 kB / 0.8664 GB, free: 79.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/2.09, allocations: 40.08 kB / 0.8664 GB, free: 79.29 MB / 426.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.0002139/2.091, allocations: 164.2 kB / 0.8666 GB, free: 79.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/2.091, allocations: 63.06 kB / 0.8666 GB, free: 79.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/2.092, allocations: 0.7164 MB / 0.8673 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/2.092, allocations: 4.219 kB / 0.8673 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-06/2.092, allocations: 1.188 kB / 0.8673 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.843e-06/2.092, allocations: 3.938 kB / 0.8673 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/2.095, allocations: 1.321 MB / 0.8686 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.788e-06/2.095, allocations: 3.062 kB / 0.8686 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/2.096, allocations: 200.2 kB / 0.8688 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/2.096, allocations: 24.31 kB / 0.8688 GB, free: 78.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/2.096, allocations: 8.812 kB / 0.8688 GB, free: 78.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/2.098, allocations: 2.677 MB / 0.8715 GB, free: 75.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.097e-06/2.098, allocations: 3.156 kB / 0.8715 GB, free: 75.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/2.1, allocations: 1.003 MB / 0.8724 GB, free: 75.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/2.1, allocations: 195.4 kB / 0.8726 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/2.1, allocations: 15.33 kB / 0.8726 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/2.101, allocations: 29.23 kB / 0.8727 GB, free: 75.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/2.101, allocations: 39.17 kB / 0.8727 GB, free: 75.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/2.101, allocations: 24.61 kB / 0.8727 GB, free: 75.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005894/2.102, allocations: 395.3 kB / 0.8731 GB, free: 75.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.09e-07/2.102, allocations: 0 / 0.8731 GB, free: 75.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001205/2.103, allocations: 239.6 kB / 0.8733 GB, free: 75.23 MB / 426.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.0007044/2.104, allocations: 362.6 kB / 0.8737 GB, free: 75.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001434/2.105, allocations: 0.5486 MB / 0.8742 GB, free: 75.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.341e-06/2.105, allocations: 0 / 0.8742 GB, free: 75.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/2.106, allocations: 408.1 kB / 0.8746 GB, free: 75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/2.108, allocations: 293.2 kB / 0.8749 GB, free: 74.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/2.11, allocations: 0.9737 MB / 0.8758 GB, free: 74.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/2.11, allocations: 0.9471 MB / 0.8768 GB, free: 73.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001027/2.111, allocations: 201.2 kB / 0.877 GB, free: 73.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/2.112, allocations: 63.88 kB / 0.877 GB, free: 73.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.869e-06/2.112, allocations: 2.562 kB / 0.877 GB, free: 73.96 MB / 426.7 MB Notification: Performance of Templates: time 0.03235/2.144, allocations: 14.19 MB / 0.8909 GB, free: 73.23 MB / 426.7 MB