Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.697/2.697, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.057e-05, allocations: 4 kB / 347.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4037, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.625, allocations: 122.3 MB / 0.5188 GB, free: 208 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/0.6254, allocations: 91.94 kB / 0.5189 GB, free: 116 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5799/1.205, allocations: 46.43 MB / 0.5642 GB, free: 79.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.205, allocations: 0 / 0.5642 GB, free: 79.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.468e-05/1.205, allocations: 12 kB / 0.5642 GB, free: 79.03 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.004162/1.21, allocations: 1.399 MB / 0.5656 GB, free: 77.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.21, allocations: 8.031 kB / 0.5656 GB, free: 77.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002355/1.21, allocations: 148.2 kB / 0.5657 GB, free: 77.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/1.21, allocations: 102.7 kB / 0.5658 GB, free: 77.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008688/1.211, allocations: 459 kB / 0.5663 GB, free: 76.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/1.211, allocations: 61.98 kB / 0.5663 GB, free: 76.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/1.211, allocations: 80 kB / 0.5664 GB, free: 76.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/1.214, allocations: 1.404 MB / 0.5678 GB, free: 75.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/1.214, allocations: 3.938 kB / 0.5678 GB, free: 75.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.214, allocations: 43.94 kB / 0.5678 GB, free: 75.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/1.214, allocations: 73.91 kB / 0.5679 GB, free: 75.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/1.217, allocations: 1.413 MB / 0.5693 GB, free: 73.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005811/1.223, allocations: 3.766 MB / 0.573 GB, free: 69.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.224, allocations: 0.7812 MB / 0.5737 GB, free: 68.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/1.225, allocations: 395.6 kB / 0.5741 GB, free: 68.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.949e-05/1.225, allocations: 20.09 kB / 0.5741 GB, free: 68.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.225, allocations: 63.06 kB / 0.5742 GB, free: 68.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 3.748e-06/1.225, allocations: 0 / 0.5742 GB, free: 68.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.002121/1.227, allocations: 0.7089 MB / 0.5749 GB, free: 67.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.227, allocations: 0.5007 MB / 0.5754 GB, free: 66.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/1.228, allocations: 0.7807 MB / 0.5761 GB, free: 66.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/1.228, allocations: 29.7 kB / 0.5761 GB, free: 66.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/1.229, allocations: 0.5543 MB / 0.5767 GB, free: 65.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/1.229, allocations: 150.1 kB / 0.5768 GB, free: 65.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/1.229, allocations: 20 kB / 0.5768 GB, free: 65.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/1.229, allocations: 350.8 kB / 0.5772 GB, free: 65.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009497/1.23, allocations: 422.3 kB / 0.5776 GB, free: 64.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/1.231, allocations: 1.065 MB / 0.5786 GB, free: 63.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.233, allocations: 0.5463 MB / 0.5792 GB, free: 62.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/1.233, allocations: 11.95 kB / 0.5792 GB, free: 62.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003076/1.236, allocations: 1.351 MB / 0.5805 GB, free: 61.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/1.236, allocations: 20.12 kB / 0.5805 GB, free: 61.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/1.236, allocations: 28 kB / 0.5805 GB, free: 61.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.217e-05/1.236, allocations: 36 kB / 0.5806 GB, free: 61.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/1.238, allocations: 355.4 kB / 0.5809 GB, free: 60.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.367e-05/1.238, allocations: 47.8 kB / 0.581 GB, free: 60.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.24, allocations: 255 kB / 0.5812 GB, free: 60.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.24, allocations: 79.97 kB / 0.5813 GB, free: 60.55 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.0002967/1.241, allocations: 227.3 kB / 0.5815 GB, free: 60.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/1.241, allocations: 90.92 kB / 0.5816 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/1.243, allocations: 495.4 kB / 0.5821 GB, free: 59.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.243, allocations: 8 kB / 0.5821 GB, free: 59.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.243, allocations: 4 kB / 0.5821 GB, free: 59.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.243, allocations: 11.98 kB / 0.5821 GB, free: 59.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/1.245, allocations: 0.6921 MB / 0.5827 GB, free: 58.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.245, allocations: 4 kB / 0.5828 GB, free: 58.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.247, allocations: 247.5 kB / 0.583 GB, free: 58.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/1.247, allocations: 8 kB / 0.583 GB, free: 58.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/1.247, allocations: 27.97 kB / 0.583 GB, free: 58.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/1.247, allocations: 8 kB / 0.583 GB, free: 58.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.247, allocations: 11.94 kB / 0.583 GB, free: 58.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/1.249, allocations: 2.249 MB / 0.5852 GB, free: 56.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/1.249, allocations: 152 kB / 0.5854 GB, free: 56.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.249, allocations: 19.95 kB / 0.5854 GB, free: 56.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/1.252, allocations: 163.8 kB / 0.5856 GB, free: 55.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000479/1.252, allocations: 147.7 kB / 0.5857 GB, free: 55.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/1.252, allocations: 19.98 kB / 0.5857 GB, free: 55.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009318/1.253, allocations: 0.5576 MB / 0.5863 GB, free: 55.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.253, allocations: 0 / 0.5863 GB, free: 55.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003146/1.256, allocations: 0.5263 MB / 0.5868 GB, free: 54.71 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.004129/1.261, allocations: 4.447 MB / 0.5911 GB, free: 50.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002381/1.263, allocations: 0.9329 MB / 0.592 GB, free: 49.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.263, allocations: 0 / 0.592 GB, free: 49.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/1.265, allocations: 0.7345 MB / 0.5927 GB, free: 48.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.267, allocations: 108.2 kB / 0.5929 GB, free: 48.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/1.273, allocations: 1.772 MB / 0.5946 GB, free: 46.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/1.273, allocations: 1.117 MB / 0.5957 GB, free: 45.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009049/1.274, allocations: 335.2 kB / 0.596 GB, free: 45.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/1.274, allocations: 0 / 0.596 GB, free: 45.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.815/4.09, allocations: 20.97 MB / 0.6165 GB, free: 24.1 MB / 442.7 MB