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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.194/2.194, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.809e-05, allocations: 0 / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 54.87 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.326, allocations: 424.5 MB / 0.7659 GB, free: 150.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/1.326, allocations: 90.77 kB / 0.766 GB, free: 150.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.369/1.695, allocations: 132.1 MB / 0.895 GB, free: 17 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.073e-06/1.696, allocations: 4 kB / 0.895 GB, free: 17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.199e-05/1.696, allocations: 16 kB / 0.895 GB, free: 16.98 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.001803/1.697, allocations: 0.8992 MB / 0.8959 GB, free: 16.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.697, allocations: 8.031 kB / 0.8959 GB, free: 16.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/1.698, allocations: 94.98 kB / 0.896 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/1.699, allocations: 0.5483 MB / 0.8965 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/1.699, allocations: 100.4 kB / 0.8966 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/1.699, allocations: 47.94 kB / 0.8967 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/1.701, allocations: 0.7905 MB / 0.8974 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/1.701, allocations: 8 kB / 0.8975 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/1.701, allocations: 16 kB / 0.8975 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.656e-05/1.701, allocations: 40.98 kB / 0.8975 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/1.702, allocations: 0.607 MB / 0.8981 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004559/1.707, allocations: 3.649 MB / 0.9017 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/1.708, allocations: 382.3 kB / 0.902 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/1.708, allocations: 198.2 kB / 0.9022 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002161/1.71, allocations: 1.652 MB / 0.9038 GB, free: 7.375 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.71, allocations: 34.56 kB / 0.9039 GB, free: 7.332 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 4.081e-06/1.71, allocations: 0 / 0.9039 GB, free: 7.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.003151/1.713, allocations: 1.289 MB / 0.9051 GB, free: 5.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.713, allocations: 136.5 kB / 0.9053 GB, free: 5.801 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/1.714, allocations: 496.9 kB / 0.9057 GB, free: 5.309 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/1.714, allocations: 33.7 kB / 0.9058 GB, free: 5.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/1.714, allocations: 413.6 kB / 0.9062 GB, free: 4.863 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.715, allocations: 153.9 kB / 0.9063 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/1.715, allocations: 16 kB / 0.9063 GB, free: 4.695 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.609e-05/1.715, allocations: 338.8 kB / 0.9066 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/1.715, allocations: 201.5 kB / 0.9068 GB, free: 4.156 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/1.716, allocations: 0.52 MB / 0.9073 GB, free: 3.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/1.716, allocations: 311.6 kB / 0.9076 GB, free: 3.176 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.042e-06/1.716, allocations: 7.953 kB / 0.9076 GB, free: 3.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001759/1.718, allocations: 0.8103 MB / 0.9084 GB, free: 2.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.718, allocations: 12 kB / 0.9084 GB, free: 2.336 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.718, allocations: 8 kB / 0.9085 GB, free: 2.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/1.72, allocations: 254.5 kB / 0.9087 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/1.72, allocations: 135.8 kB / 0.9088 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009594/1.721, allocations: 0.8388 MB / 0.9096 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/1.722, allocations: 51.94 kB / 0.9097 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/1.722, allocations: 40 kB / 0.9097 GB, free: 0.9922 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.0001959/1.722, allocations: 157 kB / 0.9099 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/1.722, allocations: 71.19 kB / 0.9099 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/1.724, allocations: 0.7127 MB / 0.9106 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.724, allocations: 4 kB / 0.9106 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.864e-06/1.724, allocations: 0 / 0.9106 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.153e-06/1.724, allocations: 3.984 kB / 0.9107 GB, free: 0 / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/1.982, allocations: 1.317 MB / 0.9119 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.483e-06/1.982, allocations: 1.531 kB / 0.9119 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.983, allocations: 197.7 kB / 0.9121 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/1.983, allocations: 26.14 kB / 0.9122 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/1.983, allocations: 17.5 kB / 0.9122 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/1.985, allocations: 2.667 MB / 0.9148 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.519e-06/1.985, allocations: 4.156 kB / 0.9148 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/1.987, allocations: 0.9912 MB / 0.9157 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/1.987, allocations: 196.3 kB / 0.9159 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.988, allocations: 10.86 kB / 0.9159 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/1.988, allocations: 37.53 kB / 0.916 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/1.988, allocations: 37.3 kB / 0.916 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/1.988, allocations: 23.34 kB / 0.916 GB, free: 106.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006542/1.989, allocations: 394.1 kB / 0.9164 GB, free: 106.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.77e-07/1.989, allocations: 1.094 kB / 0.9164 GB, free: 106.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001155/1.99, allocations: 241.5 kB / 0.9166 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.0007731/1.991, allocations: 371.8 kB / 0.917 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/1.992, allocations: 0.5476 MB / 0.9175 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.992, allocations: 4.469 kB / 0.9175 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.994, allocations: 403 kB / 0.9179 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.995, allocations: 285.9 kB / 0.9182 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/1.998, allocations: 1.006 MB / 0.9192 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/1.998, allocations: 0.9506 MB / 0.9201 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/1.998, allocations: 68.17 kB / 0.9202 GB, free: 104.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.578e-06/1.998, allocations: 0 / 0.9202 GB, free: 104.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02643/2.025, allocations: 15.3 MB / 0.9351 GB, free: 104.6 MB / 490.7 MB