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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.235e-05/5.256e-05, allocations: 4 kB / 305 MB, free: 5.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3598, allocations: 54.85 MB / 359.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.5013, allocations: 94.11 MB / 453.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.5017, allocations: 93.28 kB / 454 MB, free: 2.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09914/0.6008, allocations: 24.03 MB / 478 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.199e-06/0.6009, allocations: 4 kB / 478 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.6009, allocations: 4 kB / 478 MB, free: 10.57 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001394/0.6023, allocations: 0.7363 MB / 478.8 MB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6024, allocations: 8.031 kB / 478.8 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.6025, allocations: 55.34 kB / 478.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.6031, allocations: 311.6 kB / 479.1 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.6031, allocations: 37.31 kB / 479.2 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.6033, allocations: 56 kB / 479.2 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6047, allocations: 0.7204 MB / 480 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.6047, allocations: 0 / 480 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.6048, allocations: 27.95 kB / 480 MB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.6049, allocations: 25.31 kB / 480 MB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.6059, allocations: 490.2 kB / 480.5 MB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.6093, allocations: 1.696 MB / 482.2 MB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.6099, allocations: 267.6 kB / 482.4 MB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.6102, allocations: 130.4 kB / 482.6 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.6103, allocations: 11.94 kB / 482.6 MB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.6104, allocations: 38.56 kB / 482.6 MB, free: 5.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.581e-06/0.6104, allocations: 0 / 482.6 MB, free: 5.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009324/0.6113, allocations: 326.3 kB / 482.9 MB, free: 5.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.6114, allocations: 106.8 kB / 483 MB, free: 5.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/0.6124, allocations: 0.5707 MB / 483.6 MB, free: 4.734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.6125, allocations: 29.7 kB / 483.6 MB, free: 4.699 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.6128, allocations: 279.3 kB / 483.9 MB, free: 4.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6129, allocations: 78.92 kB / 484 MB, free: 4.344 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.6129, allocations: 12 kB / 484 MB, free: 4.332 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.6132, allocations: 362.8 kB / 484.4 MB, free: 3.969 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.6136, allocations: 165.1 kB / 484.5 MB, free: 3.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.6142, allocations: 424.2 kB / 484.9 MB, free: 3.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.6148, allocations: 240.6 kB / 485.2 MB, free: 3.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.839e-06/0.6148, allocations: 4 kB / 485.2 MB, free: 3.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001466/0.6163, allocations: 0.5996 MB / 485.8 MB, free: 2.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.6163, allocations: 8 kB / 485.8 MB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/0.6165, allocations: 47.97 kB / 485.8 MB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.6165, allocations: 16.77 kB / 485.8 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.6169, allocations: 79.83 kB / 485.9 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.617, allocations: 19.94 kB / 485.9 MB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.6176, allocations: 87.25 kB / 486 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.6177, allocations: 35.98 kB / 486.1 MB, free: 2.129 MB / 410.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].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * 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.0002042/0.6179, allocations: 155.8 kB / 486.2 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.6181, allocations: 59.28 kB / 486.3 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.6194, allocations: 441.4 kB / 486.7 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.6194, allocations: 4 kB / 486.7 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.561e-06/0.6194, allocations: 4 kB / 486.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.117e-06/0.6194, allocations: 3.938 kB / 486.7 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000903/0.6203, allocations: 409.2 kB / 487.1 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.399e-05/0.6204, allocations: 39.97 kB / 487.2 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.6207, allocations: 39.91 kB / 487.2 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.499e-06/0.6207, allocations: 4 kB / 487.2 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.6208, allocations: 15.94 kB / 487.2 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.182e-06/0.6208, allocations: 3.938 kB / 487.2 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-06/0.6208, allocations: 4 kB / 487.2 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009637/0.6218, allocations: 0.5874 MB / 487.8 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.622, allocations: 124.5 kB / 487.9 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.462e-05/0.6221, allocations: 7.984 kB / 487.9 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.6225, allocations: 23.98 kB / 488 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.6227, allocations: 35.84 kB / 488 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.6227, allocations: 19.98 kB / 488 MB, free: 64 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007393/0.6235, allocations: 433.5 kB / 488.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.156e-06/0.6235, allocations: 0 / 488.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001148/0.6247, allocations: 203.8 kB / 488.6 MB, free: 15.45 MB / 426.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.0006554/0.6253, allocations: 286.9 kB / 488.9 MB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.6266, allocations: 0.6776 MB / 489.6 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.591e-06/0.6266, allocations: 4 kB / 489.6 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.6272, allocations: 452.8 kB / 490 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008789/0.6281, allocations: 117.6 kB / 490.2 MB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.6302, allocations: 0.7449 MB / 490.9 MB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.6309, allocations: 0.9013 MB / 491.8 MB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004798/0.6314, allocations: 136.5 kB / 491.9 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.6315, allocations: 31.44 kB / 492 MB, free: 11.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.896e-06/0.6316, allocations: 0 / 492 MB, free: 11.91 MB / 426.7 MB Notification: Performance of Templates: time 0.02577/0.6573, allocations: 10.2 MB / 0.4904 GB, free: 1.777 MB / 426.7 MB