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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 269 MB / 284.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.39e-05, allocations: 4 kB / 349.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003321/0.1368, allocations: 1.823 MB / 412.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.1407, allocations: 1.68 MB / 414.4 MB, free: 9.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.141, allocations: 4 kB / 414.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1413, allocations: 43.72 kB / 414.5 MB, free: 9.262 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1416, allocations: 71.72 kB / 414.6 MB, free: 9.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1429, allocations: 271 kB / 414.8 MB, free: 8.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006241/0.1435, allocations: 259.2 kB / 415.1 MB, free: 8.672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.1436, allocations: 4 kB / 415.1 MB, free: 8.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.1439, allocations: 143.5 kB / 415.2 MB, free: 8.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.1442, allocations: 167.3 kB / 415.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.1459, allocations: 0.6516 MB / 416 MB, free: 7.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.1461, allocations: 36 kB / 416.1 MB, free: 7.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1463, allocations: 87.64 kB / 416.2 MB, free: 7.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1464, allocations: 36 kB / 416.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.1476, allocations: 0.5068 MB / 416.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1476, allocations: 0 / 416.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1476, allocations: 0 / 416.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1476, allocations: 0 / 416.7 MB, free: 7.047 MB / 346.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.001733/0.1494, allocations: 0.745 MB / 417.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1494, allocations: 8.031 kB / 417.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1496, allocations: 59.28 kB / 417.5 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.1502, allocations: 310.3 kB / 417.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.1503, allocations: 41.31 kB / 417.9 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1504, allocations: 52 kB / 417.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.1524, allocations: 0.7697 MB / 418.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.1525, allocations: 0 / 418.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.1526, allocations: 31.94 kB / 418.7 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.09e-05/0.1527, allocations: 29.3 kB / 418.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.1546, allocations: 0.5749 MB / 419.3 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.1586, allocations: 1.692 MB / 421 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1597, allocations: 315.5 kB / 421.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.1598, allocations: 11.95 kB / 421.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.1599, allocations: 42.5 kB / 421.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.556e-06/0.1599, allocations: 0 / 421.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002483/0.1624, allocations: 0.7607 MB / 422.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.1625, allocations: 118.9 kB / 422.2 MB, free: 1.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.1637, allocations: 0.5718 MB / 422.8 MB, free: 0.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.1638, allocations: 29.7 kB / 422.8 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.164, allocations: 318 kB / 423.2 MB, free: 284 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1642, allocations: 71 kB / 423.2 MB, free: 212 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.1642, allocations: 16.03 kB / 423.2 MB, free: 196 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.3189/0.4832, allocations: 331.8 kB / 423.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009926/0.4842, allocations: 194.7 kB / 423.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.4853, allocations: 473.7 kB / 424.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.4863, allocations: 279.3 kB / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.4863, allocations: 6.875 kB / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002413/0.4887, allocations: 0.6822 MB / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.4888, allocations: 9.469 kB / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/0.489, allocations: 48.5 kB / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.243e-05/0.489, allocations: 13.88 kB / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.4896, allocations: 81.86 kB / 425.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.959e-05/0.4896, allocations: 18.52 kB / 425.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/0.4904, allocations: 104.2 kB / 425.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.4905, allocations: 34.48 kB / 425.5 MB, free: 12.18 MB / 346.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.0004502/0.4909, allocations: 259.4 kB / 425.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.4911, allocations: 49.03 kB / 425.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.4929, allocations: 497 kB / 426.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.493, allocations: 9.281 kB / 426.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.493, allocations: 0.6875 kB / 426.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.493, allocations: 2.125 kB / 426.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.494, allocations: 412 kB / 426.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001309/0.4942, allocations: 43.3 kB / 426.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.4945, allocations: 30.19 kB / 426.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.4945, allocations: 1.969 kB / 426.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.4946, allocations: 13.06 kB / 426.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.4946, allocations: 1.062 kB / 426.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4946, allocations: 4.828 kB / 426.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.4963, allocations: 0.6697 MB / 427.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.4965, allocations: 128.3 kB / 427.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.4967, allocations: 6.938 kB / 427.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.4972, allocations: 26.83 kB / 427.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.4974, allocations: 30.28 kB / 427.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.4974, allocations: 13.67 kB / 427.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008376/0.4983, allocations: 444.9 kB / 428.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4983, allocations: 0 / 428.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001153/0.4995, allocations: 181.5 kB / 428.3 MB, free: 11.2 MB / 346.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.0005865/0.5001, allocations: 235 kB / 428.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.502, allocations: 0.7681 MB / 429.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.502, allocations: 0 / 429.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008342/0.5029, allocations: 498.1 kB / 429.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.5039, allocations: 111.1 kB / 429.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.5069, allocations: 1.106 MB / 431 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.5074, allocations: 0.8985 MB / 431.9 MB, free: 8.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.5076, allocations: 41.34 kB / 431.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5077, allocations: 0 / 431.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of Templates: time 0.02511/0.5328, allocations: 9.828 MB / 441.7 MB, free: 6.32 MB / 346.7 MB