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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.998e-05, allocations: 7.984 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.078/0.07805, allocations: 44.49 MB / 299.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8727/0.9508, allocations: 333.8 MB / 0.6188 GB, free: 57.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.9511, allocations: 91.72 kB / 0.6189 GB, free: 57.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.445/1.396, allocations: 87.12 MB / 0.704 GB, free: 130.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.596e-06/1.396, allocations: 0 / 0.704 GB, free: 130.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/1.396, allocations: 14.95 kB / 0.704 GB, free: 130.7 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.0006705/1.397, allocations: 0.522 MB / 0.7045 GB, free: 130.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.397, allocations: 10.81 kB / 0.7045 GB, free: 130.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/1.397, allocations: 42.75 kB / 0.7046 GB, free: 130.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/1.398, allocations: 288 kB / 0.7049 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/1.398, allocations: 19.94 kB / 0.7049 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/1.398, allocations: 23.47 kB / 0.7049 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/1.398, allocations: 292.9 kB / 0.7052 GB, free: 130 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/1.398, allocations: 3.75 kB / 0.7052 GB, free: 130 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/1.398, allocations: 10.97 kB / 0.7052 GB, free: 130 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-06/1.398, allocations: 7.844 kB / 0.7052 GB, free: 130 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/1.399, allocations: 195 kB / 0.7054 GB, free: 130 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/1.401, allocations: 1.284 MB / 0.7066 GB, free: 129.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/1.401, allocations: 191.9 kB / 0.7068 GB, free: 129.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/1.401, allocations: 89.58 kB / 0.7069 GB, free: 129.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/1.401, allocations: 169.9 kB / 0.7071 GB, free: 128.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.401, allocations: 36.81 kB / 0.7071 GB, free: 128.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.014e-06/1.401, allocations: 0 / 0.7071 GB, free: 128.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002566/1.404, allocations: 0.8919 MB / 0.708 GB, free: 128.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/1.404, allocations: 62.52 kB / 0.708 GB, free: 128.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/1.404, allocations: 229.9 kB / 0.7083 GB, free: 128.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/1.404, allocations: 29.33 kB / 0.7083 GB, free: 128.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/1.404, allocations: 238.5 kB / 0.7085 GB, free: 128.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/1.404, allocations: 90.58 kB / 0.7086 GB, free: 128 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/1.405, allocations: 5.562 kB / 0.7086 GB, free: 128 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/1.405, allocations: 334.2 kB / 0.7089 GB, free: 127.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/1.405, allocations: 76.38 kB / 0.709 GB, free: 127.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/1.405, allocations: 168.7 kB / 0.7092 GB, free: 127.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/1.405, allocations: 105.7 kB / 0.7093 GB, free: 127.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-06/1.405, allocations: 4.656 kB / 0.7093 GB, free: 127.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007696/1.406, allocations: 428.5 kB / 0.7097 GB, free: 127.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.406, allocations: 12.89 kB / 0.7097 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.199e-06/1.406, allocations: 3.875 kB / 0.7097 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/1.406, allocations: 41.95 kB / 0.7097 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/1.407, allocations: 78.8 kB / 0.7098 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/1.408, allocations: 2.563 MB / 0.7123 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/1.409, allocations: 17.41 kB / 0.7123 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/1.409, allocations: 18.88 kB / 0.7123 GB, free: 124.9 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.0001165/1.409, allocations: 127.2 kB / 0.7125 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.368e-05/1.409, allocations: 34.28 kB / 0.7125 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/1.41, allocations: 357.9 kB / 0.7128 GB, free: 124.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-06/1.41, allocations: 6.031 kB / 0.7128 GB, free: 124.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.854e-06/1.41, allocations: 3.562 kB / 0.7128 GB, free: 124.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005062/1.41, allocations: 0.6069 MB / 0.7134 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/1.411, allocations: 0.7446 MB / 0.7142 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.323e-06/1.411, allocations: 0 / 0.7142 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/1.412, allocations: 65.38 kB / 0.7142 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/1.412, allocations: 23.56 kB / 0.7143 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.412, allocations: 7.094 kB / 0.7143 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008065/1.413, allocations: 1.28 MB / 0.7155 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.607e-06/1.413, allocations: 3.391 kB / 0.7155 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/1.413, allocations: 0.5155 MB / 0.716 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/1.414, allocations: 102.7 kB / 0.7161 GB, free: 122 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/1.414, allocations: 6.062 kB / 0.7161 GB, free: 122 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/1.414, allocations: 14.44 kB / 0.7161 GB, free: 122 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/1.414, allocations: 22.69 kB / 0.7162 GB, free: 122 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/1.414, allocations: 21.05 kB / 0.7162 GB, free: 122 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002082/1.414, allocations: 182.8 kB / 0.7163 GB, free: 121.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.18e-07/1.414, allocations: 0 / 0.7163 GB, free: 121.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006648/1.415, allocations: 115.9 kB / 0.7165 GB, free: 121.9 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.0003618/1.415, allocations: 254.9 kB / 0.7167 GB, free: 121.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007035/1.416, allocations: 441.7 kB / 0.7171 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.023e-06/1.416, allocations: 2.312 kB / 0.7171 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/1.417, allocations: 217.7 kB / 0.7173 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.418, allocations: 164 kB / 0.7175 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/1.419, allocations: 0.4979 MB / 0.718 GB, free: 121.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/1.419, allocations: 0.7659 MB / 0.7187 GB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/1.419, allocations: 35.7 kB / 0.7188 GB, free: 120.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.908e-06/1.419, allocations: 4 kB / 0.7188 GB, free: 120.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01103/1.43, allocations: 7.104 MB / 0.7257 GB, free: 119.2 MB / 410.7 MB