Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.267e-05, allocations: 8 kB / 349.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, 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_laminar): time 0.003238/0.134, allocations: 1.772 MB / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1364, allocations: 0.9397 MB / 413.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.1366, allocations: 4 kB / 413.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1369, allocations: 43.67 kB / 413.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1371, allocations: 67.78 kB / 413.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.1377, allocations: 107.7 kB / 413.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.1382, allocations: 239.3 kB / 414.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.1383, allocations: 4 kB / 414.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.1386, allocations: 139.5 kB / 414.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.1389, allocations: 151.5 kB / 414.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008381/0.1397, allocations: 323.5 kB / 414.7 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.1399, allocations: 20 kB / 414.7 MB, free: 9.027 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.14, allocations: 83.7 kB / 414.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1402, allocations: 36 kB / 414.9 MB, free: 8.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.1409, allocations: 363.4 kB / 415.2 MB, free: 8.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1409, allocations: 0 / 415.2 MB, free: 8.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.1409, allocations: 0 / 415.2 MB, free: 8.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.1409, allocations: 3.938 kB / 415.2 MB, free: 8.551 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001572/0.1425, allocations: 0.6747 MB / 415.9 MB, free: 7.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1426, allocations: 8.031 kB / 415.9 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.1427, allocations: 47.44 kB / 415.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.1433, allocations: 294.3 kB / 416.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.1433, allocations: 29 kB / 416.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.1434, allocations: 48 kB / 416.3 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.1452, allocations: 0.6597 MB / 417 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1452, allocations: 4 kB / 417 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.1453, allocations: 20 kB / 417 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.1454, allocations: 28.92 kB / 417 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.147, allocations: 499.6 kB / 417.5 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.1503, allocations: 1.538 MB / 419 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1514, allocations: 315.5 kB / 419.3 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.1515, allocations: 23.91 kB / 419.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1515, allocations: 42.5 kB / 419.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.755e-06/0.1515, allocations: 0 / 419.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002359/0.1539, allocations: 0.7568 MB / 420.2 MB, free: 3.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.154, allocations: 106.8 kB / 420.3 MB, free: 3.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.1549, allocations: 497 kB / 420.8 MB, free: 2.699 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.155, allocations: 25.7 kB / 420.8 MB, free: 2.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.1552, allocations: 266.4 kB / 421 MB, free: 2.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/0.1553, allocations: 63.02 kB / 421.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.1554, allocations: 8 kB / 421.1 MB, free: 2.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1555, allocations: 326.8 kB / 421.4 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.1562, allocations: 164.1 kB / 421.6 MB, free: 1.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/0.157, allocations: 287.8 kB / 421.9 MB, free: 1.504 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.1577, allocations: 215.4 kB / 422.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1578, allocations: 0 / 422.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001768/0.1595, allocations: 497.2 kB / 422.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1596, allocations: 7.953 kB / 422.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/0.1597, allocations: 43.95 kB / 422.6 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1598, allocations: 4 kB / 422.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.1601, allocations: 43.91 kB / 422.7 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.1602, allocations: 11.98 kB / 422.7 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.1608, allocations: 83.33 kB / 422.8 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.1608, allocations: 27.92 kB / 422.8 MB, free: 0.5859 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * 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.0003469/0.1612, allocations: 205.7 kB / 423 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.1613, allocations: 43.44 kB / 423 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3252/0.4866, allocations: 463 kB / 423.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.4866, allocations: 5.141 kB / 423.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4867, allocations: 1.891 kB / 423.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4867, allocations: 1.688 kB / 423.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.4878, allocations: 383.3 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001369/0.488, allocations: 36.25 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.4884, allocations: 32.98 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.4884, allocations: 1.656 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.4885, allocations: 12.16 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.4885, allocations: 5.609 kB / 424 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4885, allocations: 1.812 kB / 424 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.4903, allocations: 0.6552 MB / 424.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.4906, allocations: 128 kB / 424.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.4908, allocations: 5.688 kB / 424.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.4913, allocations: 25.11 kB / 424.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.4915, allocations: 22.45 kB / 424.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.4915, allocations: 16.23 kB / 424.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000886/0.4924, allocations: 389.5 kB / 425.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4925, allocations: 4.188 kB / 425.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009219/0.4934, allocations: 135.5 kB / 425.3 MB, free: 12.29 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.0004441/0.4939, allocations: 154 kB / 425.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.4958, allocations: 0.6914 MB / 426.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4959, allocations: 0.8438 kB / 426.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.4968, allocations: 489.9 kB / 426.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4979, allocations: 114.3 kB / 426.8 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.5009, allocations: 1.006 MB / 427.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.5015, allocations: 0.8669 MB / 428.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.5017, allocations: 31.23 kB / 428.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5017, allocations: 5.188 kB / 428.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Templates: time 0.02528/0.527, allocations: 8.061 MB / 436.7 MB, free: 9.051 MB / 346.7 MB