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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.444e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4595, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002845/0.4624, allocations: 1.131 MB / 364 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.4659, allocations: 1.211 MB / 365.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.4661, allocations: 0.7812 kB / 365.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.4663, allocations: 19.23 kB / 365.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.4666, allocations: 34.97 kB / 365.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.4674, allocations: 133.5 kB / 365.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.4676, allocations: 29.95 kB / 365.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.4677, allocations: 1.625 kB / 365.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.4678, allocations: 18.83 kB / 365.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.4679, allocations: 21.08 kB / 365.5 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.4692, allocations: 301.9 kB / 365.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4694, allocations: 16.56 kB / 365.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.4694, allocations: 14.09 kB / 365.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.4695, allocations: 6.031 kB / 365.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000782/0.4703, allocations: 181.4 kB / 366 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4703, allocations: 3.938 kB / 366 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4703, allocations: 0 / 366 MB, free: 9.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.4704, allocations: 0 / 366 MB, free: 9.684 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.0007968/0.4712, allocations: 393.1 kB / 366.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.4713, allocations: 8.781 kB / 366.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.4713, allocations: 6.812 kB / 366.4 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.4715, allocations: 175.9 kB / 366.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.4716, allocations: 5.656 kB / 366.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.4716, allocations: 2.531 kB / 366.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.4719, allocations: 67.3 kB / 366.6 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4719, allocations: 0 / 366.6 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.4719, allocations: 3.953 kB / 366.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.472, allocations: 1.406 kB / 366.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.4722, allocations: 61.06 kB / 366.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.4725, allocations: 190.5 kB / 366.9 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.4727, allocations: 56.41 kB / 366.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-05/0.4729, allocations: 19.89 kB / 366.9 MB, free: 8.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.4729, allocations: 35.91 kB / 367 MB, free: 8.664 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/0.4729, allocations: 0 / 367 MB, free: 8.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.04619/0.5191, allocations: 1.358 MB / 368.3 MB, free: 7.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.5192, allocations: 57.09 kB / 368.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.5195, allocations: 128.3 kB / 368.5 MB, free: 7.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.5195, allocations: 26.48 kB / 368.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.5196, allocations: 152.2 kB / 368.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.5198, allocations: 39.55 kB / 368.7 MB, free: 7.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.5198, allocations: 1.031 kB / 368.7 MB, free: 7.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.52, allocations: 325.5 kB / 369 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/0.5209, allocations: 160.6 kB / 369.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008983/0.5219, allocations: 154.7 kB / 369.3 MB, free: 7.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.5229, allocations: 159.5 kB / 369.5 MB, free: 6.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5229, allocations: 0 / 369.5 MB, free: 6.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002114/0.5251, allocations: 377.8 kB / 369.9 MB, free: 6.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.5251, allocations: 8 kB / 369.9 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.5252, allocations: 0 / 369.9 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.5252, allocations: 3.953 kB / 369.9 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.526, allocations: 43.89 kB / 369.9 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.526, allocations: 0 / 369.9 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.5266, allocations: 23.98 kB / 369.9 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.5267, allocations: 4.156 kB / 370 MB, free: 6.508 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.0002241/0.5269, allocations: 117.8 kB / 370.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.527, allocations: 7.906 kB / 370.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.5291, allocations: 302 kB / 370.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.5291, allocations: 7.953 kB / 370.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5292, allocations: 0 / 370.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.5292, allocations: 0 / 370.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.5332, allocations: 0.6257 MB / 371 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.5332, allocations: 3.953 kB / 371 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.534, allocations: 35.97 kB / 371 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.534, allocations: 0 / 371 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.5341, allocations: 11.98 kB / 371.1 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.5341, allocations: 4 kB / 371.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5341, allocations: 3.938 kB / 371.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.5361, allocations: 383.3 kB / 371.4 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.5364, allocations: 105 kB / 371.5 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.5365, allocations: 0 / 371.5 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/0.5371, allocations: 15.98 kB / 371.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.5372, allocations: 23.88 kB / 371.6 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.5372, allocations: 4 kB / 371.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.5374, allocations: 95.27 kB / 371.7 MB, free: 4.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5374, allocations: 3.938 kB / 371.7 MB, free: 4.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001244/0.5386, allocations: 175.9 kB / 371.9 MB, free: 4.461 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.001398/0.5401, allocations: 244.5 kB / 372.1 MB, free: 4.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.542, allocations: 295.9 kB / 372.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5421, allocations: 0 / 372.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000857/0.5429, allocations: 103.9 kB / 372.5 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.5434, allocations: 24.14 kB / 372.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.5469, allocations: 439 kB / 372.9 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.5474, allocations: 0.7004 MB / 373.6 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.5477, allocations: 23.42 kB / 373.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5477, allocations: 0 / 373.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of Templates: time 0.01651/0.5642, allocations: 4.6 MB / 378.3 MB, free: 13.97 MB / 314.7 MB