Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.699e-05, allocations: 9.391 kB / 255.4 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09878, allocations: 44.52 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.05/11.14, allocations: 3.67 GB / 3.963 GB, free: 9.562 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/11.14, allocations: 72.41 kB / 3.963 GB, free: 9.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.905/17.05, allocations: 0.9749 GB / 4.938 GB, free: 19.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/17.05, allocations: 0 / 4.938 GB, free: 19.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007441/17.05, allocations: 165.1 kB / 4.939 GB, free: 19.11 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.06724/17.12, allocations: 9.828 MB / 4.948 GB, free: 14.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/17.12, allocations: 8.031 kB / 4.948 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007233/17.13, allocations: 1.016 MB / 4.949 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009261/17.13, allocations: 0.8687 MB / 4.95 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02738/17.16, allocations: 5.713 MB / 4.956 GB, free: 9.277 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009862/17.16, allocations: 0.5306 MB / 4.956 GB, free: 8.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005787/17.17, allocations: 0.7253 MB / 4.957 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05259/17.22, allocations: 14.08 MB / 4.971 GB, free: 9.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005548/17.22, allocations: 27.83 kB / 4.971 GB, free: 9.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005402/17.23, allocations: 291.9 kB / 4.971 GB, free: 9.484 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001331/17.23, allocations: 0.7021 MB / 4.972 GB, free: 8.781 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4698/17.7, allocations: 16.67 MB / 4.988 GB, free: 32.28 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1524/17.85, allocations: 48.77 MB / 5.035 GB, free: 17.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03354/17.88, allocations: 10.92 MB / 5.046 GB, free: 17.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02139/17.91, allocations: 7.611 MB / 5.054 GB, free: 17.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006822/17.91, allocations: 4.184 MB / 5.058 GB, free: 29.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/17.91, allocations: 150.9 kB / 5.058 GB, free: 29.36 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009812/17.92, allocations: 0.887 MB / 5.059 GB, free: 29.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=926): time 4.188e-05/17.92, allocations: 0 / 5.059 GB, free: 29.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1188): time 0.4908/18.41, allocations: 85.86 MB / 5.143 GB, free: 3.105 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/18.41, allocations: 178.4 kB / 5.143 GB, free: 2.918 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009736/18.42, allocations: 3.269 MB / 5.146 GB, free: 40 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.005912/18.43, allocations: 297.4 kB / 5.146 GB, free: 0 / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003252/18.43, allocations: 2.317 MB / 5.148 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.009761/18.44, allocations: 4.139 MB / 5.152 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004745/18.45, allocations: 227.5 kB / 5.153 GB, free: 10.09 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001427/18.45, allocations: 0.7662 MB / 5.153 GB, free: 9.449 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03022/18.48, allocations: 9.181 MB / 5.162 GB, free: 1.508 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5103/18.99, allocations: 13.09 MB / 5.175 GB, free: 62.96 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0335/19.02, allocations: 10.28 MB / 5.185 GB, free: 62.81 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.211e-05/19.02, allocations: 11.36 kB / 5.185 GB, free: 62.81 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1063/19.13, allocations: 29.9 MB / 5.214 GB, free: 62.46 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.002593/19.13, allocations: 10.95 MB / 5.225 GB, free: 51.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/19.13, allocations: 26.06 kB / 5.225 GB, free: 51.19 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5029/19.64, allocations: 83.76 MB / 5.307 GB, free: 30.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009376/19.65, allocations: 1.078 MB / 5.308 GB, free: 30.09 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.105/19.75, allocations: 33.44 MB / 5.341 GB, free: 8.664 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02756/19.78, allocations: 1.843 MB / 5.342 GB, free: 7.527 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005474/19.78, allocations: 0.6015 MB / 5.343 GB, free: 7.02 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/19.78, allocations: 4 kB / 5.343 GB, free: 7.016 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.539/20.32, allocations: 28.66 MB / 5.371 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001435/20.32, allocations: 26.03 kB / 5.371 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4638/20.79, allocations: 76.35 MB / 5.446 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009755/20.8, allocations: 1.134 MB / 5.447 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09849/20.9, allocations: 31.27 MB / 5.477 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02599/20.92, allocations: 1.812 MB / 5.479 GB, free: 60.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005378/20.93, allocations: 0.5842 MB / 5.48 GB, free: 60.59 MB / 0.5105 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 (604): * Single equations (assignments): 603 * 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 {75 763} Notification: Performance of prepare postOptimizeDAE: time 0.008739/20.94, allocations: 0.6167 MB / 5.48 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005906/20.94, allocations: 0.6579 MB / 5.481 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09803/21.04, allocations: 27.6 MB / 5.508 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001968/21.04, allocations: 124.7 kB / 5.508 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.248e-05/21.04, allocations: 4 kB / 5.508 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06835/21.11, allocations: 21.02 MB / 5.528 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6055/21.71, allocations: 43.26 MB / 5.571 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001677/21.71, allocations: 6.969 kB / 5.571 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03583/21.75, allocations: 3.388 MB / 5.574 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05906/21.81, allocations: 10.15 MB / 5.584 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005682/21.81, allocations: 0.6306 MB / 5.585 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04832/21.86, allocations: 41.79 MB / 5.625 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/21.86, allocations: 2.812 kB / 5.625 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1233/21.99, allocations: 35.68 MB / 5.66 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003422/21.99, allocations: 0.7981 MB / 5.661 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006206/22, allocations: 488.2 kB / 5.661 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02429/22.02, allocations: 1.488 MB / 5.663 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005282/22.03, allocations: 0.7994 MB / 5.664 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004553/22.03, allocations: 0.5678 MB / 5.664 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005985/22.04, allocations: 2.47 MB / 5.667 GB, free: 43.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.01e-07/22.04, allocations: 0 / 5.667 GB, free: 43.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03928/22.08, allocations: 7.067 MB / 5.674 GB, free: 42.62 MB / 0.5105 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 (1169): * Single equations (assignments): 1122 * 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.1411/22.22, allocations: 40.43 MB / 5.713 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.551/22.77, allocations: 34.92 MB / 5.747 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/22.77, allocations: 7.469 kB / 5.747 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.04996/22.82, allocations: 12.94 MB / 5.76 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02922/22.85, allocations: 3.082 MB / 5.763 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1191/22.97, allocations: 32.03 MB / 5.794 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/22.98, allocations: 5.287 MB / 5.799 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.03647/23.01, allocations: 5.618 MB / 5.805 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01604/23.03, allocations: 3.618 MB / 5.808 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of SimCode: time 2.064e-06/23.03, allocations: 0 / 5.808 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.829/25.86, allocations: 0.4917 GB / 6.3 GB, free: 66.97 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/25.86, allocations: 226.6 kB / 6.3 GB, free: 66.75 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.56/51.42, allocations: 1.156 kB / 6.3 GB, free: 66.75 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat