Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.082e-05, allocations: 4 kB / 349.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 61.89 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003545/0.141, allocations: 2.12 MB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1438, allocations: 1.232 MB / 414.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.144, allocations: 4 kB / 414.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.1444, allocations: 79.47 kB / 414.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.1448, allocations: 115.5 kB / 414.5 MB, free: 9.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.1454, allocations: 167.4 kB / 414.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.1457, allocations: 147.6 kB / 414.8 MB, free: 8.953 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1458, allocations: 7.984 kB / 414.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1459, allocations: 71.72 kB / 414.9 MB, free: 8.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.1461, allocations: 103.5 kB / 415 MB, free: 8.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.1475, allocations: 0.5735 MB / 415.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.1476, allocations: 36 kB / 415.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.1477, allocations: 43.75 kB / 415.6 MB, free: 8.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.1478, allocations: 24 kB / 415.6 MB, free: 8.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.1485, allocations: 319.1 kB / 416 MB, free: 7.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1485, allocations: 0 / 416 MB, free: 7.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1485, allocations: 0 / 416 MB, free: 7.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.1485, allocations: 0 / 416 MB, free: 7.785 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009384/0.1495, allocations: 0.5577 MB / 416.5 MB, free: 7.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.1495, allocations: 12.03 kB / 416.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.4e-05/0.1496, allocations: 39.53 kB / 416.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.15, allocations: 242.5 kB / 416.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.1501, allocations: 28.95 kB / 416.8 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.1502, allocations: 35.98 kB / 416.9 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1512, allocations: 0.5802 MB / 417.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.1512, allocations: 7.938 kB / 417.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.1513, allocations: 16 kB / 417.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1513, allocations: 8 kB / 417.5 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.1522, allocations: 349 kB / 417.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.1555, allocations: 4.047 MB / 421.9 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.1561, allocations: 110.6 kB / 422 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.1562, allocations: 4 kB / 422 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1562, allocations: 34.55 kB / 422 MB, free: 1.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.256e-06/0.1562, allocations: 0 / 422 MB, free: 1.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008561/0.1571, allocations: 181.1 kB / 422.2 MB, free: 1.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.1572, allocations: 51.41 kB / 422.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.1577, allocations: 364.8 kB / 422.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1578, allocations: 29.7 kB / 422.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.158, allocations: 293.6 kB / 422.9 MB, free: 356 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.1581, allocations: 27.66 kB / 422.9 MB, free: 328 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.1581, allocations: 12 kB / 423 MB, free: 316 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.3195/0.4776, allocations: 322.8 kB / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.478, allocations: 56.08 kB / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.4785, allocations: 269 kB / 423.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.4789, allocations: 97.98 kB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.4789, allocations: 2.516 kB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001111/0.48, allocations: 338.4 kB / 424 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.4801, allocations: 10.69 kB / 424 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.4801, allocations: 9.328 kB / 424 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.4802, allocations: 9.281 kB / 424 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008526/0.481, allocations: 116.4 kB / 424.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007723/0.4818, allocations: 1.219 MB / 425.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.4823, allocations: 66.47 kB / 425.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.4824, allocations: 21.3 kB / 425.5 MB, free: 11.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.4826, allocations: 155 kB / 425.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.4827, allocations: 34.34 kB / 425.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/0.4835, allocations: 180.3 kB / 425.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4835, allocations: 0.8125 kB / 425.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4835, allocations: 0 / 425.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4836, allocations: 9.578 kB / 425.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.484, allocations: 276.7 kB / 426.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.484, allocations: 1.25 kB / 426.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.4846, allocations: 53.25 kB / 426.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.4846, allocations: 1.984 kB / 426.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4846, allocations: 2.734 kB / 426.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006651/0.4853, allocations: 1.21 MB / 427.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4853, allocations: 0 / 427.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.4859, allocations: 245.1 kB / 427.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4861, allocations: 112.4 kB / 427.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.4862, allocations: 3.844 kB / 427.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.4865, allocations: 8.984 kB / 427.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.4866, allocations: 8.812 kB / 427.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4866, allocations: 2.906 kB / 427.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004998/0.4871, allocations: 270.7 kB / 428 MB, free: 10.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4871, allocations: 7.938 kB / 428 MB, free: 10 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007826/0.4879, allocations: 107.4 kB / 428.1 MB, free: 10 MB / 346.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005444/0.4885, allocations: 179.2 kB / 428.3 MB, free: 9.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.4896, allocations: 205.8 kB / 428.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4896, allocations: 0 / 428.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.4901, allocations: 70.28 kB / 428.6 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.4906, allocations: 41.03 kB / 428.6 MB, free: 9.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4919, allocations: 0.5989 MB / 429.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4923, allocations: 0.7841 MB / 430 MB, free: 8.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4924, allocations: 26.28 kB / 430 MB, free: 8.805 MB / 346.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4924, allocations: 1.25 kB / 430 MB, free: 8.805 MB / 346.7 MB Notification: Performance of Templates: time 0.01657/0.509, allocations: 6.498 MB / 436.5 MB, free: 8.316 MB / 346.7 MB