Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.204e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3184, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4517, allocations: 87.07 MB / 469.3 MB, free: 5.465 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.452, allocations: 83.95 kB / 469.4 MB, free: 5.383 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02212/0.4741, allocations: 5.35 MB / 474.7 MB, free: 24 kB / 394.8 MB Notification: Performance of FrontEnd: time 2.131e-06/0.4741, allocations: 0 / 474.7 MB, free: 24 kB / 394.8 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4742, allocations: 0 / 474.7 MB, free: 24 kB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000528/0.4747, allocations: 404.9 kB / 475.1 MB, free: 15.59 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4748, allocations: 8.031 kB / 475.1 MB, free: 15.58 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.4748, allocations: 15.86 kB / 475.1 MB, free: 15.56 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.475, allocations: 178.8 kB / 475.3 MB, free: 15.35 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.475, allocations: 0 / 475.3 MB, free: 15.35 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.4751, allocations: 8 kB / 475.3 MB, free: 15.34 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.4752, allocations: 69.61 kB / 475.4 MB, free: 15.27 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4752, allocations: 0 / 475.4 MB, free: 15.27 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-06/0.4753, allocations: 0 / 475.4 MB, free: 15.27 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-06/0.4753, allocations: 0 / 475.4 MB, free: 15.27 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.4754, allocations: 55.97 kB / 475.4 MB, free: 15.21 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.4757, allocations: 201.5 kB / 475.6 MB, free: 14.96 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.4758, allocations: 54.56 kB / 475.7 MB, free: 14.9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.4759, allocations: 44.78 kB / 475.7 MB, free: 14.86 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.476, allocations: 16 kB / 475.7 MB, free: 14.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.476, allocations: 34.78 kB / 475.8 MB, free: 14.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 2.171e-06/0.476, allocations: 0 / 475.8 MB, free: 14.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.01895/0.495, allocations: 1.419 MB / 477.2 MB, free: 13.35 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.4951, allocations: 67.39 kB / 477.3 MB, free: 13.27 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.4952, allocations: 111.3 kB / 477.4 MB, free: 13.15 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.4953, allocations: 29.7 kB / 477.4 MB, free: 13.12 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.4954, allocations: 92.36 kB / 477.5 MB, free: 13.02 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.4954, allocations: 39.39 kB / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.4955, allocations: 4 kB / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4957, allocations: 322.8 kB / 477.8 MB, free: 12.65 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.4959, allocations: 79.92 kB / 477.9 MB, free: 12.57 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.4961, allocations: 79.97 kB / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.4964, allocations: 67.97 kB / 478.1 MB, free: 12.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-06/0.4964, allocations: 0 / 478.1 MB, free: 12.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006527/0.4971, allocations: 209.5 kB / 478.3 MB, free: 12.22 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4971, allocations: 8 kB / 478.3 MB, free: 12.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.364e-06/0.4972, allocations: 0 / 478.3 MB, free: 12.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4972, allocations: 0 / 478.3 MB, free: 12.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.4978, allocations: 63.94 kB / 478.3 MB, free: 12.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4978, allocations: 7.938 kB / 478.3 MB, free: 12.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.4983, allocations: 47.84 kB / 478.4 MB, free: 12.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.4984, allocations: 7.984 kB / 478.4 MB, free: 12.09 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.4985, allocations: 109 kB / 478.5 MB, free: 11.97 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.4986, allocations: 7.906 kB / 478.5 MB, free: 11.96 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/0.4995, allocations: 270.4 kB / 478.8 MB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.008e-06/0.4995, allocations: 0 / 478.8 MB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-06/0.4995, allocations: 0 / 478.8 MB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-06/0.4995, allocations: 0 / 478.8 MB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.5022, allocations: 0.7292 MB / 479.5 MB, free: 10.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.5022, allocations: 4 kB / 479.5 MB, free: 10.9 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.5028, allocations: 60.03 kB / 479.6 MB, free: 10.84 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.5028, allocations: 8 kB / 479.6 MB, free: 10.84 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.5029, allocations: 15.94 kB / 479.6 MB, free: 10.82 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.043e-06/0.5029, allocations: 0 / 479.6 MB, free: 10.82 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.634e-06/0.5029, allocations: 0 / 479.6 MB, free: 10.82 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.5037, allocations: 358.9 kB / 479.9 MB, free: 10.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.5039, allocations: 105 kB / 480 MB, free: 10.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.5039, allocations: 3.984 kB / 480.1 MB, free: 10.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.5044, allocations: 43.97 kB / 480.1 MB, free: 10.26 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.5045, allocations: 11.98 kB / 480.1 MB, free: 10.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.5045, allocations: 11.98 kB / 480.1 MB, free: 10.23 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.916e-05/0.5046, allocations: 94.38 kB / 480.2 MB, free: 10.14 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.38e-07/0.5047, allocations: 0 / 480.2 MB, free: 10.14 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007636/0.5054, allocations: 183.9 kB / 480.4 MB, free: 9.965 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000813/0.5063, allocations: 274.5 kB / 480.7 MB, free: 9.684 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005599/0.5068, allocations: 179.8 kB / 480.8 MB, free: 9.508 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.304e-06/0.5069, allocations: 0 / 480.8 MB, free: 9.508 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.5072, allocations: 95.91 kB / 480.9 MB, free: 9.414 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.5075, allocations: 24.36 kB / 480.9 MB, free: 9.391 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.5099, allocations: 367.6 kB / 481.3 MB, free: 9.004 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.5104, allocations: 0.7043 MB / 482 MB, free: 8.273 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.5107, allocations: 36.41 kB / 482 MB, free: 8.238 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.5109, allocations: 27.42 kB / 482.1 MB, free: 8.211 MB / 410.8 MB Notification: Performance of SimCode: time 2.05e-06/0.511, allocations: 0 / 482.1 MB, free: 8.211 MB / 410.8 MB Notification: Performance of Templates: time 0.01348/0.5245, allocations: 5.721 MB / 487.8 MB, free: 2.508 MB / 410.8 MB