Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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.|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_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.|kc_4.1.|kc_4.2.|kc_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.StraightPipe.kc_laminar_KC") Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.343e-05, allocations: 4 kB / 304.9 MB, free: 5.633 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 54.85 MB / 359.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4607, allocations: 88.29 MB / 448.1 MB, free: 8.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.4611, allocations: 95.94 kB / 448.2 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04987/0.5109, allocations: 11.71 MB / 459.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.242e-06/0.511, allocations: 0 / 459.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.511, allocations: 12 kB / 459.9 MB, free: 12.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001088/0.5121, allocations: 0.6074 MB / 460.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5122, allocations: 8.031 kB / 460.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.5123, allocations: 51.39 kB / 460.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.5128, allocations: 288.3 kB / 460.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.5129, allocations: 44.98 kB / 460.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.513, allocations: 43.94 kB / 460.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.5142, allocations: 0.6114 MB / 461.5 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5143, allocations: 0 / 461.5 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.5143, allocations: 20.89 kB / 461.5 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-05/0.5144, allocations: 45.28 kB / 461.6 MB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.5157, allocations: 0.6505 MB / 462.2 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.5186, allocations: 1.379 MB / 463.6 MB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.5196, allocations: 423.8 kB / 464 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.5199, allocations: 149.2 kB / 464.2 MB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.52, allocations: 12.16 kB / 464.2 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5201, allocations: 34.8 kB / 464.2 MB, free: 8.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.76e-06/0.5201, allocations: 0 / 464.2 MB, free: 8.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009755/0.5211, allocations: 370.8 kB / 464.6 MB, free: 7.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.5211, allocations: 57.28 kB / 464.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/0.5219, allocations: 438.7 kB / 465.1 MB, free: 7.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.522, allocations: 29.7 kB / 465.1 MB, free: 7.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.5222, allocations: 258.6 kB / 465.4 MB, free: 7.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5223, allocations: 98.56 kB / 465.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.5224, allocations: 8 kB / 465.5 MB, free: 6.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5225, allocations: 322.8 kB / 465.8 MB, free: 6.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.5229, allocations: 140.5 kB / 465.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.5233, allocations: 232 kB / 466.1 MB, free: 6.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.5237, allocations: 167.8 kB / 466.3 MB, free: 6.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.039e-06/0.5237, allocations: 0 / 466.3 MB, free: 6.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001035/0.5248, allocations: 433.2 kB / 466.7 MB, free: 5.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.5248, allocations: 9.672 kB / 466.7 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5248, allocations: 7.984 kB / 466.7 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5249, allocations: 4 kB / 466.7 MB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.5262, allocations: 195.8 kB / 466.9 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/0.5321, allocations: 7.291 MB / 474.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.5329, allocations: 55.47 kB / 474.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/0.5331, allocations: 31.91 kB / 474.3 MB, free: 13.78 MB / 410.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: 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 (40): * Single equations (assignments): 28 * 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.0002674/0.5333, allocations: 130 kB / 474.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.5335, allocations: 40.89 kB / 474.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.5357, allocations: 0.5168 MB / 475 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.5357, allocations: 4 kB / 475 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.63e-06/0.5358, allocations: 0 / 475 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.986e-06/0.5358, allocations: 0 / 475 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.537, allocations: 413.2 kB / 475.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.943e-06/0.537, allocations: 0 / 475.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.5383, allocations: 195.8 kB / 475.6 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/0.5384, allocations: 3.953 kB / 475.6 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.5384, allocations: 15.98 kB / 475.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005659/0.5441, allocations: 7.281 MB / 482.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.5441, allocations: 3.938 kB / 482.9 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.5451, allocations: 475.4 kB / 483.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.5454, allocations: 124.5 kB / 483.5 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.5455, allocations: 4 kB / 483.5 MB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.5458, allocations: 15.98 kB / 483.5 MB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.5459, allocations: 28.05 kB / 483.5 MB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.546, allocations: 12 kB / 483.5 MB, free: 4.172 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005543/0.5465, allocations: 349.1 kB / 483.9 MB, free: 3.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5465, allocations: 0 / 483.9 MB, free: 3.832 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000694/0.5472, allocations: 131.8 kB / 484 MB, free: 3.703 MB / 410.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.0003875/0.5476, allocations: 185.6 kB / 484.2 MB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.5494, allocations: 447.9 kB / 484.6 MB, free: 3.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.032e-06/0.5494, allocations: 0.75 kB / 484.6 MB, free: 3.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.5507, allocations: 288.1 kB / 484.9 MB, free: 2.797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.5514, allocations: 109.4 kB / 485 MB, free: 2.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.553, allocations: 0.6579 MB / 485.7 MB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.5537, allocations: 0.8895 MB / 486.6 MB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.5538, allocations: 39.42 kB / 486.6 MB, free: 1.055 MB / 410.7 MB Notification: Performance of SimCode: time 1.92e-06/0.5538, allocations: 0 / 486.6 MB, free: 1.055 MB / 410.7 MB Notification: Performance of Templates: time 0.03876/0.5926, allocations: 26.65 MB / 0.5012 GB, free: 6.41 MB / 442.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_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],kc_4[1],kc_4[2],kc_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],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],kc_4[1],kc_4[2],kc_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].d_hyd,m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].d_hyd,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].d_hyd,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].d_hyd,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],time