Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.957e-05, allocations: 10.23 kB / 273.1 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08759, allocations: 48.69 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4352, allocations: 79.23 MB / 401 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4355, allocations: 94.91 kB / 401.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04654/0.4821, allocations: 11.81 MB / 412.9 MB, free: 2.195 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.191e-06/0.4821, allocations: 4 kB / 412.9 MB, free: 2.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.4822, allocations: 3.906 kB / 412.9 MB, free: 2.191 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005797/0.4827, allocations: 493.4 kB / 413.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4828, allocations: 11.41 kB / 413.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.4829, allocations: 27.12 kB / 413.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4831, allocations: 243.2 kB / 413.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4832, allocations: 22.16 kB / 413.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.4832, allocations: 33.5 kB / 413.7 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.4838, allocations: 335.5 kB / 414.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4838, allocations: 0 / 414.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.4839, allocations: 14.14 kB / 414.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.4839, allocations: 27.48 kB / 414.1 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.4845, allocations: 340.4 kB / 414.4 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.486, allocations: 0.8511 MB / 415.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.4865, allocations: 239.3 kB / 415.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.4867, allocations: 88.17 kB / 415.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.4867, allocations: 3.828 kB / 415.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4867, allocations: 45.58 kB / 415.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 3.079e-06/0.4868, allocations: 0 / 415.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004997/0.4873, allocations: 216.1 kB / 415.9 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.4873, allocations: 55.31 kB / 415.9 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.4876, allocations: 299.9 kB / 416.2 MB, free: 388 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.4877, allocations: 32.95 kB / 416.2 MB, free: 356 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.4878, allocations: 218.3 kB / 416.4 MB, free: 172 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.4878, allocations: 59.62 kB / 416.5 MB, free: 132 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.4879, allocations: 3.812 kB / 416.5 MB, free: 132 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.488, allocations: 326.4 kB / 416.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.4882, allocations: 84.52 kB / 416.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.4885, allocations: 165.3 kB / 417.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.4888, allocations: 125.2 kB / 417.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.909e-06/0.4888, allocations: 0 / 417.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006254/0.4894, allocations: 284.6 kB / 417.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4895, allocations: 7.688 kB / 417.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4895, allocations: 384 / 417.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.4895, allocations: 15.8 kB / 417.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.4903, allocations: 116.8 kB / 417.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.4932, allocations: 3.652 MB / 421.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.4935, allocations: 42.39 kB / 421.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.4936, allocations: 15.36 kB / 421.3 MB, free: 11.86 MB / 330.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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.4938, allocations: 126.9 kB / 421.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.4939, allocations: 23.38 kB / 421.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.4946, allocations: 303.9 kB / 421.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.984e-06/0.4946, allocations: 0 / 421.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.424e-06/0.4946, allocations: 0 / 421.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.805e-06/0.4946, allocations: 0 / 421.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.4951, allocations: 301 kB / 422.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-06/0.4951, allocations: 0 / 422.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.4958, allocations: 108.1 kB / 422.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.4958, allocations: 4 kB / 422.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.4959, allocations: 15.2 kB / 422.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.4987, allocations: 3.645 MB / 425.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.254e-06/0.4987, allocations: 7.922 kB / 425.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.4993, allocations: 313.8 kB / 426.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.4994, allocations: 103.8 kB / 426.2 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.4995, allocations: 3.875 kB / 426.2 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.4997, allocations: 11.23 kB / 426.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.4998, allocations: 19.56 kB / 426.3 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.4999, allocations: 15.78 kB / 426.3 MB, free: 7.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003071/0.5002, allocations: 235.8 kB / 426.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5002, allocations: 0 / 426.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.5007, allocations: 78.5 kB / 426.6 MB, free: 7.297 MB / 330.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003131/0.5011, allocations: 162.6 kB / 426.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.5021, allocations: 259.6 kB / 427 MB, free: 7.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.383e-06/0.5021, allocations: 0 / 427 MB, free: 7.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006709/0.5028, allocations: 155.1 kB / 427.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.5032, allocations: 61.28 kB / 427.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.5042, allocations: 418.1 kB / 427.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.5047, allocations: 0.7938 MB / 428.4 MB, free: 5.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.5048, allocations: 23.44 kB / 428.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5048, allocations: 0 / 428.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of Templates: time 0.01737/0.5222, allocations: 10.53 MB / 439 MB, free: 11.07 MB / 346.7 MB