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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.262e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3933, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001813/0.3952, allocations: 1.128 MB / 326 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3974, allocations: 1.201 MB / 327.2 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.3975, allocations: 0 / 327.2 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.3977, allocations: 21.27 kB / 327.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3979, allocations: 35.67 kB / 327.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.3984, allocations: 135.7 kB / 327.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.629e-05/0.3985, allocations: 25.78 kB / 327.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.3985, allocations: 2.656 kB / 327.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.3986, allocations: 20.94 kB / 327.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.3987, allocations: 21.58 kB / 327.5 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.3995, allocations: 301.9 kB / 327.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.685e-05/0.3996, allocations: 17.12 kB / 327.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.3996, allocations: 8.906 kB / 327.8 MB, free: 2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.3996, allocations: 4.781 kB / 327.8 MB, free: 2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.4001, allocations: 180.9 kB / 328 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4001, allocations: 4 kB / 328 MB, free: 1.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4001, allocations: 0 / 328 MB, free: 1.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4002, allocations: 0 / 328 MB, free: 1.969 MB / 266.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.0005132/0.4007, allocations: 392.9 kB / 328.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4007, allocations: 9.125 kB / 328.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.4008, allocations: 11.03 kB / 328.4 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.4009, allocations: 177.7 kB / 328.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4009, allocations: 5.734 kB / 328.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.401, allocations: 2.625 kB / 328.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.4012, allocations: 66.5 kB / 328.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4012, allocations: 0 / 328.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4012, allocations: 5.188 kB / 328.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4012, allocations: 2.031 kB / 328.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.4014, allocations: 58.14 kB / 328.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.4016, allocations: 192.3 kB / 328.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.4017, allocations: 60.44 kB / 328.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.4018, allocations: 18.42 kB / 328.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.4018, allocations: 36.56 kB / 329 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.4018, allocations: 0 / 329 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.03419/0.436, allocations: 1.356 MB / 330.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.4361, allocations: 60.72 kB / 330.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4362, allocations: 121.5 kB / 330.5 MB, free: 0.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.4363, allocations: 27.08 kB / 330.5 MB, free: 480 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.4364, allocations: 88.38 kB / 330.6 MB, free: 392 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.4364, allocations: 39.58 kB / 330.7 MB, free: 360 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.4365, allocations: 9.312 kB / 330.7 MB, free: 352 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.4366, allocations: 323 kB / 331 MB, free: 24 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006941/0.4373, allocations: 162.2 kB / 331.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.4379, allocations: 158.5 kB / 331.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/0.4387, allocations: 158.5 kB / 331.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4387, allocations: 0 / 331.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001531/0.4403, allocations: 377.4 kB / 331.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.4403, allocations: 12.78 kB / 331.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4403, allocations: 2.406 kB / 331.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4404, allocations: 0 / 331.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.441, allocations: 40.91 kB / 331.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.441, allocations: 1.188 kB / 331.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.4414, allocations: 12.48 kB / 331.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.4415, allocations: 10.97 kB / 331.9 MB, free: 15.64 MB / 282.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.0001577/0.4416, allocations: 122.2 kB / 332 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.4417, allocations: 8.328 kB / 332 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.4432, allocations: 280.8 kB / 332.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.4433, allocations: 6.172 kB / 332.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4433, allocations: 5.312 kB / 332.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4433, allocations: 0.5625 kB / 332.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.4463, allocations: 0.6245 MB / 332.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4463, allocations: 2.141 kB / 332.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.4469, allocations: 41.41 kB / 333 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.4469, allocations: 1.375 kB / 333 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.4469, allocations: 4.797 kB / 333 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.447, allocations: 3.25 kB / 333 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.447, allocations: 6.375 kB / 333 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.4484, allocations: 389.9 kB / 333.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.4486, allocations: 106 kB / 333.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.4487, allocations: 5.281 kB / 333.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.4491, allocations: 14.33 kB / 333.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.4492, allocations: 16.66 kB / 333.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.4492, allocations: 16.39 kB / 333.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.4493, allocations: 103.6 kB / 333.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4493, allocations: 0 / 333.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008987/0.4502, allocations: 166.4 kB / 333.8 MB, free: 14.45 MB / 282.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.0009837/0.4512, allocations: 244.3 kB / 334 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.4527, allocations: 295 kB / 334.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4527, allocations: 0.8438 kB / 334.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.4533, allocations: 112.2 kB / 334.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.4536, allocations: 19.66 kB / 334.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.4562, allocations: 410.1 kB / 334.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4566, allocations: 0.6985 MB / 335.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003785/0.457, allocations: 34.98 kB / 335.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.4573, allocations: 25.5 kB / 335.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.322e-06/0.4573, allocations: 1.125 kB / 335.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of Templates: time 0.02015/0.4774, allocations: 5.507 MB / 341.1 MB, free: 10.93 MB / 282.7 MB