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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 2.532/2.532, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.341e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4373, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002069/0.4395, allocations: 1.137 MB / 364 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.442, allocations: 1.209 MB / 365.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.4421, allocations: 0 / 365.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.4422, allocations: 23.33 kB / 365.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.4425, allocations: 34.83 kB / 365.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.4429, allocations: 133.2 kB / 365.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.443, allocations: 30.11 kB / 365.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.4431, allocations: 1.938 kB / 365.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.4432, allocations: 21.61 kB / 365.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.4433, allocations: 22.95 kB / 365.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.444, allocations: 296.7 kB / 365.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.4441, allocations: 25.72 kB / 365.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.4441, allocations: 5.516 kB / 365.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.4442, allocations: 5.5 kB / 365.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.4447, allocations: 181.4 kB / 366 MB, free: 9.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4447, allocations: 1.188 kB / 366 MB, free: 9.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4447, allocations: 0 / 366 MB, free: 9.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.4447, allocations: 3.938 kB / 366 MB, free: 9.879 MB / 298.7 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.0005927/0.4453, allocations: 397 kB / 366.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4454, allocations: 8.469 kB / 366.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.4454, allocations: 11.12 kB / 366.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4456, allocations: 172.5 kB / 366.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4456, allocations: 2.156 kB / 366.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.4457, allocations: 2.969 kB / 366.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4458, allocations: 62.73 kB / 366.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4459, allocations: 0 / 366.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4459, allocations: 9.172 kB / 366.6 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4459, allocations: 5.062 kB / 366.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.4461, allocations: 57.42 kB / 366.7 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.4463, allocations: 193.8 kB / 366.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.4465, allocations: 60.41 kB / 366.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/0.4465, allocations: 20.48 kB / 367 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4466, allocations: 31.97 kB / 367 MB, free: 8.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.4466, allocations: 0 / 367 MB, free: 8.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.03362/0.4802, allocations: 1.36 MB / 368.4 MB, free: 8.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.4803, allocations: 51.41 kB / 368.4 MB, free: 8.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.4805, allocations: 121.2 kB / 368.5 MB, free: 7.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.4806, allocations: 29.7 kB / 368.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.4806, allocations: 88.12 kB / 368.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/0.4807, allocations: 31.47 kB / 368.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.4808, allocations: 8 kB / 368.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4809, allocations: 326.8 kB / 369 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.4816, allocations: 156.1 kB / 369.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.4823, allocations: 165.4 kB / 369.3 MB, free: 7.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.483, allocations: 154.1 kB / 369.5 MB, free: 6.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4831, allocations: 3.938 kB / 369.5 MB, free: 6.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001587/0.4847, allocations: 379.3 kB / 369.8 MB, free: 6.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4847, allocations: 8 kB / 369.8 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.4847, allocations: 4 kB / 369.9 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.4848, allocations: 3.953 kB / 369.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.4854, allocations: 35.97 kB / 369.9 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4854, allocations: 0 / 369.9 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.4858, allocations: 19.98 kB / 369.9 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.4859, allocations: 11.98 kB / 369.9 MB, free: 6.492 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001618/0.486, allocations: 113.9 kB / 370 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.4861, allocations: 11.81 kB / 370 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.4877, allocations: 282.2 kB / 370.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.4877, allocations: 7.953 kB / 370.3 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4877, allocations: 3.938 kB / 370.3 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4877, allocations: 0 / 370.3 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.4907, allocations: 0.6257 MB / 371 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.4908, allocations: 11.89 kB / 371 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.4913, allocations: 39.91 kB / 371 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.4913, allocations: 0 / 371 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.4914, allocations: 4 kB / 371 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.4914, allocations: 7.984 kB / 371 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4914, allocations: 0 / 371 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4929, allocations: 391.1 kB / 371.4 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.493, allocations: 101 kB / 371.5 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.4931, allocations: 4 kB / 371.5 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.4935, allocations: 15.98 kB / 371.5 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.4936, allocations: 15.94 kB / 371.5 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.4936, allocations: 11.98 kB / 371.5 MB, free: 4.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.162e-05/0.4937, allocations: 97.23 kB / 371.6 MB, free: 4.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4937, allocations: 0 / 371.6 MB, free: 4.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008336/0.4946, allocations: 163.9 kB / 371.8 MB, free: 4.465 MB / 298.7 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.0009933/0.4956, allocations: 258.9 kB / 372.1 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.497, allocations: 303.8 kB / 372.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.497, allocations: 0 / 372.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.4976, allocations: 107.9 kB / 372.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.4979, allocations: 14.62 kB / 372.5 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.5005, allocations: 413.4 kB / 372.9 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.501, allocations: 0.7043 MB / 373.6 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.5013, allocations: 36.62 kB / 373.6 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.5016, allocations: 23.42 kB / 373.6 MB, free: 2.559 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5016, allocations: 4 kB / 373.6 MB, free: 2.555 MB / 298.7 MB Notification: Performance of Templates: time 0.01618/0.5178, allocations: 5.495 MB / 379.1 MB, free: 13.05 MB / 314.7 MB