Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.123/3.123, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.19e-05, allocations: 0 / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4294, allocations: 54.86 MB / 354.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.1/15.53, allocations: 3.679 GB / 4.025 GB, free: 93.12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/15.53, allocations: 84 kB / 4.025 GB, free: 93.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.931/23.46, allocations: 0.9688 GB / 4.994 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.895e-06/23.46, allocations: 0 / 4.994 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006371/23.46, allocations: 161.3 kB / 4.994 GB, free: 22.57 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.0734/23.53, allocations: 9.643 MB / 5.004 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/23.53, allocations: 11.84 kB / 5.004 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006742/23.54, allocations: 0.7625 MB / 5.004 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/23.55, allocations: 0.8684 MB / 5.005 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0337/23.58, allocations: 5.747 MB / 5.011 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008298/23.59, allocations: 310.4 kB / 5.011 GB, free: 16.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005733/23.59, allocations: 420.5 kB / 5.012 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05212/23.64, allocations: 15.35 MB / 5.027 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05211/23.7, allocations: 12.88 MB / 5.039 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000648/23.7, allocations: 23 kB / 5.039 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00544/23.7, allocations: 12 kB / 5.039 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/23.7, allocations: 0.7111 MB / 5.04 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7632/24.47, allocations: 46.65 MB / 5.085 GB, free: 44.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03764/24.5, allocations: 10.4 MB / 5.096 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02253/24.53, allocations: 7.051 MB / 5.103 GB, free: 43.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006896/24.53, allocations: 4.162 MB / 5.107 GB, free: 39.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/24.53, allocations: 142.3 kB / 5.107 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01358/24.55, allocations: 0.8737 MB / 5.108 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=881): time 6.08e-05/24.55, allocations: 1.844 kB / 5.108 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1121): time 0.7058/25.25, allocations: 81.51 MB / 5.187 GB, free: 37.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/25.25, allocations: 167.2 kB / 5.187 GB, free: 37.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006764/25.26, allocations: 2.289 MB / 5.19 GB, free: 36.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004597/25.27, allocations: 32.45 kB / 5.19 GB, free: 36.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/25.27, allocations: 2.407 MB / 5.192 GB, free: 36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00832/25.28, allocations: 3.753 MB / 5.196 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004398/25.28, allocations: 0 / 5.196 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001321/25.28, allocations: 0.747 MB / 5.196 GB, free: 33.35 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02793/25.31, allocations: 8.734 MB / 5.205 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03084/25.34, allocations: 10.13 MB / 5.215 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07686/25.42, allocations: 13.16 MB / 5.228 GB, free: 27.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/25.42, allocations: 7.844 kB / 5.228 GB, free: 27.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1492/25.57, allocations: 31.3 MB / 5.258 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00516/25.57, allocations: 12.47 MB / 5.27 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002589/25.57, allocations: 29.81 kB / 5.27 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183/26.76, allocations: 44.16 MB / 5.314 GB, free: 60.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01511/26.77, allocations: 1.078 MB / 5.315 GB, free: 60.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1886/26.96, allocations: 35.33 MB / 5.349 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04321/27, allocations: 1.575 MB / 5.351 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006894/27.01, allocations: 0.6053 MB / 5.351 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/27.01, allocations: 4.75 kB / 5.351 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.212/27.22, allocations: 29.29 MB / 5.38 GB, free: 59.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002864/27.22, allocations: 27.59 kB / 5.38 GB, free: 59.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6222/27.84, allocations: 40.17 MB / 5.419 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01635/27.86, allocations: 1.178 MB / 5.42 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1437/28, allocations: 31.26 MB / 5.451 GB, free: 36.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03847/28.04, allocations: 1.552 MB / 5.452 GB, free: 35.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006355/28.05, allocations: 0.588 MB / 5.453 GB, free: 35.37 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 589 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {67 719} Notification: Performance of prepare postOptimizeDAE: time 0.01196/28.06, allocations: 230.2 kB / 5.453 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007082/28.07, allocations: 0.5759 MB / 5.454 GB, free: 34.92 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1415/28.21, allocations: 26.56 MB / 5.48 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000224/28.21, allocations: 120 kB / 5.48 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.521e-05/28.21, allocations: 6.953 kB / 5.48 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7709/28.98, allocations: 21.14 MB / 5.5 GB, free: 71.14 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2072/29.19, allocations: 40.4 MB / 5.54 GB, free: 69.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001649/29.19, allocations: 3.344 kB / 5.54 GB, free: 69.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02877/29.22, allocations: 2.133 MB / 5.542 GB, free: 69.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08448/29.3, allocations: 11.08 MB / 5.553 GB, free: 69.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005586/29.31, allocations: 485.3 kB / 5.553 GB, free: 69.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06037/29.37, allocations: 30.69 MB / 5.583 GB, free: 52.21 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/29.37, allocations: 2.625 kB / 5.583 GB, free: 52.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1675/29.54, allocations: 34.75 MB / 5.617 GB, free: 51.08 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003437/29.54, allocations: 0.694 MB / 5.618 GB, free: 50.68 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00686/29.55, allocations: 266 kB / 5.618 GB, free: 50.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0333/29.58, allocations: 1.245 MB / 5.619 GB, free: 50.65 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006782/29.59, allocations: 0.7642 MB / 5.62 GB, free: 50.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006221/29.59, allocations: 0.5522 MB / 5.62 GB, free: 50.64 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005352/29.6, allocations: 1.676 MB / 5.622 GB, free: 50.01 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.252e-06/29.6, allocations: 0 / 5.622 GB, free: 50.01 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.04727/29.65, allocations: 6.261 MB / 5.628 GB, free: 49.84 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1056): * Single equations (assignments): 1029 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1791/29.83, allocations: 39.46 MB / 5.667 GB, free: 36.07 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1322/29.96, allocations: 32.28 MB / 5.698 GB, free: 8.461 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.651e-05/29.96, allocations: 12.34 kB / 5.698 GB, free: 8.453 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.7234/30.68, allocations: 11.22 MB / 5.709 GB, free: 72.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03377/30.72, allocations: 2.697 MB / 5.712 GB, free: 72.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1326/30.85, allocations: 28.54 MB / 5.74 GB, free: 69.69 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01315/30.86, allocations: 5.203 MB / 5.745 GB, free: 68.74 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03868/30.9, allocations: 5.151 MB / 5.75 GB, free: 68.21 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01566/30.92, allocations: 3.44 MB / 5.753 GB, free: 68.2 MB / 0.573 GB Notification: Performance of SimCode: time 2.324e-06/30.92, allocations: 0 / 5.753 GB, free: 68.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.362/34.28, allocations: 459.9 MB / 6.202 GB, free: 122.1 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003117/34.28, allocations: 218.4 kB / 6.203 GB, free: 121.8 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 29.02/63.3, allocations: 0 / 6.203 GB, free: 121.8 MB / 0.6199 GB