Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|eta_l.1.|eta_l.2.|eta_l.3.|eta_l.4.|eta_l.5.|eta_g.1.|eta_g.2.|eta_g.3.|eta_g.4.|eta_g.5.|rho_l.1.|rho_l.2.|rho_l.3.|rho_l.4.|rho_l.5.|rho_g.1.|rho_g.2.|rho_g.3.|rho_g.4.|rho_g.5.|sigma.1.|sigma.2.|sigma.3.|sigma.4.|sigma.5.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|m_flow.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|DP_2.1.|DP_2.2.|DP_2.3.|DP_2.4.|DP_2.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|DP_plot_2.4.|DP_plot_2.5.|x_flow|input_mflow_0.1..y|input_mflow_0.2..y|input_mflow_0.3..y|input_mflow_0.4..y|input_mflow_0.5..y|input_mflow_1.1..y|input_mflow_1.2..y|input_mflow_1.3..y|input_mflow_1.4..y|input_mflow_1.5..y|input_mflow_2.1..y|input_mflow_2.2..y|input_mflow_2.3..y|input_mflow_2.4..y|input_mflow_2.5..y|input_x_0.y|input_x_1.y|input_x_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP") Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.558e-05, allocations: 4 kB / 349.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 61.9 MB / 411 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.003236/0.1403, allocations: 1.823 MB / 412.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008181/0.1485, allocations: 3.789 MB / 416.6 MB, free: 7.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.1489, allocations: 0 / 416.6 MB, free: 7.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1492, allocations: 63.62 kB / 416.6 MB, free: 7.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1495, allocations: 83.7 kB / 416.7 MB, free: 7.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.1527, allocations: 0.7122 MB / 417.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008502/0.1536, allocations: 414.9 kB / 417.8 MB, free: 5.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.383e-05/0.1536, allocations: 8 kB / 417.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.1541, allocations: 263.1 kB / 418.1 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.1547, allocations: 326.8 kB / 418.4 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.1602, allocations: 2.341 MB / 420.8 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.1608, allocations: 72 kB / 420.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.1611, allocations: 163.3 kB / 421 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.1613, allocations: 56 kB / 421 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.1645, allocations: 1.252 MB / 422.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1645, allocations: 0 / 422.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1645, allocations: 4 kB / 422.3 MB, free: 1.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.1646, allocations: 0 / 422.3 MB, free: 1.449 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.327/0.4916, allocations: 1.482 MB / 423.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.4916, allocations: 11.19 kB / 423.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.492, allocations: 102.8 kB / 423.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.493, allocations: 462.2 kB / 424.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.4932, allocations: 60.28 kB / 424.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.4934, allocations: 80.62 kB / 424.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005694/0.4991, allocations: 1.724 MB / 426.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.4992, allocations: 1.531 kB / 426.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4994, allocations: 37.31 kB / 426.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.4995, allocations: 83.58 kB / 426.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007317/0.5069, allocations: 1.972 MB / 428.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006971/0.5139, allocations: 3.786 MB / 432.1 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/0.5174, allocations: 1.048 MB / 433.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.5176, allocations: 22.77 kB / 433.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.5177, allocations: 61.02 kB / 433.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 4.138e-06/0.5177, allocations: 0 / 433.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.00912/0.5268, allocations: 1.806 MB / 435 MB, free: 7.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.527, allocations: 0.4945 MB / 435.5 MB, free: 7.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.5286, allocations: 0.7851 MB / 436.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.5288, allocations: 36.36 kB / 436.3 MB, free: 7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.5291, allocations: 0.5615 MB / 436.9 MB, free: 6.523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.5294, allocations: 150.7 kB / 437 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.5295, allocations: 19.59 kB / 437.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.5296, allocations: 357.6 kB / 437.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/0.5327, allocations: 0.6763 MB / 438.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/0.5362, allocations: 1.342 MB / 439.4 MB, free: 4.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/0.5398, allocations: 0.8196 MB / 440.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.731e-05/0.5399, allocations: 7.094 kB / 440.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00812/0.548, allocations: 1.952 MB / 442.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.5481, allocations: 14.84 kB / 442.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.663e-05/0.5481, allocations: 24 kB / 442.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.931e-05/0.5482, allocations: 35.19 kB / 442.3 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.5506, allocations: 355.2 kB / 442.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.993e-05/0.5507, allocations: 44.11 kB / 442.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.553, allocations: 300.9 kB / 443 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.5534, allocations: 76.44 kB / 443 MB, free: 4.078 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 50 (IN_con_2[5].geodeticPressureLoss,IN_con_2[5].massFlowRateCorrection,IN_con_2[5].momentumPressureLoss,IN_con_2[5].voidFractionApproach,IN_con_2[5].frictionalPressureLoss,IN_con_2[4].geodeticPressureLoss,IN_con_2[4].massFlowRateCorrection,IN_con_2[4].momentumPressureLoss,IN_con_2[4].voidFractionApproach,IN_con_2[4].frictionalPressureLoss,IN_con_2[3].geodeticPressureLoss,IN_con_2[3].massFlowRateCorrection,IN_con_2[3].momentumPressureLoss,IN_con_2[3].voidFractionApproach,IN_con_2[3].frictionalPressureLoss,IN_con_2[2].geodeticPressureLoss,IN_con_2[2].massFlowRateCorrection,IN_con_2[2].momentumPressureLoss,IN_con_2[2].voidFractionApproach,IN_con_2[2].frictionalPressureLoss,IN_con_2[1].geodeticPressureLoss,IN_con_2[1].massFlowRateCorrection,IN_con_2[1].momentumPressureLoss,IN_con_2[1].voidFractionApproach,IN_con_2[1].frictionalPressureLoss,IN_con_1[5].geodeticPressureLoss,IN_con_1[5].massFlowRateCorrection,IN_con_1[5].momentumPressureLoss,IN_con_1[5].voidFractionApproach,IN_con_1[5].frictionalPressureLoss,IN_con_1[4].geodeticPressureLoss,IN_con_1[4].massFlowRateCorrection,IN_con_1[4].momentumPressureLoss,IN_con_1[4].voidFractionApproach,IN_con_1[4].frictionalPressureLoss,IN_con_1[3].geodeticPressureLoss,IN_con_1[3].massFlowRateCorrection,IN_con_1[3].momentumPressureLoss,IN_con_1[3].voidFractionApproach,IN_con_1[3].frictionalPressureLoss,IN_con_1[2].geodeticPressureLoss,IN_con_1[2].massFlowRateCorrection,IN_con_1[2].momentumPressureLoss,IN_con_1[2].voidFractionApproach,IN_con_1[2].frictionalPressureLoss,IN_con_1[1].geodeticPressureLoss,IN_con_1[1].massFlowRateCorrection,IN_con_1[1].momentumPressureLoss,IN_con_1[1].voidFractionApproach,IN_con_1[1].frictionalPressureLoss) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001168/0.5545, allocations: 436.2 kB / 443.5 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006509/0.5552, allocations: 83.22 kB / 443.5 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.5573, allocations: 0.5123 MB / 444 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/0.5574, allocations: 8.656 kB / 444.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.5574, allocations: 4.156 kB / 444.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.5574, allocations: 9.547 kB / 444.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.5603, allocations: 0.6964 MB / 444.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.5603, allocations: 7.938 kB / 444.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.5622, allocations: 234 kB / 445 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.316e-05/0.5623, allocations: 7.969 kB / 445 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.5625, allocations: 21.17 kB / 445 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/0.5625, allocations: 13.28 kB / 445 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.5625, allocations: 5.156 kB / 445.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00618/0.5687, allocations: 2.793 MB / 447.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.5691, allocations: 154.4 kB / 448 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/0.5694, allocations: 11.16 kB / 448 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/0.5717, allocations: 165.5 kB / 448.2 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005585/0.5723, allocations: 140.1 kB / 448.3 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.5724, allocations: 26.27 kB / 448.3 MB, free: 412 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.5735, allocations: 0.5634 MB / 448.9 MB, free: 88 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.5735, allocations: 1.531 kB / 448.9 MB, free: 88 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.003047/0.5765, allocations: 496.8 kB / 449.4 MB, free: 15.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001608/0.5782, allocations: 0.5208 MB / 449.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006528/0.5848, allocations: 1.5 MB / 451.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.5848, allocations: 1.375 kB / 451.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003819/0.5886, allocations: 1.007 MB / 452.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.5904, allocations: 102.2 kB / 452.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.5949, allocations: 1.977 MB / 454.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.596, allocations: 1.12 MB / 455.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006898/0.5967, allocations: 95.38 kB / 455.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5967, allocations: 0 / 455.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.03886/0.6356, allocations: 16.76 MB / 472.5 MB, free: 11.5 MB / 378.7 MB