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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC") Notification: Performance of loadModel(ModelicaTest): time 2.536/2.536, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.32e-05, allocations: 4 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4363, allocations: 54.84 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003238/0.4396, allocations: 1.703 MB / 364.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.4417, allocations: 0.7735 MB / 365.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.442, allocations: 0.9062 kB / 365.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.4423, allocations: 45.22 kB / 365.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.4428, allocations: 91.02 kB / 365.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.4431, allocations: 58.73 kB / 365.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.4436, allocations: 196 kB / 365.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.4437, allocations: 4.688 kB / 365.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.444, allocations: 118.4 kB / 365.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.4444, allocations: 148.8 kB / 366 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006663/0.445, allocations: 254.4 kB / 366.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.76e-05/0.4452, allocations: 15.44 kB / 366.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.4453, allocations: 101 kB / 366.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.4455, allocations: 31.31 kB / 366.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.4462, allocations: 328.3 kB / 366.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4462, allocations: 0 / 366.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4463, allocations: 1.25 kB / 366.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.4463, allocations: 4 kB / 366.7 MB, free: 9.426 MB / 298.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.001704/0.448, allocations: 0.6336 MB / 367.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.4481, allocations: 8.906 kB / 367.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.4483, allocations: 53.11 kB / 367.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/0.449, allocations: 293.8 kB / 367.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.449, allocations: 30.5 kB / 367.7 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4492, allocations: 47.73 kB / 367.8 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.4511, allocations: 0.6562 MB / 368.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.4512, allocations: 3.953 kB / 368.5 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.4513, allocations: 19.98 kB / 368.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.4514, allocations: 53.27 kB / 368.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.4536, allocations: 0.7038 MB / 369.2 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.4587, allocations: 1.372 MB / 370.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.4608, allocations: 460.3 kB / 371 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/0.4609, allocations: 16.22 kB / 371.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.461, allocations: 34.8 kB / 371.1 MB, free: 5.398 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 4.578e-06/0.461, allocations: 4 kB / 371.1 MB, free: 5.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.002774/0.4638, allocations: 0.5485 MB / 371.7 MB, free: 4.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.4639, allocations: 55.34 kB / 371.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.4651, allocations: 448.6 kB / 372.1 MB, free: 4.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.4653, allocations: 29.7 kB / 372.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.4656, allocations: 216.4 kB / 372.4 MB, free: 4.078 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.4659, allocations: 98.58 kB / 372.5 MB, free: 3.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.466, allocations: 8 kB / 372.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000259/0.4663, allocations: 354.8 kB / 372.8 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.4672, allocations: 156.5 kB / 373 MB, free: 3.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.4683, allocations: 252.3 kB / 373.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.4694, allocations: 195.8 kB / 373.4 MB, free: 2.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.4695, allocations: 0 / 373.4 MB, free: 2.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002515/0.472, allocations: 0.4898 MB / 373.9 MB, free: 2.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.4721, allocations: 11.95 kB / 373.9 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4721, allocations: 0 / 373.9 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.4722, allocations: 8.375 kB / 373.9 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/0.4747, allocations: 207.7 kB / 374.1 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/0.4818, allocations: 7.298 MB / 381.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009536/0.4828, allocations: 59.66 kB / 381.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.483, allocations: 23.98 kB / 381.5 MB, free: 10.61 MB / 314.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.0006678/0.4837, allocations: 222.2 kB / 381.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.4839, allocations: 47.39 kB / 381.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.4867, allocations: 0.5481 MB / 382.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4868, allocations: 0 / 382.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.4868, allocations: 4 kB / 382.3 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4868, allocations: 3.984 kB / 382.3 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.4882, allocations: 417.1 kB / 382.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4882, allocations: 0 / 382.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/0.4906, allocations: 183.8 kB / 382.9 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/0.4907, allocations: 7.953 kB / 382.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.683e-05/0.4908, allocations: 15.98 kB / 382.9 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006716/0.4976, allocations: 7.29 MB / 390.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4976, allocations: 288 / 390.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.4997, allocations: 0.5033 MB / 390.7 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.5001, allocations: 128.4 kB / 390.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.5003, allocations: 4 kB / 390.9 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.5009, allocations: 16 kB / 390.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.5011, allocations: 35.83 kB / 390.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/0.5012, allocations: 11.98 kB / 390.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009175/0.5022, allocations: 351.1 kB / 391.3 MB, free: 472 kB / 314.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.5022, allocations: 0 / 391.3 MB, free: 472 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.001258/0.5035, allocations: 127.8 kB / 391.4 MB, free: 344 kB / 314.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.0005005/0.504, allocations: 139.2 kB / 391.5 MB, free: 196 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003577/0.5076, allocations: 0.4889 MB / 392 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.5077, allocations: 0 / 392 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/0.5102, allocations: 307.8 kB / 392.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.5115, allocations: 102.6 kB / 392.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.515, allocations: 0.9945 MB / 393.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/0.5159, allocations: 0.8858 MB / 394.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009973/0.517, allocations: 144 kB / 394.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.5172, allocations: 39.36 kB / 394.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5173, allocations: 3.938 kB / 394.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of Templates: time 0.02956/0.5468, allocations: 8.02 MB / 402.5 MB, free: 5.234 MB / 330.7 MB "" 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[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].d_hyd,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].d_hyd,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].d_hyd,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,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].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].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].rho,n,rho[1],rho[2],rho[3],time