Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP") Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.24e-05, allocations: 3.938 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 61.88 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.5027, allocations: 122.3 MB / 0.5187 GB, free: 332 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.5031, allocations: 95.94 kB / 0.5188 GB, free: 236 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5307/1.034, allocations: 46.42 MB / 0.5641 GB, free: 79.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.25e-06/1.034, allocations: 0 / 0.5641 GB, free: 79.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.733e-05/1.034, allocations: 12 kB / 0.5641 GB, free: 79.29 MB / 442.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.006316/1.04, allocations: 1.387 MB / 0.5655 GB, free: 77.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.04, allocations: 8.031 kB / 0.5655 GB, free: 77.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/1.041, allocations: 106.6 kB / 0.5656 GB, free: 77.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/1.041, allocations: 455.1 kB / 0.566 GB, free: 77.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/1.041, allocations: 65.88 kB / 0.5661 GB, free: 77.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/1.041, allocations: 83.98 kB / 0.5662 GB, free: 77.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/1.044, allocations: 1.396 MB / 0.5675 GB, free: 75.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/1.044, allocations: 15.88 kB / 0.5676 GB, free: 75.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.044, allocations: 32 kB / 0.5676 GB, free: 75.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/1.044, allocations: 73.92 kB / 0.5677 GB, free: 75.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/1.046, allocations: 1.409 MB / 0.569 GB, free: 74.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/1.051, allocations: 3.774 MB / 0.5727 GB, free: 70.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.052, allocations: 0.7804 MB / 0.5735 GB, free: 69.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/1.053, allocations: 391.6 kB / 0.5739 GB, free: 68.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.245e-05/1.053, allocations: 20.16 kB / 0.5739 GB, free: 68.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/1.053, allocations: 63.05 kB / 0.5739 GB, free: 68.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 4.09e-06/1.053, allocations: 0 / 0.5739 GB, free: 68.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001887/1.055, allocations: 0.7111 MB / 0.5746 GB, free: 68.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/1.055, allocations: 0.4969 MB / 0.5751 GB, free: 67.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/1.056, allocations: 0.7768 MB / 0.5759 GB, free: 66.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/1.056, allocations: 37.7 kB / 0.5759 GB, free: 66.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/1.057, allocations: 0.5543 MB / 0.5764 GB, free: 66.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/1.057, allocations: 150.1 kB / 0.5766 GB, free: 65.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/1.057, allocations: 20 kB / 0.5766 GB, free: 65.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/1.057, allocations: 350.8 kB / 0.5769 GB, free: 65.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/1.058, allocations: 418.3 kB / 0.5773 GB, free: 65.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/1.059, allocations: 1.061 MB / 0.5784 GB, free: 63.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/1.06, allocations: 0.5596 MB / 0.5789 GB, free: 63.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/1.06, allocations: 8 kB / 0.5789 GB, free: 63.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002604/1.062, allocations: 1.353 MB / 0.5803 GB, free: 61.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/1.062, allocations: 16 kB / 0.5803 GB, free: 61.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/1.062, allocations: 24 kB / 0.5803 GB, free: 61.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.894e-05/1.062, allocations: 36.78 kB / 0.5803 GB, free: 61.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.064, allocations: 359.3 kB / 0.5807 GB, free: 61.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.016e-05/1.064, allocations: 47.84 kB / 0.5807 GB, free: 61.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/1.066, allocations: 258.9 kB / 0.581 GB, free: 61.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.066, allocations: 71.98 kB / 0.581 GB, free: 60.98 MB / 442.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.0002858/1.066, allocations: 232.3 kB / 0.5813 GB, free: 60.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/1.067, allocations: 94.91 kB / 0.5813 GB, free: 60.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/1.068, allocations: 497.4 kB / 0.5818 GB, free: 60.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.068, allocations: 8 kB / 0.5818 GB, free: 60.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.068, allocations: 4 kB / 0.5818 GB, free: 60.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.068, allocations: 7.984 kB / 0.5818 GB, free: 60.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/1.07, allocations: 0.7037 MB / 0.5825 GB, free: 59.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.07, allocations: 4 kB / 0.5825 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.072, allocations: 239.7 kB / 0.5828 GB, free: 59.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/1.072, allocations: 7.953 kB / 0.5828 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/1.072, allocations: 27.98 kB / 0.5828 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.754e-06/1.072, allocations: 7.938 kB / 0.5828 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.423e-06/1.072, allocations: 4 kB / 0.5828 GB, free: 59.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/1.074, allocations: 2.257 MB / 0.585 GB, free: 56.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/1.074, allocations: 152 kB / 0.5852 GB, free: 56.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.074, allocations: 19.98 kB / 0.5852 GB, free: 56.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.076, allocations: 163.8 kB / 0.5853 GB, free: 56.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003648/1.076, allocations: 143.7 kB / 0.5855 GB, free: 56.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/1.076, allocations: 19.98 kB / 0.5855 GB, free: 56.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008077/1.077, allocations: 0.5615 MB / 0.586 GB, free: 55.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.66e-07/1.077, allocations: 0 / 0.586 GB, free: 55.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002991/1.08, allocations: 0.5224 MB / 0.5865 GB, free: 55.12 MB / 442.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.001484/1.082, allocations: 0.5819 MB / 0.5871 GB, free: 54.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001901/1.084, allocations: 0.9258 MB / 0.588 GB, free: 53.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.924e-06/1.084, allocations: 0 / 0.588 GB, free: 53.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.085, allocations: 0.7315 MB / 0.5887 GB, free: 52.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.087, allocations: 112.3 kB / 0.5888 GB, free: 52.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/1.09, allocations: 1.357 MB / 0.5902 GB, free: 51.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/1.091, allocations: 1.117 MB / 0.5913 GB, free: 50.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/1.091, allocations: 99.31 kB / 0.5913 GB, free: 50.08 MB / 442.7 MB Notification: Performance of SimCode: time 1.542e-06/1.091, allocations: 0 / 0.5913 GB, free: 50.08 MB / 442.7 MB Notification: Performance of Templates: time 0.02524/1.116, allocations: 16.86 MB / 0.6078 GB, free: 33.25 MB / 442.7 MB