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.614/2.614, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.941e-05, allocations: 3.406 kB / 249.7 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.45/15.57, allocations: 3.67 GB / 3.957 GB, free: 41.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/15.57, allocations: 70.41 kB / 3.957 GB, free: 40.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286/23.85, allocations: 0.9693 GB / 4.927 GB, free: 21.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.717e-06/23.85, allocations: 3.438 kB / 4.927 GB, free: 21.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007729/23.85, allocations: 157.2 kB / 4.927 GB, free: 21.32 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.07994/23.93, allocations: 9.835 MB / 4.936 GB, free: 17.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/23.93, allocations: 10.16 kB / 4.936 GB, free: 17.23 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008035/23.94, allocations: 0.7619 MB / 4.937 GB, free: 17.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/23.95, allocations: 0.8621 MB / 4.938 GB, free: 16.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03724/23.99, allocations: 5.718 MB / 4.944 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009726/23.99, allocations: 322.8 kB / 4.944 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006711/24, allocations: 428.5 kB / 4.944 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06087/24.06, allocations: 15.83 MB / 4.96 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06161/24.12, allocations: 13.14 MB / 4.973 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007981/24.12, allocations: 26.19 kB / 4.973 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006311/24.13, allocations: 10.22 kB / 4.973 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/24.13, allocations: 0.7023 MB / 4.973 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7364/24.86, allocations: 48.33 MB / 5.02 GB, free: 30.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.041/24.91, allocations: 10.82 MB / 5.031 GB, free: 30 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02535/24.93, allocations: 7.542 MB / 5.038 GB, free: 29.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007052/24.94, allocations: 4.164 MB / 5.042 GB, free: 25.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/24.94, allocations: 150.4 kB / 5.043 GB, free: 25.66 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01412/24.95, allocations: 0.9129 MB / 5.043 GB, free: 25.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=925): time 7.683e-05/24.95, allocations: 1.859 kB / 5.043 GB, free: 25.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=1187): time 0.933/25.89, allocations: 83.2 MB / 5.125 GB, free: 23.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002583/25.89, allocations: 175.1 kB / 5.125 GB, free: 22.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/25.9, allocations: 2.225 MB / 5.127 GB, free: 22.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00684/25.91, allocations: 33.02 kB / 5.127 GB, free: 22.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004064/25.91, allocations: 2.312 MB / 5.129 GB, free: 21.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.01376/25.92, allocations: 3.979 MB / 5.133 GB, free: 19.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006866/25.93, allocations: 0 / 5.133 GB, free: 19.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.002203/25.93, allocations: 0.7648 MB / 5.134 GB, free: 19.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04968/25.98, allocations: 9.176 MB / 5.143 GB, free: 15.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05315/26.04, allocations: 10.49 MB / 5.153 GB, free: 6.473 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1891/26.22, allocations: 15 MB / 5.168 GB, free: 15.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/26.22, allocations: 4 kB / 5.168 GB, free: 15.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.7716/27, allocations: 33.74 MB / 5.201 GB, free: 42.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003894/27, allocations: 10.48 MB / 5.211 GB, free: 31.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003707/27, allocations: 23.53 kB / 5.211 GB, free: 31.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.5168/27.52, allocations: 43.48 MB / 5.254 GB, free: 31.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/27.53, allocations: 1.098 MB / 5.255 GB, free: 31.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1862/27.72, allocations: 37.43 MB / 5.291 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03876/27.76, allocations: 1.628 MB / 5.293 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00746/27.76, allocations: 0.611 MB / 5.293 GB, free: 30.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/27.76, allocations: 5.781 kB / 5.293 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1788/27.94, allocations: 30.55 MB / 5.323 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002561/27.94, allocations: 26.12 kB / 5.323 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.615/28.56, allocations: 42.59 MB / 5.365 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01734/28.58, allocations: 1.145 MB / 5.366 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8872/29.46, allocations: 34.65 MB / 5.4 GB, free: 56.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0425/29.51, allocations: 1.592 MB / 5.401 GB, free: 56.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007489/29.51, allocations: 0.598 MB / 5.402 GB, free: 56.79 MB / 0.4948 GB 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.01267/29.53, allocations: 223.5 kB / 5.402 GB, free: 56.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008643/29.53, allocations: 0.5879 MB / 5.403 GB, free: 56.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.17/29.71, allocations: 27.24 MB / 5.429 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002984/29.71, allocations: 124.1 kB / 5.429 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-05/29.71, allocations: 2.875 kB / 5.429 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1611/29.87, allocations: 21.37 MB / 5.45 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3296/30.2, allocations: 43.17 MB / 5.492 GB, free: 48.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001748/30.2, allocations: 3.969 kB / 5.492 GB, free: 48.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0783/30.27, allocations: 3.369 MB / 5.496 GB, free: 48.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09354/30.37, allocations: 10.08 MB / 5.506 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006468/30.37, allocations: 499.1 kB / 5.506 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0746/30.45, allocations: 42.59 MB / 5.548 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/30.45, allocations: 2.094 kB / 5.548 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7789/31.23, allocations: 38.98 MB / 5.586 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00344/31.23, allocations: 0.7012 MB / 5.586 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007327/31.24, allocations: 281 kB / 5.587 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02964/31.27, allocations: 1.275 MB / 5.588 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006392/31.28, allocations: 0.8023 MB / 5.589 GB, free: 56.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006507/31.28, allocations: 0.5644 MB / 5.589 GB, free: 56.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005567/31.29, allocations: 1.634 MB / 5.591 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.743e-06/31.29, allocations: 3.562 kB / 5.591 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.05/31.34, allocations: 6.372 MB / 5.597 GB, free: 56.04 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.2037/31.54, allocations: 41.89 MB / 5.638 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1538/31.7, allocations: 33.99 MB / 5.671 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.536e-05/31.7, allocations: 7.438 kB / 5.671 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.06794/31.76, allocations: 12.71 MB / 5.684 GB, free: 48.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03732/31.8, allocations: 2.688 MB / 5.686 GB, free: 47.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1556/31.96, allocations: 30.91 MB / 5.716 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01544/31.97, allocations: 5.29 MB / 5.722 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0453/32.02, allocations: 5.242 MB / 5.727 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01945/32.04, allocations: 3.59 MB / 5.73 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of SimCode: time 2.655e-06/32.04, allocations: 0 / 5.73 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.512/36.55, allocations: 478.6 MB / 6.198 GB, free: 75.33 MB / 0.5575 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002472/36.55, allocations: 167.4 kB / 6.198 GB, free: 75.14 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 32.05/68.6, allocations: 3.562 kB / 6.198 GB, free: 75.14 MB / 0.5575 GB