Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.454/2.454, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.494e-05, allocations: 3.219 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1425, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.1/13.24, allocations: 3.67 GB / 3.957 GB, free: 68.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/13.24, allocations: 78.03 kB / 3.957 GB, free: 68.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.019/20.26, allocations: 0.9665 GB / 4.924 GB, free: 22.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/20.26, allocations: 0 / 4.924 GB, free: 22.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006611/20.26, allocations: 159.4 kB / 4.924 GB, free: 22.06 MB / 458.7 MB 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.07085/20.33, allocations: 9.828 MB / 4.934 GB, free: 18.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/20.33, allocations: 7.875 kB / 4.934 GB, free: 18.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/20.34, allocations: 0.8646 MB / 4.934 GB, free: 17.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03263/20.38, allocations: 5.719 MB / 4.94 GB, free: 16.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007179/20.38, allocations: 247.7 kB / 4.94 GB, free: 16.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005989/20.38, allocations: 429.2 kB / 4.941 GB, free: 16.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05292/20.44, allocations: 15.83 MB / 4.956 GB, free: 16.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05526/20.49, allocations: 13.14 MB / 4.969 GB, free: 16.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006427/20.49, allocations: 25.25 kB / 4.969 GB, free: 16.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005634/20.5, allocations: 11.25 kB / 4.969 GB, free: 16.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/20.5, allocations: 0.7101 MB / 4.97 GB, free: 16.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1912/20.69, allocations: 47.81 MB / 5.016 GB, free: 4.488 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5266/21.22, allocations: 11.27 MB / 5.027 GB, free: 35.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03105/21.25, allocations: 7.542 MB / 5.035 GB, free: 35.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00932/21.26, allocations: 4.171 MB / 5.039 GB, free: 30.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/21.26, allocations: 153.1 kB / 5.039 GB, free: 30.82 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01674/21.28, allocations: 0.9143 MB / 5.04 GB, free: 30.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=925): time 0.0001116/21.28, allocations: 2.469 kB / 5.04 GB, free: 30.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=1187): time 0.7118/21.99, allocations: 83.2 MB / 5.121 GB, free: 28.35 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/21.99, allocations: 174.2 kB / 5.121 GB, free: 28.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00569/21.99, allocations: 2.22 MB / 5.123 GB, free: 28.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004663/22, allocations: 31.77 kB / 5.123 GB, free: 28.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/22, allocations: 2.312 MB / 5.126 GB, free: 27.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008291/22.01, allocations: 3.987 MB / 5.13 GB, free: 24.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003964/22.01, allocations: 2.297 kB / 5.13 GB, free: 24.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00118/22.01, allocations: 0.7645 MB / 5.13 GB, free: 24.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02616/22.04, allocations: 9.18 MB / 5.139 GB, free: 24.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02878/22.07, allocations: 10.48 MB / 5.15 GB, free: 21.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07178/22.14, allocations: 13.62 MB / 5.163 GB, free: 12.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/22.14, allocations: 8 kB / 5.163 GB, free: 12.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.197/22.34, allocations: 34.7 MB / 5.197 GB, free: 6.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.4649/22.8, allocations: 10.47 MB / 5.207 GB, free: 43.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002522/22.8, allocations: 27.09 kB / 5.207 GB, free: 43.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.5246/23.33, allocations: 43.49 MB / 5.249 GB, free: 42.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/23.34, allocations: 1.088 MB / 5.251 GB, free: 42.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.142/23.48, allocations: 37.44 MB / 5.287 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03207/23.51, allocations: 1.631 MB / 5.289 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006176/23.52, allocations: 0.6082 MB / 5.289 GB, free: 42.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/23.52, allocations: 3.688 kB / 5.289 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.141/23.66, allocations: 30.55 MB / 5.319 GB, free: 41.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002352/23.66, allocations: 33.11 kB / 5.319 GB, free: 41.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.5165/24.18, allocations: 42.57 MB / 5.361 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01266/24.19, allocations: 1.144 MB / 5.362 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6356/24.83, allocations: 35.43 MB / 5.396 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02997/24.86, allocations: 1.594 MB / 5.398 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005797/24.86, allocations: 0.5995 MB / 5.399 GB, free: 44.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 605 * 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 {68 768} Notification: Performance of prepare postOptimizeDAE: time 0.009423/24.87, allocations: 230.7 kB / 5.399 GB, free: 44.01 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09706/24.97, allocations: 22.8 MB / 5.421 GB, free: 43.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006854/24.98, allocations: 0.5942 MB / 5.422 GB, free: 43.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.125/25.1, allocations: 27.25 MB / 5.448 GB, free: 42.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002679/25.1, allocations: 121.1 kB / 5.448 GB, free: 42.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-05/25.1, allocations: 3 kB / 5.448 GB, free: 42.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09034/25.19, allocations: 21.37 MB / 5.469 GB, free: 41.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1953/25.39, allocations: 43.16 MB / 5.511 GB, free: 26.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001595/25.39, allocations: 5.641 kB / 5.511 GB, free: 26.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04451/25.43, allocations: 3.379 MB / 5.515 GB, free: 23.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07121/25.5, allocations: 10.07 MB / 5.525 GB, free: 17.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005824/25.51, allocations: 0.4903 MB / 5.525 GB, free: 16.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6078/26.12, allocations: 42.6 MB / 5.567 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/26.12, allocations: 2.672 kB / 5.567 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.167/26.28, allocations: 37.16 MB / 5.603 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/26.29, allocations: 0.7036 MB / 5.604 GB, free: 55.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007163/26.29, allocations: 279.3 kB / 5.604 GB, free: 55.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02866/26.32, allocations: 1.271 MB / 5.605 GB, free: 55.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006013/26.33, allocations: 0.7964 MB / 5.606 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005589/26.33, allocations: 0.5683 MB / 5.606 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004935/26.34, allocations: 1.631 MB / 5.608 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.694e-06/26.34, allocations: 0 / 5.608 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.04549/26.38, allocations: 6.378 MB / 5.614 GB, free: 55.13 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (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,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].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,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].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,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].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,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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1168): * Single equations (assignments): 1121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,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.187/26.57, allocations: 41.89 MB / 5.655 GB, free: 52.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1279/26.7, allocations: 33.99 MB / 5.688 GB, free: 39.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/26.7, allocations: 6.719 kB / 5.688 GB, free: 39.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.05688/26.76, allocations: 12.72 MB / 5.701 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03384/26.79, allocations: 2.676 MB / 5.703 GB, free: 27.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1326/26.92, allocations: 30.91 MB / 5.734 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5182/27.44, allocations: 5.627 MB / 5.739 GB, free: 53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.04465/27.49, allocations: 5.232 MB / 5.744 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01673/27.5, allocations: 3.588 MB / 5.748 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.805e-06/27.5, allocations: 3.625 kB / 5.748 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.96/30.46, allocations: 472.9 MB / 6.209 GB, free: 76.97 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002805/30.46, allocations: 174.3 kB / 6.21 GB, free: 76.78 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 28.36/58.82, allocations: 0 / 6.21 GB, free: 76.78 MB / 0.5418 GB