Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.145e-05, allocations: 7.984 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 44.49 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9071/1.014, allocations: 333.9 MB / 0.6189 GB, free: 57.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.014, allocations: 84.19 kB / 0.619 GB, free: 57.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4567/1.471, allocations: 87.14 MB / 0.7041 GB, free: 130.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.542e-06/1.471, allocations: 0 / 0.7041 GB, free: 130.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/1.471, allocations: 13.48 kB / 0.7041 GB, free: 130.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007391/1.472, allocations: 0.5216 MB / 0.7046 GB, free: 130.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.472, allocations: 7.188 kB / 0.7046 GB, free: 130.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/1.472, allocations: 50.05 kB / 0.7046 GB, free: 130.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/1.473, allocations: 287.3 kB / 0.7049 GB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/1.473, allocations: 15.34 kB / 0.7049 GB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/1.473, allocations: 22.78 kB / 0.705 GB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/1.473, allocations: 292.3 kB / 0.7052 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/1.473, allocations: 0 / 0.7052 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/1.473, allocations: 13.91 kB / 0.7052 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.945e-06/1.473, allocations: 3.75 kB / 0.7053 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/1.474, allocations: 189.9 kB / 0.7054 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/1.476, allocations: 1.289 MB / 0.7067 GB, free: 129.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/1.476, allocations: 185.4 kB / 0.7069 GB, free: 129.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/1.476, allocations: 84.14 kB / 0.7069 GB, free: 129.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/1.476, allocations: 175.4 kB / 0.7071 GB, free: 129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/1.476, allocations: 36.81 kB / 0.7072 GB, free: 129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.255e-06/1.477, allocations: 0 / 0.7072 GB, free: 129 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002616/1.479, allocations: 0.8872 MB / 0.708 GB, free: 128.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/1.479, allocations: 55 kB / 0.7081 GB, free: 128.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/1.48, allocations: 235.7 kB / 0.7083 GB, free: 128.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/1.48, allocations: 29.58 kB / 0.7083 GB, free: 128.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/1.48, allocations: 179.3 kB / 0.7085 GB, free: 128.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/1.48, allocations: 93.81 kB / 0.7086 GB, free: 128.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/1.48, allocations: 8.562 kB / 0.7086 GB, free: 128.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/1.48, allocations: 346.2 kB / 0.7089 GB, free: 127.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/1.48, allocations: 77.92 kB / 0.709 GB, free: 127.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/1.48, allocations: 166.7 kB / 0.7092 GB, free: 127.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/1.481, allocations: 108.9 kB / 0.7093 GB, free: 127.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.766e-06/1.481, allocations: 0 / 0.7093 GB, free: 127.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008086/1.481, allocations: 432.4 kB / 0.7097 GB, free: 127.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.481, allocations: 7.938 kB / 0.7097 GB, free: 127.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.482e-06/1.481, allocations: 6.969 kB / 0.7097 GB, free: 127.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/1.482, allocations: 45.27 kB / 0.7097 GB, free: 127.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/1.482, allocations: 76.08 kB / 0.7098 GB, free: 127.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/1.484, allocations: 2.557 MB / 0.7123 GB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/1.484, allocations: 25.59 kB / 0.7123 GB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/1.484, allocations: 15.06 kB / 0.7123 GB, free: 125.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.484, allocations: 129.5 kB / 0.7125 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/1.484, allocations: 30.22 kB / 0.7125 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/1.485, allocations: 356.2 kB / 0.7128 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.914e-06/1.485, allocations: 3.938 kB / 0.7128 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.364e-06/1.485, allocations: 0 / 0.7128 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005343/1.486, allocations: 0.6095 MB / 0.7134 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/1.487, allocations: 0.7462 MB / 0.7142 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.853e-06/1.487, allocations: 3.156 kB / 0.7142 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/1.487, allocations: 55.69 kB / 0.7142 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/1.488, allocations: 20.91 kB / 0.7142 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.488, allocations: 10.56 kB / 0.7142 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007709/1.488, allocations: 1.275 MB / 0.7155 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.264e-06/1.488, allocations: 0 / 0.7155 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/1.489, allocations: 0.5144 MB / 0.716 GB, free: 122.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/1.489, allocations: 104.1 kB / 0.7161 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/1.489, allocations: 7.328 kB / 0.7161 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/1.49, allocations: 19.02 kB / 0.7161 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/1.49, allocations: 27.64 kB / 0.7161 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/1.49, allocations: 11.61 kB / 0.7162 GB, free: 122.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002159/1.49, allocations: 179.5 kB / 0.7163 GB, free: 122.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.38e-07/1.49, allocations: 0 / 0.7163 GB, free: 122.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006955/1.491, allocations: 122.9 kB / 0.7164 GB, free: 122.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000404/1.491, allocations: 250.3 kB / 0.7167 GB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007564/1.492, allocations: 424.3 kB / 0.7171 GB, free: 121.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.02e-06/1.492, allocations: 7.188 kB / 0.7171 GB, free: 121.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/1.492, allocations: 206.2 kB / 0.7173 GB, free: 121.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.494, allocations: 162.4 kB / 0.7174 GB, free: 121.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/1.495, allocations: 479.7 kB / 0.7179 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/1.495, allocations: 0.7713 MB / 0.7187 GB, free: 120.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004908/1.495, allocations: 62.03 kB / 0.7187 GB, free: 120.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/1.495, allocations: 28.34 kB / 0.7187 GB, free: 120.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.007e-06/1.495, allocations: 0 / 0.7187 GB, free: 120.8 MB / 410.7 MB Notification: Performance of Templates: time 0.01769/1.513, allocations: 7.508 MB / 0.7261 GB, free: 119.2 MB / 410.7 MB