Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,tolerance=1e-06,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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.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.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.191/2.191, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.578e-05, allocations: 4 kB / 304.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3244, allocations: 54.86 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.4638, allocations: 92.55 MB / 452.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.4642, allocations: 104.7 kB / 452.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0831/0.5473, allocations: 20.23 MB / 472.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.662e-06/0.5474, allocations: 0 / 472.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.5474, allocations: 12 kB / 472.7 MB, free: 15.92 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001221/0.5486, allocations: 0.6584 MB / 473.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5487, allocations: 8.031 kB / 473.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.5488, allocations: 59.3 kB / 473.4 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.5494, allocations: 298.9 kB / 473.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.5494, allocations: 37.31 kB / 473.7 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.5495, allocations: 51.94 kB / 473.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.5509, allocations: 0.6637 MB / 474.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5509, allocations: 0 / 474.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.551, allocations: 19.98 kB / 474.5 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.812e-05/0.5511, allocations: 49.22 kB / 474.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.5525, allocations: 0.7013 MB / 475.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.5556, allocations: 1.461 MB / 476.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.5566, allocations: 427.8 kB / 477.1 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.5569, allocations: 141.2 kB / 477.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.557, allocations: 12.2 kB / 477.2 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.557, allocations: 38.8 kB / 477.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.685e-06/0.557, allocations: 0 / 477.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009424/0.558, allocations: 374.7 kB / 477.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5581, allocations: 59.34 kB / 477.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007743/0.5588, allocations: 479 kB / 478.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.5589, allocations: 29.7 kB / 478.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.5591, allocations: 278.4 kB / 478.5 MB, free: 9.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.5593, allocations: 102.6 kB / 478.6 MB, free: 9.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.5593, allocations: 7.938 kB / 478.6 MB, free: 9.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5595, allocations: 334.8 kB / 478.9 MB, free: 9.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.5599, allocations: 144.6 kB / 479 MB, free: 9.332 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.5604, allocations: 269.3 kB / 479.3 MB, free: 9.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.5608, allocations: 195.8 kB / 479.5 MB, free: 8.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.298e-06/0.5608, allocations: 4 kB / 479.5 MB, free: 8.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001101/0.562, allocations: 473.5 kB / 480 MB, free: 8.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.562, allocations: 8 kB / 480 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.562, allocations: 4 kB / 480 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.5621, allocations: 12 kB / 480 MB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.5635, allocations: 219.7 kB / 480.2 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.5692, allocations: 7.302 MB / 487.5 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.5698, allocations: 67.22 kB / 487.6 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.5699, allocations: 27.98 kB / 487.6 MB, free: 444 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.5701, allocations: 137 kB / 487.7 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.5702, allocations: 43.53 kB / 487.8 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.5715, allocations: 0.5095 MB / 488.3 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.5715, allocations: 4.109 kB / 488.3 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.679e-06/0.5716, allocations: 3.938 kB / 488.3 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.185e-06/0.5716, allocations: 3.984 kB / 488.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007993/0.5724, allocations: 425.2 kB / 488.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-06/0.5724, allocations: 4 kB / 488.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.5737, allocations: 195.8 kB / 488.9 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.5737, allocations: 0 / 488.9 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/0.5738, allocations: 11.98 kB / 488.9 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/0.5795, allocations: 7.298 MB / 496.2 MB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5795, allocations: 0 / 496.2 MB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.5805, allocations: 487.3 kB / 496.7 MB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.5807, allocations: 124.5 kB / 496.8 MB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.5808, allocations: 4 kB / 496.8 MB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.5812, allocations: 20.08 kB / 496.8 MB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.5813, allocations: 19.97 kB / 496.9 MB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.5813, allocations: 19.98 kB / 496.9 MB, free: 6.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006126/0.582, allocations: 381.1 kB / 497.3 MB, free: 6.402 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.582, allocations: 0 / 497.3 MB, free: 6.402 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008335/0.5828, allocations: 175.9 kB / 497.4 MB, free: 6.23 MB / 426.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.0007286/0.5836, allocations: 275.7 kB / 497.7 MB, free: 5.953 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.5867, allocations: 480.6 kB / 498.2 MB, free: 5.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.868e-06/0.5868, allocations: 0 / 498.2 MB, free: 5.484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.5891, allocations: 292.5 kB / 498.4 MB, free: 5.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.5901, allocations: 80.98 kB / 498.5 MB, free: 5.121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.5927, allocations: 0.7004 MB / 499.2 MB, free: 4.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000993/0.5937, allocations: 0.9013 MB / 0.4884 GB, free: 3.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.594, allocations: 47.36 kB / 0.4885 GB, free: 3.422 MB / 426.7 MB Notification: Performance of SimCode: time 2.088e-06/0.594, allocations: 0 / 0.4885 GB, free: 3.422 MB / 426.7 MB Notification: Performance of Templates: time 0.05869/0.6527, allocations: 29.26 MB / 0.517 GB, free: 6.16 MB / 458.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat failed! " Variables in the reference: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],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],kc_OUT_1[1],kc_OUT_1[2],kc_OUT_1[3],kc_OUT_2[1],kc_OUT_2[2],kc_OUT_2[3],kc_OUT_3[1],kc_OUT_3[2],kc_OUT_3[3],kc_OUT_4[1],kc_OUT_4[2],kc_OUT_4[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],Re_4[1],Re_4[2],Re_4[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],Re_4[1],Re_4[2],Re_4[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_OUT_1[1],kc_OUT_1[2],kc_OUT_1[3],kc_OUT_2[1],kc_OUT_2[2],kc_OUT_2[3],kc_OUT_3[1],kc_OUT_3[2],kc_OUT_3[3],kc_OUT_4[1],kc_OUT_4[2],kc_OUT_4[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_4[1],m_flow_4[2],m_flow_4[3],m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].s,m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].s,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].h,m_flow_IN_con_1[3].s,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].s,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].s,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].s,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].h,m_flow_IN_con_3[1].s,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].h,m_flow_IN_con_3[2].s,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].h,m_flow_IN_con_3[3].s,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].h,m_flow_IN_con_4[1].s,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].h,m_flow_IN_con_4[2].s,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].h,m_flow_IN_con_4[3].s,m_flow_IN_con_4[3].target,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,m_flow_IN_var_3[3].rho,m_flow_IN_var_4[1].cp,m_flow_IN_var_4[1].eta,m_flow_IN_var_4[1].lambda,m_flow_IN_var_4[1].m_flow,m_flow_IN_var_4[1].rho,m_flow_IN_var_4[2].cp,m_flow_IN_var_4[2].eta,m_flow_IN_var_4[2].lambda,m_flow_IN_var_4[2].m_flow,m_flow_IN_var_4[2].rho,m_flow_IN_var_4[3].cp,m_flow_IN_var_4[3].eta,m_flow_IN_var_4[3].lambda,m_flow_IN_var_4[3].m_flow,m_flow_IN_var_4[3].rho,n,rho[1],rho[2],rho[3],s,time