Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_StandardWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.3 MB / 221.9 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.164e-05, allocations: 0 / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.27/18.38, allocations: 6.071 GB / 6.385 GB, free: 75.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/18.38, allocations: 75.92 kB / 6.385 GB, free: 75.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.027/23.41, allocations: 0.9323 GB / 7.318 GB, free: 24.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.004e-06/23.41, allocations: 3.938 kB / 7.318 GB, free: 24.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005582/23.41, allocations: 144.5 kB / 7.318 GB, free: 24.21 MB / 474.7 MB 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.04696/23.45, allocations: 7.836 MB / 7.325 GB, free: 21.17 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/23.46, allocations: 7.062 kB / 7.325 GB, free: 21.17 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005886/23.46, allocations: 0.9477 MB / 7.326 GB, free: 21.08 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.025/23.49, allocations: 2.311 MB / 7.329 GB, free: 20.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0252/23.51, allocations: 5.403 MB / 7.334 GB, free: 19.87 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/23.51, allocations: 0.6096 MB / 7.334 GB, free: 19.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004931/23.52, allocations: 0.6496 MB / 7.335 GB, free: 19.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05069/23.57, allocations: 13.48 MB / 7.348 GB, free: 18.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003875/23.57, allocations: 30.45 kB / 7.348 GB, free: 18.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004212/23.57, allocations: 267.5 kB / 7.348 GB, free: 18.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/23.57, allocations: 0.6728 MB / 7.349 GB, free: 18.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04661/23.62, allocations: 13.9 MB / 7.363 GB, free: 13.95 MB / 474.7 MB 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.565/24.19, allocations: 51.83 MB / 7.413 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02847/24.21, allocations: 8.136 MB / 7.421 GB, free: 50.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.014/24.23, allocations: 4.926 MB / 7.426 GB, free: 50.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01804/24.25, allocations: 7.252 MB / 7.433 GB, free: 44.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/24.25, allocations: 103.1 kB / 7.433 GB, free: 44.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006471/24.25, allocations: 0.5841 MB / 7.434 GB, free: 44.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=631): time 2.776e-05/24.25, allocations: 0 / 7.434 GB, free: 44.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=733): time 0.1212/24.37, allocations: 31.18 MB / 7.464 GB, free: 42.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/24.37, allocations: 180.2 kB / 7.464 GB, free: 42.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009282/24.38, allocations: 3.499 MB / 7.468 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002664/24.39, allocations: 156.9 kB / 7.468 GB, free: 41.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/24.39, allocations: 2.422 MB / 7.47 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004756/24.39, allocations: 2.526 MB / 7.473 GB, free: 39.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002749/24.4, allocations: 163.4 kB / 7.473 GB, free: 39.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009353/24.4, allocations: 0.6344 MB / 7.474 GB, free: 38.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0149/24.41, allocations: 5.111 MB / 7.479 GB, free: 38.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01666/24.43, allocations: 6.565 MB / 7.485 GB, free: 37.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/24.45, allocations: 5.947 MB / 7.491 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.366e-05/24.45, allocations: 11.38 kB / 7.491 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.05488/24.5, allocations: 16.91 MB / 7.507 GB, free: 36.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003406/24.51, allocations: 15.42 MB / 7.522 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/24.51, allocations: 39.16 kB / 7.522 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1832/24.69, allocations: 39.4 MB / 7.561 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00705/24.7, allocations: 0.9046 MB / 7.562 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07248/24.77, allocations: 18.38 MB / 7.58 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01618/24.78, allocations: 1.011 MB / 7.581 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002799/24.79, allocations: 365.1 kB / 7.581 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/24.79, allocations: 4 kB / 7.581 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07558/24.86, allocations: 16.95 MB / 7.598 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/24.86, allocations: 42.44 kB / 7.598 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5823/25.45, allocations: 33.22 MB / 7.63 GB, free: 75.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008144/25.45, allocations: 0.9841 MB / 7.631 GB, free: 75.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04858/25.5, allocations: 15.47 MB / 7.646 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01479/25.52, allocations: 0.9686 MB / 7.647 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003693/25.52, allocations: 354.3 kB / 7.647 GB, free: 74.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * 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 (505): * Single equations (assignments): 504 * 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.006963/25.53, allocations: 0.5146 MB / 7.648 GB, free: 74.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004576/25.53, allocations: 0.5156 MB / 7.648 GB, free: 74.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07831/25.61, allocations: 24.58 MB / 7.672 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005994/25.61, allocations: 279.7 kB / 7.673 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001054/25.61, allocations: 3.531 kB / 7.673 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0489/25.66, allocations: 21.02 MB / 7.693 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08144/25.74, allocations: 37.27 MB / 7.73 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-05/25.74, allocations: 3.281 kB / 7.73 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02736/25.77, allocations: 2.802 MB / 7.732 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01033/25.78, allocations: 1.924 MB / 7.734 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002087/25.78, allocations: 272 kB / 7.735 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02324/25.81, allocations: 34.08 MB / 7.768 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/25.81, allocations: 3.125 kB / 7.768 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06191/25.87, allocations: 27.38 MB / 7.795 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00315/25.87, allocations: 1.096 MB / 7.796 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003622/25.87, allocations: 215.8 kB / 7.796 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0138/25.89, allocations: 0.8264 MB / 7.797 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005994/25.89, allocations: 0.8463 MB / 7.797 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002438/25.9, allocations: 262.7 kB / 7.798 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008011/25.9, allocations: 2.625 MB / 7.8 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.062e-06/25.9, allocations: 0 / 7.8 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0323/25.94, allocations: 5.728 MB / 7.806 GB, free: 8.02 MB / 0.5417 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.5414/26.48, allocations: 31.78 MB / 7.837 GB, free: 87.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0759/26.55, allocations: 22.39 MB / 7.859 GB, free: 87.33 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/26.55, allocations: 7.188 kB / 7.859 GB, free: 87.33 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03701/26.59, allocations: 10.78 MB / 7.869 GB, free: 86.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01998/26.61, allocations: 2.17 MB / 7.871 GB, free: 86.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3472/26.96, allocations: 100.9 MB / 7.97 GB, free: 62.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009981/26.97, allocations: 5.544 MB / 7.975 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01032/26.98, allocations: 4.004 MB / 7.979 GB, free: 55.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/26.98, allocations: 4.984 kB / 7.979 GB, free: 55.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.58/38.56, allocations: 0.9323 GB / 8.912 GB, free: 93.82 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater_res.mat does not exist to compare? outputFormat=mat