Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.788e-05, allocations: 0 / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002924/0.1331, allocations: 1.702 MB / 412.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1355, allocations: 1.135 MB / 413.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1357, allocations: 4 kB / 413.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.136, allocations: 71.55 kB / 413.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.1362, allocations: 55.8 kB / 413.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.1368, allocations: 123.6 kB / 414 MB, free: 9.742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.137, allocations: 79.75 kB / 414.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.1371, allocations: 7.984 kB / 414.1 MB, free: 9.656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1372, allocations: 39.84 kB / 414.2 MB, free: 9.617 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1374, allocations: 47.78 kB / 414.2 MB, free: 9.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1384, allocations: 431.4 kB / 414.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/0.1385, allocations: 23.98 kB / 414.6 MB, free: 9.125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.1386, allocations: 19.86 kB / 414.7 MB, free: 9.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.1386, allocations: 16 kB / 414.7 MB, free: 9.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.1392, allocations: 239.4 kB / 414.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1392, allocations: 0 / 414.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1392, allocations: 0 / 414.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1393, allocations: 0 / 414.9 MB, free: 8.855 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007239/0.14, allocations: 469.1 kB / 415.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1401, allocations: 12.03 kB / 415.4 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.1401, allocations: 19.72 kB / 415.4 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1404, allocations: 210.7 kB / 415.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1404, allocations: 16 kB / 415.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.1405, allocations: 16 kB / 415.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.141, allocations: 206.6 kB / 415.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1411, allocations: 0 / 415.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1411, allocations: 8 kB / 415.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1411, allocations: 4 kB / 415.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.1416, allocations: 160.3 kB / 416 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1429, allocations: 0.5752 MB / 416.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.1432, allocations: 66.55 kB / 416.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.1433, allocations: 0 / 416.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1433, allocations: 38.45 kB / 416.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.1433, allocations: 0 / 416.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008161/0.1441, allocations: 311.6 kB / 417 MB, free: 6.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1442, allocations: 51.41 kB / 417 MB, free: 6.508 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.1445, allocations: 233.8 kB / 417.3 MB, free: 6.277 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1446, allocations: 29.64 kB / 417.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1447, allocations: 222 kB / 417.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.1448, allocations: 23.73 kB / 417.5 MB, free: 6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.1448, allocations: 0 / 417.5 MB, free: 6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1449, allocations: 314.8 kB / 417.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1452, allocations: 43.97 kB / 417.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.1455, allocations: 136.8 kB / 418 MB, free: 5.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.1457, allocations: 63.91 kB / 418.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1457, allocations: 0 / 418.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006692/0.1464, allocations: 197.2 kB / 418.3 MB, free: 5.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1465, allocations: 8 kB / 418.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/0.1465, allocations: 15.98 kB / 418.3 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.1466, allocations: 4 kB / 418.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.1468, allocations: 36.42 kB / 418.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1468, allocations: 7.938 kB / 418.3 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1471, allocations: 35.86 kB / 418.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.1471, allocations: 8 kB / 418.4 MB, free: 5.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001521/0.1473, allocations: 133.7 kB / 418.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.1474, allocations: 31.67 kB / 418.5 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.148, allocations: 150.9 kB / 418.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.148, allocations: 144 / 418.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.148, allocations: 0 / 418.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1481, allocations: 3.984 kB / 418.7 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.1484, allocations: 217.6 kB / 418.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-05/0.1484, allocations: 8 kB / 418.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.1485, allocations: 11.98 kB / 418.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1486, allocations: 0 / 418.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1486, allocations: 11.95 kB / 418.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1486, allocations: 4 kB / 418.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1486, allocations: 3.938 kB / 419 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.1491, allocations: 211.2 kB / 419.2 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.1492, allocations: 96.83 kB / 419.3 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.1493, allocations: 11.98 kB / 419.3 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1495, allocations: 7.953 kB / 419.3 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.1495, allocations: 7.984 kB / 419.3 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1496, allocations: 4 kB / 419.3 MB, free: 4.082 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002277/0.1498, allocations: 181.9 kB / 419.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1498, allocations: 0 / 419.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005089/0.1503, allocations: 71.92 kB / 419.5 MB, free: 3.84 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004523/0.1508, allocations: 167.1 kB / 419.7 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.1515, allocations: 184 kB / 419.9 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1516, allocations: 0 / 419.9 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.1519, allocations: 103.4 kB / 420 MB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1523, allocations: 28.88 kB / 420 MB, free: 3.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.1532, allocations: 431 kB / 420.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1536, allocations: 0.7439 MB / 421.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.1536, allocations: 19.38 kB / 421.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1536, allocations: 0 / 421.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of Templates: time 0.32/0.4736, allocations: 4.286 MB / 425.5 MB, free: 12.49 MB / 346.7 MB