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.452/2.452, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.355e-05, allocations: 4 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3937, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003418/0.3972, allocations: 1.808 MB / 364.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.4013, allocations: 1.715 MB / 366.4 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.4016, allocations: 2.406 kB / 366.4 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.4019, allocations: 48.27 kB / 366.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.4022, allocations: 73.88 kB / 366.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.4035, allocations: 263.8 kB / 366.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.404, allocations: 254.9 kB / 367 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.4041, allocations: 5.531 kB / 367.1 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.4044, allocations: 138.7 kB / 367.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.4047, allocations: 161.7 kB / 367.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.4066, allocations: 0.6621 MB / 368 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.4068, allocations: 29.72 kB / 368 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.407, allocations: 94.05 kB / 368.1 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.4072, allocations: 35.41 kB / 368.2 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.4085, allocations: 0.4975 MB / 368.7 MB, free: 7.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4085, allocations: 0 / 368.7 MB, free: 7.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4085, allocations: 0 / 368.7 MB, free: 7.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.4085, allocations: 4 kB / 368.7 MB, free: 7.992 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001803/0.4104, allocations: 0.7489 MB / 369.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4104, allocations: 12.02 kB / 369.4 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.4106, allocations: 55.34 kB / 369.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.4112, allocations: 306.2 kB / 369.8 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.4112, allocations: 45.25 kB / 369.8 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.4114, allocations: 63.97 kB / 369.9 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.4134, allocations: 0.7658 MB / 370.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.4134, allocations: 0 / 370.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.4135, allocations: 20 kB / 370.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/0.4136, allocations: 41.19 kB / 370.7 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.4155, allocations: 0.5633 MB / 371.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.4195, allocations: 1.692 MB / 373 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.4206, allocations: 319.5 kB / 373.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.4207, allocations: 11.97 kB / 373.3 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.4207, allocations: 42.52 kB / 373.3 MB, free: 3.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 3.597e-06/0.4207, allocations: 3.938 kB / 373.3 MB, free: 3.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002519/0.4233, allocations: 0.7631 MB / 374.1 MB, free: 2.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/0.4234, allocations: 102.8 kB / 374.2 MB, free: 2.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.4246, allocations: 0.576 MB / 374.8 MB, free: 1.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.4247, allocations: 33.7 kB / 374.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.425, allocations: 287.4 kB / 375.1 MB, free: 1.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.4252, allocations: 67 kB / 375.2 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.4252, allocations: 12 kB / 375.2 MB, free: 1.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.4255, allocations: 366.8 kB / 375.5 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/0.4263, allocations: 200.9 kB / 375.7 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.4273, allocations: 469.2 kB / 376.2 MB, free: 28 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/0.4283, allocations: 288.7 kB / 376.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4283, allocations: 0 / 376.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002398/0.4307, allocations: 0.7129 MB / 377.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.4308, allocations: 12.12 kB / 377.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/0.431, allocations: 51.86 kB / 377.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/0.431, allocations: 16 kB / 377.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.4316, allocations: 75.83 kB / 377.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.579e-05/0.4316, allocations: 19.92 kB / 377.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/0.4324, allocations: 111 kB / 377.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.503e-05/0.4326, allocations: 35.98 kB / 377.5 MB, free: 14.71 MB / 314.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.0005704/0.4331, allocations: 249.5 kB / 377.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.4333, allocations: 43.44 kB / 377.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.4351, allocations: 0.4918 MB / 378.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.4352, allocations: 7.953 kB / 378.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.4352, allocations: 7.984 kB / 378.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4352, allocations: 0 / 378.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009699/0.4362, allocations: 409.2 kB / 378.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001188/0.4363, allocations: 39.97 kB / 378.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.4366, allocations: 27.97 kB / 378.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/0.4366, allocations: 7.938 kB / 378.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.4367, allocations: 19.98 kB / 378.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4367, allocations: 0 / 378.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4367, allocations: 3.953 kB / 378.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.4384, allocations: 0.6626 MB / 379.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.4386, allocations: 124.5 kB / 379.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4388, allocations: 8 kB / 379.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.4393, allocations: 27.97 kB / 379.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.4395, allocations: 27.92 kB / 379.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.4395, allocations: 12 kB / 379.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008216/0.4404, allocations: 446.7 kB / 380.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4404, allocations: 0 / 380.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001097/0.4415, allocations: 187.8 kB / 380.3 MB, free: 11.83 MB / 314.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.0006307/0.4422, allocations: 246.9 kB / 380.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.4441, allocations: 0.7672 MB / 381.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4441, allocations: 0 / 381.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.4451, allocations: 492.9 kB / 381.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009558/0.446, allocations: 116 kB / 381.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.449, allocations: 1.086 MB / 382.9 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.4497, allocations: 0.9091 MB / 383.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006012/0.4503, allocations: 124.5 kB / 384 MB, free: 7.895 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4505, allocations: 35.44 kB / 384 MB, free: 7.859 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4505, allocations: 0 / 384 MB, free: 7.859 MB / 314.7 MB Notification: Performance of Templates: time 0.02687/0.4773, allocations: 9.371 MB / 393.4 MB, free: 14.55 MB / 330.7 MB