Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_StandardWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.965e-05, allocations: 8 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4112, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.96/19.37, allocations: 6.236 GB / 6.635 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/19.37, allocations: 75.28 kB / 6.635 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.605/24.98, allocations: 0.9686 GB / 7.604 GB, free: 36.79 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.993e-06/24.98, allocations: 0 / 7.604 GB, free: 36.79 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005433/24.98, allocations: 151.7 kB / 7.604 GB, free: 36.77 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.04651/25.02, allocations: 7.932 MB / 7.611 GB, free: 33.88 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/25.02, allocations: 11.56 kB / 7.611 GB, free: 33.88 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00613/25.03, allocations: 0.9445 MB / 7.612 GB, free: 33.8 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02516/25.06, allocations: 2.348 MB / 7.615 GB, free: 33.42 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02469/25.08, allocations: 5.395 MB / 7.62 GB, free: 32.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001272/25.08, allocations: 0.611 MB / 7.62 GB, free: 32.64 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004683/25.09, allocations: 0.6527 MB / 7.621 GB, free: 32.62 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04913/25.14, allocations: 13.48 MB / 7.634 GB, free: 31.44 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003803/25.14, allocations: 26.27 kB / 7.634 GB, free: 31.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004195/25.14, allocations: 263.3 kB / 7.635 GB, free: 31.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/25.14, allocations: 0.6786 MB / 7.635 GB, free: 31.42 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04752/25.19, allocations: 13.9 MB / 7.649 GB, free: 31.39 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1214/25.31, allocations: 51.84 MB / 7.699 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02536/25.34, allocations: 8.158 MB / 7.707 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01266/25.35, allocations: 4.93 MB / 7.712 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03154/25.38, allocations: 9.887 MB / 7.722 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/25.38, allocations: 106.8 kB / 7.722 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006113/25.39, allocations: 0.5939 MB / 7.723 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=631): time 2.191e-05/25.39, allocations: 2.156 kB / 7.723 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=733): time 0.1139/25.5, allocations: 31.19 MB / 7.753 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/25.5, allocations: 180.6 kB / 7.753 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008582/25.51, allocations: 3.531 MB / 7.757 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002401/25.51, allocations: 151.5 kB / 7.757 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002675/25.51, allocations: 2.4 MB / 7.759 GB, free: 288 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.004978/25.52, allocations: 2.528 MB / 7.762 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/25.52, allocations: 154 kB / 7.762 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0007277/25.52, allocations: 0.6323 MB / 7.762 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01429/25.54, allocations: 5.121 MB / 7.767 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01722/25.55, allocations: 6.539 MB / 7.774 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01747/25.57, allocations: 5.929 MB / 7.78 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.636e-05/25.57, allocations: 13.53 kB / 7.78 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.07925/25.65, allocations: 18.03 MB / 7.797 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.502/26.15, allocations: 14.99 MB / 7.812 GB, free: 68.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/26.15, allocations: 38.67 kB / 7.812 GB, free: 68.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1907/26.34, allocations: 39.42 MB / 7.85 GB, free: 68.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00714/26.35, allocations: 0.9052 MB / 7.851 GB, free: 68.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06084/26.41, allocations: 17.81 MB / 7.869 GB, free: 67.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01678/26.43, allocations: 1.003 MB / 7.87 GB, free: 67.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003009/26.43, allocations: 365.5 kB / 7.87 GB, free: 67.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/26.43, allocations: 9.062 kB / 7.87 GB, free: 67.51 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05125/26.48, allocations: 15.55 MB / 7.885 GB, free: 67.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/26.48, allocations: 37.94 kB / 7.885 GB, free: 67.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1862/26.67, allocations: 33.18 MB / 7.918 GB, free: 65.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007612/26.68, allocations: 0.9831 MB / 7.919 GB, free: 64.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04743/26.72, allocations: 15.47 MB / 7.934 GB, free: 56.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/26.74, allocations: 0.9713 MB / 7.935 GB, free: 56.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002744/26.74, allocations: 353.1 kB / 7.935 GB, free: 55.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 30 (pipe4.state_b.phase,pipe4.state_a.phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,boundary1.medium.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.phase,pipe2.state_b.phase,pipe2.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 499 * 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 453} Notification: Performance of prepare postOptimizeDAE: time 0.004146/26.74, allocations: 0.5123 MB / 7.935 GB, free: 55.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002633/26.75, allocations: 0.517 MB / 7.936 GB, free: 55.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05761/26.8, allocations: 24.6 MB / 7.96 GB, free: 42.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003479/26.8, allocations: 280.9 kB / 7.96 GB, free: 42.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.842e-05/26.8, allocations: 6.766 kB / 7.96 GB, free: 42.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05845/26.86, allocations: 21.02 MB / 7.981 GB, free: 27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1062/26.97, allocations: 37.56 MB / 8.017 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.338e-05/26.97, allocations: 3.953 kB / 8.017 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02952/27, allocations: 2.811 MB / 8.02 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/27.01, allocations: 1.922 MB / 8.022 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002592/27.01, allocations: 271.2 kB / 8.022 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5232/27.54, allocations: 34.08 MB / 8.056 GB, free: 65.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/27.54, allocations: 1.484 kB / 8.056 GB, free: 65.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06989/27.61, allocations: 27.41 MB / 8.082 GB, free: 64.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003429/27.61, allocations: 1.102 MB / 8.083 GB, free: 64.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003976/27.61, allocations: 207 kB / 8.084 GB, free: 64.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01347/27.63, allocations: 0.791 MB / 8.084 GB, free: 64.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003604/27.63, allocations: 0.698 MB / 8.085 GB, free: 64.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002189/27.63, allocations: 271.5 kB / 8.085 GB, free: 64.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.007145/27.64, allocations: 2.689 MB / 8.088 GB, free: 64.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.32e-07/27.64, allocations: 0 / 8.088 GB, free: 64.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.03249/27.67, allocations: 5.778 MB / 8.094 GB, free: 64.03 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 62 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe1.mediums[2].p,pipe1.mediums[2].h,pipe1.mediums[3].p,pipe1.mediums[3].h,pipe1.mediums[4].p,pipe1.mediums[4].h,pipe1.mediums[5].p,pipe1.mediums[5].h,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe2.mediums[3].p,pipe2.mediums[3].h,pipe2.mediums[4].p,pipe2.mediums[4].h,pipe2.mediums[5].p,pipe2.mediums[5].h,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].h,pipe3.mediums[2].p,pipe3.mediums[2].h,pipe3.mediums[3].p,pipe3.mediums[3].h,pipe3.mediums[4].p,pipe3.mediums[4].h,pipe3.mediums[5].p,pipe3.mediums[5].h,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].h,pipe4.mediums[2].p,pipe4.mediums[2].h,pipe4.mediums[3].p,pipe4.mediums[3].h,pipe4.mediums[4].p,pipe4.mediums[4].h,pipe4.mediums[5].p,pipe4.mediums[5].h,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 126 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse30.region3boundary,$cse31.region3boundary,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.region3boundary,$cse37.region3boundary,$cse38.phase,$cse38.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse42.region3boundary,$cse43.region3boundary,$cse44.phase,$cse44.region,$cse59.phase,$cse59.region,$cse61.phase,$cse61.region,$cse64.region3boundary,$cse65.region3boundary,$cse66.phase,$cse66.region,$cse67.region3boundary,$cse68.region3boundary,$cse69.phase,$cse69.region,$cse70.region3boundary,$cse71.region3boundary,$cse72.phase,$cse72.region,$cse73.region3boundary,$cse74.region3boundary,$cse75.phase,$cse75.region,$cse76.region3boundary,$cse77.region3boundary,$cse78.phase,$cse78.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse88.region3boundary,$cse89.region3boundary,$cse90.phase,$cse90.region,$cse91.region3boundary,$cse92.region3boundary,$cse93.phase,$cse93.region,$cse94.region3boundary,$cse95.region3boundary,$cse96.phase,$cse96.region,$cse97.region3boundary,$cse98.region3boundary,$cse99.phase,$cse99.region,$cse100.region3boundary,$cse101.region3boundary,$cse102.phase,$cse102.region,$cse109.phase,$cse109.region,$cse110.phase,$cse110.region,$cse111.region3boundary,$cse112.region3boundary,$cse113.phase,$cse113.region,$cse114.phase,$cse114.region,boundary1.medium.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (819): * Single equations (assignments): 699 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 73 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.08754/27.76, allocations: 31.8 MB / 8.125 GB, free: 61.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.07722/27.84, allocations: 22.4 MB / 8.147 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/27.84, allocations: 6.125 kB / 8.147 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.03705/27.87, allocations: 10.79 MB / 8.157 GB, free: 59.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02166/27.9, allocations: 2.197 MB / 8.159 GB, free: 58.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08461/27.98, allocations: 27.03 MB / 8.186 GB, free: 49.31 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/27.99, allocations: 5.548 MB / 8.191 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01068/28, allocations: 4.005 MB / 8.195 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of SimCode: time 2.244e-06/28, allocations: 0 / 8.195 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.37/39.37, allocations: 0.9332 GB / 9.128 GB, free: 73.68 MB / 0.6667 GB