Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.3 MB / 224.4 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.218e-05, allocations: 4 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3541, allocations: 48.7 MB / 324.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003227/0.3574, allocations: 1.808 MB / 326.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.3612, allocations: 1.705 MB / 328.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.3616, allocations: 1.906 kB / 328.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.3619, allocations: 53.19 kB / 328.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.3621, allocations: 69.09 kB / 328.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.3636, allocations: 269.2 kB / 328.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006154/0.3642, allocations: 251.8 kB / 329 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.3643, allocations: 6.203 kB / 329 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.3646, allocations: 148.2 kB / 329.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.3649, allocations: 163.2 kB / 329.3 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.3668, allocations: 0.6601 MB / 330 MB, free: 440 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.3671, allocations: 33.47 kB / 330 MB, free: 436 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.3673, allocations: 94.31 kB / 330.1 MB, free: 392 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.3676, allocations: 34.38 kB / 330.1 MB, free: 392 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.369, allocations: 0.5042 MB / 330.7 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.369, allocations: 1.25 kB / 330.7 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.369, allocations: 0 / 330.7 MB, free: 240 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.3691, allocations: 0 / 330.7 MB, free: 240 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001965/0.371, allocations: 0.7463 MB / 331.4 MB, free: 15.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3711, allocations: 9.719 kB / 331.4 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.3713, allocations: 53.28 kB / 331.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.3721, allocations: 311.3 kB / 331.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.3721, allocations: 43.31 kB / 331.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.3723, allocations: 51.75 kB / 331.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.3744, allocations: 0.7708 MB / 332.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.3745, allocations: 0 / 332.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.3746, allocations: 20.97 kB / 332.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.3747, allocations: 31.69 kB / 332.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.3767, allocations: 0.5708 MB / 333.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.3811, allocations: 1.7 MB / 335 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.3823, allocations: 310.2 kB / 335.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.708e-05/0.3824, allocations: 16.08 kB / 335.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3824, allocations: 36.47 kB / 335.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 5.46e-06/0.3825, allocations: 1.25 kB / 335.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.002575/0.385, allocations: 0.7614 MB / 336.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.3852, allocations: 114 kB / 336.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.3865, allocations: 0.5789 MB / 336.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/0.3866, allocations: 29.7 kB / 336.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.3869, allocations: 320.7 kB / 337.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.387, allocations: 71.78 kB / 337.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.3871, allocations: 14.59 kB / 337.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3872, allocations: 335 kB / 337.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.3881, allocations: 200.1 kB / 337.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.3891, allocations: 471 kB / 338.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3901, allocations: 277.8 kB / 338.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.3902, allocations: 1.688 kB / 338.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002398/0.3926, allocations: 0.6838 MB / 339.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.3927, allocations: 17.86 kB / 339.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/0.3928, allocations: 46.19 kB / 339.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.735e-05/0.3929, allocations: 14.2 kB / 339.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.3934, allocations: 77.92 kB / 339.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.12e-05/0.3934, allocations: 20.61 kB / 339.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/0.3943, allocations: 110 kB / 339.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.3944, allocations: 32.48 kB / 339.4 MB, free: 11.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005238/0.395, allocations: 261.8 kB / 339.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.3952, allocations: 49.88 kB / 339.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.397, allocations: 488.1 kB / 340.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.397, allocations: 4.312 kB / 340.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.397, allocations: 1.094 kB / 340.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.3971, allocations: 5.016 kB / 340.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.3982, allocations: 407.4 kB / 340.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001245/0.3983, allocations: 46.36 kB / 340.7 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.3987, allocations: 33.44 kB / 340.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.3987, allocations: 5.281 kB / 340.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.3988, allocations: 8.781 kB / 340.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.3988, allocations: 6.078 kB / 340.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3988, allocations: 0 / 340.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.4005, allocations: 0.6682 MB / 341.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.401, allocations: 178.2 kB / 341.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.4012, allocations: 6.281 kB / 341.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/0.4017, allocations: 24.48 kB / 341.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.4019, allocations: 28.69 kB / 341.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.4019, allocations: 18.3 kB / 341.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008963/0.4029, allocations: 447.3 kB / 342.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4029, allocations: 0 / 342.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001342/0.4042, allocations: 187.5 kB / 342.3 MB, free: 9.754 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007175/0.405, allocations: 230.2 kB / 342.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.4071, allocations: 0.7698 MB / 343.3 MB, free: 9.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4071, allocations: 0 / 343.3 MB, free: 9.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.4081, allocations: 494.6 kB / 343.7 MB, free: 8.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4092, allocations: 123.6 kB / 343.9 MB, free: 8.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.4125, allocations: 1.115 MB / 345 MB, free: 7.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.4132, allocations: 0.8959 MB / 345.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.4134, allocations: 39.78 kB / 345.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4134, allocations: 0 / 345.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of Templates: time 0.02517/0.4386, allocations: 9.825 MB / 355.7 MB, free: 15.97 MB / 298.7 MB