Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.337e-05/4.344e-05, allocations: 11.92 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3707, allocations: 48.69 MB / 324.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002732/0.3735, allocations: 1.502 MB / 326.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.3751, allocations: 0.7022 MB / 327.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3753, allocations: 5.219 kB / 327.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.3756, allocations: 40.89 kB / 327.1 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.3759, allocations: 50.34 kB / 327.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.3762, allocations: 53.16 kB / 327.2 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.3765, allocations: 114.9 kB / 327.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.3765, allocations: 2.844 kB / 327.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3767, allocations: 70.81 kB / 327.4 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.3769, allocations: 81.12 kB / 327.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003891/0.3773, allocations: 118.9 kB / 327.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.3774, allocations: 8.219 kB / 327.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.3775, allocations: 55.48 kB / 327.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.3776, allocations: 18.25 kB / 327.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.378, allocations: 187.2 kB / 327.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.378, allocations: 0 / 327.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3781, allocations: 1.406 kB / 327.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3781, allocations: 0 / 327.9 MB, free: 1.691 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009606/0.3791, allocations: 0.4964 MB / 328.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3791, allocations: 9.156 kB / 328.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.3793, allocations: 29.86 kB / 328.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.3796, allocations: 247.8 kB / 328.6 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.3796, allocations: 15.53 kB / 328.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.3797, allocations: 23.34 kB / 328.7 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.3807, allocations: 377.5 kB / 329 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3808, allocations: 0 / 329 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.3808, allocations: 6.25 kB / 329.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.835e-05/0.3809, allocations: 29.09 kB / 329.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.382, allocations: 386.6 kB / 329.5 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3842, allocations: 0.8547 MB / 330.3 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008436/0.3851, allocations: 259.2 kB / 330.6 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.3851, allocations: 11.69 kB / 330.6 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3852, allocations: 40.72 kB / 330.6 MB, free: 176 kB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 4.078e-06/0.3852, allocations: 0 / 330.6 MB, free: 176 kB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001305/0.3865, allocations: 351.8 kB / 331 MB, free: 84 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3866, allocations: 52.78 kB / 331 MB, free: 20 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.3872, allocations: 303.2 kB / 331.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.3872, allocations: 25.7 kB / 331.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.3874, allocations: 222.8 kB / 331.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.3875, allocations: 59.25 kB / 331.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.3875, allocations: 5.156 kB / 331.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3877, allocations: 321.4 kB / 331.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.3881, allocations: 106.5 kB / 332 MB, free: 15.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.3886, allocations: 189.6 kB / 332.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.3891, allocations: 130.4 kB / 332.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3891, allocations: 1.156 kB / 332.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00113/0.3902, allocations: 344.8 kB / 332.7 MB, free: 15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3903, allocations: 10.48 kB / 332.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3903, allocations: 2.656 kB / 332.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.3903, allocations: 5.484 kB / 332.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.3915, allocations: 128.5 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.3943, allocations: 3.642 MB / 336.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.3949, allocations: 51 kB / 336.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.3949, allocations: 21.2 kB / 336.5 MB, free: 11.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003534/0.3953, allocations: 174.5 kB / 336.7 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.3954, allocations: 32.22 kB / 336.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.3967, allocations: 338.2 kB / 337.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3967, allocations: 2.047 kB / 337.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.3967, allocations: 1.406 kB / 337.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3967, allocations: 0.6562 kB / 337.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.3974, allocations: 295.4 kB / 337.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3974, allocations: 0 / 337.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.3985, allocations: 112.5 kB / 337.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.3985, allocations: 0 / 337.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.3986, allocations: 13.66 kB / 337.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.4021, allocations: 3.642 MB / 341.1 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4021, allocations: 1.125 kB / 341.1 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4035, allocations: 361 kB / 341.5 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.4037, allocations: 105 kB / 341.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4038, allocations: 10.98 kB / 341.6 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.4043, allocations: 12.31 kB / 341.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4044, allocations: 20.3 kB / 341.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.4045, allocations: 7.766 kB / 341.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005829/0.4051, allocations: 243.4 kB / 341.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4051, allocations: 4 kB / 341.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009024/0.406, allocations: 69.81 kB / 341.9 MB, free: 6.891 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/0.4064, allocations: 127.4 kB / 342.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.4086, allocations: 304.5 kB / 342.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.4086, allocations: 7.938 kB / 342.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.4101, allocations: 171.8 kB / 342.5 MB, free: 6.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.411, allocations: 55.31 kB / 342.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.4135, allocations: 0.6728 MB / 343.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.4143, allocations: 0.7894 MB / 344.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.4145, allocations: 27.23 kB / 344.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4146, allocations: 0 / 344.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of Templates: time 0.03016/0.4447, allocations: 10.48 MB / 354.6 MB, free: 496 kB / 282.7 MB