Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.155/2.155, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.173e-05, allocations: 4 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3551, allocations: 48.69 MB / 324.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002886/0.358, allocations: 1.616 MB / 326.5 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3603, allocations: 0.9222 MB / 327.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.3605, allocations: 1.062 kB / 327.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.3608, allocations: 41.95 kB / 327.5 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.3611, allocations: 51.94 kB / 327.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.3617, allocations: 109.8 kB / 327.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.3621, allocations: 147.4 kB / 327.8 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.3622, allocations: 4.203 kB / 327.8 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3624, allocations: 91.84 kB / 327.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.3626, allocations: 103 kB / 327.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006254/0.3633, allocations: 191.2 kB / 328.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.722e-05/0.3634, allocations: 14.34 kB / 328.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3635, allocations: 61.38 kB / 328.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3636, allocations: 21.91 kB / 328.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.3642, allocations: 238.4 kB / 328.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3642, allocations: 0 / 328.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3642, allocations: 0 / 328.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.3643, allocations: 1.25 kB / 328.5 MB, free: 1.367 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00139/0.3657, allocations: 0.5757 MB / 329 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3657, allocations: 15.19 kB / 329.1 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3659, allocations: 30.31 kB / 329.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.3663, allocations: 266.1 kB / 329.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3663, allocations: 19.69 kB / 329.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.3664, allocations: 24.38 kB / 329.4 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.3677, allocations: 440.8 kB / 329.8 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3678, allocations: 0.5625 kB / 329.8 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.3678, allocations: 11.28 kB / 329.8 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.3679, allocations: 15.64 kB / 329.8 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3692, allocations: 347.3 kB / 330.2 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.3717, allocations: 1.117 MB / 331.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009077/0.3727, allocations: 258.8 kB / 331.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-05/0.3728, allocations: 11.58 kB / 331.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3728, allocations: 34.02 kB / 331.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 3.045e-06/0.3729, allocations: 0 / 331.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.002028/0.3749, allocations: 0.6188 MB / 332.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.375, allocations: 105.8 kB / 332.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.3758, allocations: 362.1 kB / 332.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.3759, allocations: 30.92 kB / 332.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.3761, allocations: 240.5 kB / 332.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.3762, allocations: 47.41 kB / 333 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.3762, allocations: 7.938 kB / 333 MB, free: 14.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3764, allocations: 323 kB / 333.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/0.377, allocations: 132.8 kB / 333.4 MB, free: 14.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.3777, allocations: 246.4 kB / 333.7 MB, free: 14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.3784, allocations: 165.9 kB / 333.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.3784, allocations: 5.109 kB / 333.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001607/0.38, allocations: 401.1 kB / 334.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.3801, allocations: 7.094 kB / 334.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.309e-05/0.3802, allocations: 26.59 kB / 334.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.3802, allocations: 6.312 kB / 334.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.3807, allocations: 59.66 kB / 334.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.3807, allocations: 7.141 kB / 334.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.3813, allocations: 60.81 kB / 334.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.3814, allocations: 15.41 kB / 334.4 MB, free: 13.81 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003369/0.3817, allocations: 179.7 kB / 334.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3819, allocations: 33.86 kB / 334.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.383, allocations: 302.5 kB / 334.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.3831, allocations: 2.469 kB / 334.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3831, allocations: 1.984 kB / 334.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3831, allocations: 1.828 kB / 334.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/0.384, allocations: 305.2 kB / 335.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-05/0.3841, allocations: 19.02 kB / 335.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.3844, allocations: 44.42 kB / 335.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.3845, allocations: 0 / 335.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.3845, allocations: 6.172 kB / 335.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.3845, allocations: 1.906 kB / 335.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3846, allocations: 1.5 kB / 335.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.386, allocations: 0.5438 MB / 335.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.3864, allocations: 140.8 kB / 336 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.3865, allocations: 3.203 kB / 336 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.3869, allocations: 22.31 kB / 336 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3871, allocations: 25.2 kB / 336 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.3871, allocations: 8.531 kB / 336 MB, free: 12.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005564/0.3877, allocations: 287.6 kB / 336.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.385e-06/0.3877, allocations: 0 / 336.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008714/0.3886, allocations: 100.7 kB / 336.4 MB, free: 12.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0004317/0.389, allocations: 157.3 kB / 336.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.3906, allocations: 447.9 kB / 337 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3907, allocations: 4.062 kB / 337 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006973/0.3914, allocations: 286.2 kB / 337.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.3922, allocations: 74.12 kB / 337.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.3942, allocations: 0.6982 MB / 338.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.3947, allocations: 0.7995 MB / 338.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.3949, allocations: 23.94 kB / 338.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3949, allocations: 0 / 338.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of Templates: time 0.01637/0.4113, allocations: 5.412 MB / 344.3 MB, free: 8.582 MB / 282.7 MB