Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadModel(ModelicaTest): time 1.89/1.89, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.488e-05, allocations: 4 kB / 273.1 MB, free: 3.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.09911, allocations: 48.69 MB / 321.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3432/0.4424, allocations: 85.4 MB / 407.2 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.4427, allocations: 88.84 kB / 407.3 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05813/0.5009, allocations: 14.25 MB / 421.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.052e-06/0.5009, allocations: 0 / 421.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.501, allocations: 4 kB / 421.5 MB, free: 13.25 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001038/0.502, allocations: 0.592 MB / 422.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5021, allocations: 8.031 kB / 422.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.5022, allocations: 39.53 kB / 422.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.5026, allocations: 281.3 kB / 422.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.5027, allocations: 32.8 kB / 422.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.5028, allocations: 41.81 kB / 422.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/0.5038, allocations: 0.5083 MB / 423 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.5038, allocations: 0 / 423 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.5039, allocations: 21.44 kB / 423.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.327e-05/0.504, allocations: 32.98 kB / 423.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.505, allocations: 0.5312 MB / 423.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.5075, allocations: 1.201 MB / 424.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.5083, allocations: 352.1 kB / 425.2 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.5086, allocations: 122.1 kB / 425.3 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.5087, allocations: 16.19 kB / 425.3 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5087, allocations: 34.75 kB / 425.3 MB, free: 9.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.254e-06/0.5087, allocations: 4 kB / 425.3 MB, free: 9.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008076/0.5095, allocations: 315.1 kB / 425.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.5096, allocations: 55.41 kB / 425.7 MB, free: 9.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.5102, allocations: 398.9 kB / 426.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.5103, allocations: 25.7 kB / 426.1 MB, free: 9.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.5105, allocations: 193 kB / 426.3 MB, free: 8.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5106, allocations: 71.53 kB / 426.4 MB, free: 8.914 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.5106, allocations: 3.812 kB / 426.4 MB, free: 8.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5108, allocations: 352.8 kB / 426.7 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.5111, allocations: 101.6 kB / 426.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.5114, allocations: 98.53 kB / 426.9 MB, free: 8.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.5117, allocations: 117.8 kB / 427 MB, free: 8.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-06/0.5117, allocations: 0 / 427 MB, free: 8.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007619/0.5124, allocations: 318.4 kB / 427.3 MB, free: 8.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5125, allocations: 4 kB / 427.4 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.325e-06/0.5125, allocations: 0 / 427.4 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5125, allocations: 0 / 427.4 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.5136, allocations: 159 kB / 427.5 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004379/0.518, allocations: 5.508 MB / 433 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.5184, allocations: 55.23 kB / 433.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.5185, allocations: 8 kB / 433.1 MB, free: 2.137 MB / 330.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.5186, allocations: 120.1 kB / 433.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.5187, allocations: 35.61 kB / 433.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.5198, allocations: 423.4 kB / 433.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.912e-06/0.5198, allocations: 4 kB / 433.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.536e-06/0.5198, allocations: 7.938 kB / 433.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.202e-06/0.5198, allocations: 3.984 kB / 433.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.5205, allocations: 373.4 kB / 434 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-06/0.5205, allocations: 0 / 434 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5216, allocations: 158.5 kB / 434.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.321e-06/0.5216, allocations: 0 / 434.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.5216, allocations: 6.938 kB / 434.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004338/0.526, allocations: 5.524 MB / 439.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-06/0.526, allocations: 0 / 439.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.5268, allocations: 415.8 kB / 440.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.527, allocations: 124.8 kB / 440.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.5271, allocations: 7.688 kB / 440.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.5274, allocations: 15.73 kB / 440.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.5275, allocations: 11.98 kB / 440.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.5275, allocations: 15.3 kB / 440.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005423/0.5281, allocations: 326 kB / 440.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.766e-06/0.5281, allocations: 0 / 440.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007089/0.5288, allocations: 157 kB / 440.8 MB, free: 10.43 MB / 346.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005514/0.5294, allocations: 259.3 kB / 441 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.5308, allocations: 336.3 kB / 441.3 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5308, allocations: 0 / 441.3 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.5318, allocations: 229.6 kB / 441.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.5324, allocations: 90.61 kB / 441.7 MB, free: 9.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.5337, allocations: 0.5548 MB / 442.2 MB, free: 9.059 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006157/0.5343, allocations: 0.8568 MB / 443.1 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000267/0.5346, allocations: 91.14 kB / 443.2 MB, free: 8.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.5347, allocations: 23.44 kB / 443.2 MB, free: 8.074 MB / 346.7 MB Notification: Performance of SimCode: time 1.539e-06/0.5347, allocations: 4 kB / 443.2 MB, free: 8.07 MB / 346.7 MB Notification: Performance of Templates: time 0.01969/0.5544, allocations: 8.043 MB / 451.2 MB, free: 84 kB / 346.7 MB "" Variables in the reference:time,n_nt[1],n_nt[2],n_nt[3],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],m_flow_3[1],m_flow_3[2],m_flow_3[3],kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],input_Nu.y Variables in the result:L,Nu[1],Nu[2],Nu[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],h,input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],lambda[1],lambda[2],lambda[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],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].n_nt,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].n_nt,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].h,m_flow_IN_con_1[3].n_nt,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].n_nt,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].n_nt,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].n_nt,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[1].h,m_flow_IN_con_3[1].n_nt,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[2].h,m_flow_IN_con_3[2].n_nt,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_3[3].h,m_flow_IN_con_3[3].n_nt,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].rho,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].rho,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].lambda,m_flow_IN_var_3[1].rho,m_flow_IN_var_3[2].cp,m_flow_IN_var_3[2].eta,m_flow_IN_var_3[2].lambda,m_flow_IN_var_3[2].rho,m_flow_IN_var_3[3].cp,m_flow_IN_var_3[3].eta,m_flow_IN_var_3[3].lambda,m_flow_IN_var_3[3].rho,n,n_nt[1],n_nt[2],n_nt[3],rho[1],rho[2],rho[3],time