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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 1.848/1.848, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.53e-05, allocations: 4 kB / 273.1 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08785, allocations: 48.69 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.353/1.441, allocations: 418.1 MB / 0.7226 GB, free: 127.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.441, allocations: 89.83 kB / 0.7226 GB, free: 127.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6098/2.051, allocations: 132.1 MB / 0.8516 GB, free: 86.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.088e-06/2.051, allocations: 0 / 0.8516 GB, free: 86.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.753e-05/2.051, allocations: 22.72 kB / 0.8516 GB, free: 86.05 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.002175/2.053, allocations: 0.9015 MB / 0.8525 GB, free: 85.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/2.053, allocations: 12.36 kB / 0.8525 GB, free: 85.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/2.054, allocations: 83.69 kB / 0.8526 GB, free: 85.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/2.055, allocations: 0.5536 MB / 0.8531 GB, free: 85.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/2.055, allocations: 106.1 kB / 0.8532 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/2.055, allocations: 51.31 kB / 0.8533 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/2.057, allocations: 0.7831 MB / 0.8541 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/2.057, allocations: 4.672 kB / 0.8541 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/2.057, allocations: 23.8 kB / 0.8541 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.812e-05/2.057, allocations: 41.98 kB / 0.8541 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/2.059, allocations: 0.6141 MB / 0.8547 GB, free: 85.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/2.064, allocations: 3.628 MB / 0.8583 GB, free: 82.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/2.065, allocations: 379.9 kB / 0.8586 GB, free: 82.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/2.066, allocations: 202.7 kB / 0.8588 GB, free: 82.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/2.068, allocations: 1.645 MB / 0.8604 GB, free: 81.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/2.068, allocations: 38.16 kB / 0.8605 GB, free: 81.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.451e-06/2.068, allocations: 1.781 kB / 0.8605 GB, free: 81.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.003563/2.072, allocations: 1.293 MB / 0.8617 GB, free: 81.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/2.072, allocations: 134 kB / 0.8619 GB, free: 81.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/2.073, allocations: 0.4891 MB / 0.8623 GB, free: 80.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/2.073, allocations: 36.86 kB / 0.8624 GB, free: 80.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/2.073, allocations: 404.2 kB / 0.8627 GB, free: 80.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/2.073, allocations: 158.8 kB / 0.8629 GB, free: 80.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/2.073, allocations: 19.19 kB / 0.8629 GB, free: 80.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/2.073, allocations: 345.1 kB / 0.8632 GB, free: 80.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/2.074, allocations: 200.7 kB / 0.8634 GB, free: 80.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/2.074, allocations: 0.5281 MB / 0.864 GB, free: 79.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/2.075, allocations: 304.7 kB / 0.8642 GB, free: 79.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/2.075, allocations: 3.375 kB / 0.8642 GB, free: 79.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001981/2.077, allocations: 0.815 MB / 0.865 GB, free: 79.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/2.077, allocations: 10.34 kB / 0.8651 GB, free: 79.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/2.077, allocations: 10.41 kB / 0.8651 GB, free: 79.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/2.079, allocations: 257.7 kB / 0.8653 GB, free: 79.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/2.079, allocations: 134.2 kB / 0.8654 GB, free: 79.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/2.08, allocations: 0.8448 MB / 0.8663 GB, free: 79.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/2.081, allocations: 51.53 kB / 0.8663 GB, free: 79.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/2.082, allocations: 40.34 kB / 0.8664 GB, free: 79.24 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.0002245/2.082, allocations: 156.1 kB / 0.8665 GB, free: 79.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/2.082, allocations: 63.31 kB / 0.8666 GB, free: 79.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/2.084, allocations: 0.7118 MB / 0.8673 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/2.084, allocations: 9.656 kB / 0.8673 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.749e-06/2.084, allocations: 3.375 kB / 0.8673 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.316e-06/2.084, allocations: 6.359 kB / 0.8673 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/2.086, allocations: 1.32 MB / 0.8686 GB, free: 78.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.005e-06/2.086, allocations: 2.094 kB / 0.8686 GB, free: 78.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/2.088, allocations: 201.5 kB / 0.8688 GB, free: 78.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/2.088, allocations: 24.17 kB / 0.8688 GB, free: 78.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/2.088, allocations: 11.38 kB / 0.8688 GB, free: 78.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/2.09, allocations: 2.671 MB / 0.8714 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.235e-06/2.09, allocations: 1.5 kB / 0.8714 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/2.092, allocations: 1.005 MB / 0.8724 GB, free: 75.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/2.092, allocations: 193.2 kB / 0.8726 GB, free: 75.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/2.092, allocations: 12 kB / 0.8726 GB, free: 75.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/2.093, allocations: 37.83 kB / 0.8726 GB, free: 75.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/2.093, allocations: 39.17 kB / 0.8727 GB, free: 75.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/2.093, allocations: 17.19 kB / 0.8727 GB, free: 75.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005913/2.094, allocations: 400.4 kB / 0.8731 GB, free: 75.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.188e-06/2.094, allocations: 0 / 0.8731 GB, free: 75.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001207/2.095, allocations: 238.2 kB / 0.8733 GB, free: 75.19 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.0007416/2.096, allocations: 381.8 kB / 0.8736 GB, free: 75.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/2.097, allocations: 0.5451 MB / 0.8742 GB, free: 75.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.476e-06/2.097, allocations: 3.844 kB / 0.8742 GB, free: 75.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/2.098, allocations: 398.3 kB / 0.8746 GB, free: 74.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/2.1, allocations: 281.2 kB / 0.8748 GB, free: 74.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/2.102, allocations: 1.009 MB / 0.8758 GB, free: 74.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/2.103, allocations: 0.9488 MB / 0.8767 GB, free: 73.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/2.103, allocations: 68.77 kB / 0.8768 GB, free: 73.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.291e-06/2.103, allocations: 0 / 0.8768 GB, free: 73.9 MB / 426.7 MB Notification: Performance of Templates: time 0.02347/2.127, allocations: 15.28 MB / 0.8917 GB, free: 73.27 MB / 426.7 MB