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.981/1.981, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.643e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.83/18.95, allocations: 6.071 GB / 6.385 GB, free: 72.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/18.95, allocations: 77.84 kB / 6.385 GB, free: 72.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.146/24.09, allocations: 0.9323 GB / 7.317 GB, free: 25.69 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.585e-06/24.09, allocations: 2.531 kB / 7.317 GB, free: 25.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005488/24.1, allocations: 147.6 kB / 7.318 GB, free: 25.68 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.04715/24.14, allocations: 7.829 MB / 7.325 GB, free: 22.63 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/24.14, allocations: 9.562 kB / 7.325 GB, free: 22.63 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00593/24.15, allocations: 0.9505 MB / 7.326 GB, free: 22.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02521/24.17, allocations: 2.313 MB / 7.328 GB, free: 22.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/24.2, allocations: 5.405 MB / 7.334 GB, free: 21.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001323/24.2, allocations: 0.6085 MB / 7.334 GB, free: 21.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005023/24.21, allocations: 0.6537 MB / 7.335 GB, free: 21.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05326/24.26, allocations: 13.54 MB / 7.348 GB, free: 20.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006661/24.26, allocations: 31.47 kB / 7.348 GB, free: 20.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004786/24.27, allocations: 270.4 kB / 7.348 GB, free: 20.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/24.27, allocations: 0.6698 MB / 7.349 GB, free: 20.03 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04877/24.32, allocations: 14.01 MB / 7.363 GB, free: 16.05 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.1343/24.45, allocations: 51.93 MB / 7.414 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4493/24.9, allocations: 8.178 MB / 7.422 GB, free: 54.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01463/24.92, allocations: 4.925 MB / 7.426 GB, free: 54.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01925/24.93, allocations: 7.242 MB / 7.433 GB, free: 48.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/24.93, allocations: 104.4 kB / 7.434 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006412/24.94, allocations: 0.5871 MB / 7.434 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=631): time 3.439e-05/24.94, allocations: 0 / 7.434 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=733): time 0.1259/25.07, allocations: 31.18 MB / 7.465 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/25.07, allocations: 180.7 kB / 7.465 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009262/25.08, allocations: 3.504 MB / 7.468 GB, free: 46.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002571/25.08, allocations: 155.3 kB / 7.468 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002542/25.08, allocations: 2.42 MB / 7.471 GB, free: 44.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004928/25.09, allocations: 2.534 MB / 7.473 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/25.09, allocations: 157.1 kB / 7.473 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000723/25.09, allocations: 0.6336 MB / 7.474 GB, free: 43.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01471/25.1, allocations: 5.112 MB / 7.479 GB, free: 42.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0167/25.12, allocations: 6.617 MB / 7.485 GB, free: 41.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01711/25.14, allocations: 5.944 MB / 7.491 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.878e-05/25.14, allocations: 12 kB / 7.491 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.05521/25.19, allocations: 17.02 MB / 7.508 GB, free: 40.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003553/25.2, allocations: 15.43 MB / 7.523 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/25.2, allocations: 35.84 kB / 7.523 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1881/25.39, allocations: 39.45 MB / 7.561 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007273/25.39, allocations: 0.9061 MB / 7.562 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06482/25.46, allocations: 18 MB / 7.58 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01693/25.47, allocations: 1.003 MB / 7.581 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003165/25.48, allocations: 367.8 kB / 7.581 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/25.48, allocations: 9.516 kB / 7.581 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05843/25.54, allocations: 15.72 MB / 7.597 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/25.54, allocations: 40 kB / 7.597 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5961/26.13, allocations: 33.36 MB / 7.629 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008006/26.14, allocations: 0.9888 MB / 7.63 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05343/26.19, allocations: 15.47 MB / 7.645 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01407/26.21, allocations: 0.9791 MB / 7.646 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003015/26.21, allocations: 354.8 kB / 7.647 GB, free: 75.48 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.005207/26.22, allocations: 0.5131 MB / 7.647 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003485/26.22, allocations: 0.5218 MB / 7.648 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06268/26.28, allocations: 24.56 MB / 7.672 GB, free: 74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003593/26.28, allocations: 277 kB / 7.672 GB, free: 74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.113e-05/26.28, allocations: 0.6562 kB / 7.672 GB, free: 74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04957/26.33, allocations: 21.02 MB / 7.692 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09295/26.43, allocations: 37.28 MB / 7.729 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001105/26.43, allocations: 1.812 kB / 7.729 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02841/26.45, allocations: 2.809 MB / 7.731 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/26.47, allocations: 1.934 MB / 7.733 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002652/26.47, allocations: 269.7 kB / 7.734 GB, free: 61.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02471/26.49, allocations: 34.12 MB / 7.767 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/26.49, allocations: 0 / 7.767 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06596/26.56, allocations: 27.38 MB / 7.794 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003298/26.56, allocations: 1.103 MB / 7.795 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003716/26.57, allocations: 211.9 kB / 7.795 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01289/26.58, allocations: 0.7859 MB / 7.796 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003519/26.58, allocations: 0.6908 MB / 7.796 GB, free: 272 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001948/26.58, allocations: 262.6 kB / 7.797 GB, free: 44 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007614/26.59, allocations: 2.647 MB / 7.799 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.82e-07/26.59, allocations: 1.219 kB / 7.799 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0314/26.62, allocations: 5.735 MB / 7.805 GB, free: 8.426 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.5285/27.15, allocations: 31.79 MB / 7.836 GB, free: 88.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.07736/27.23, allocations: 22.6 MB / 7.858 GB, free: 88.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/27.23, allocations: 5.562 kB / 7.858 GB, free: 88.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03786/27.27, allocations: 10.85 MB / 7.869 GB, free: 87.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02111/27.29, allocations: 2.167 MB / 7.871 GB, free: 87.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3257/27.61, allocations: 100.9 MB / 7.969 GB, free: 63.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01082/27.63, allocations: 5.546 MB / 7.975 GB, free: 59.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01164/27.64, allocations: 4.003 MB / 7.979 GB, free: 55.37 MB / 0.5417 GB Notification: Performance of SimCode: time 1.683e-06/27.64, allocations: 0 / 7.979 GB, free: 55.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.09/39.73, allocations: 0.9328 GB / 8.911 GB, free: 94.42 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