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 1.893/1.893, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.676e-05, allocations: 7.984 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.09/11.22, allocations: 3.671 GB / 3.963 GB, free: 3.188 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/11.22, allocations: 76.41 kB / 3.964 GB, free: 3.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.268/17.49, allocations: 0.9749 GB / 4.938 GB, free: 18.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.767e-06/17.49, allocations: 3.875 kB / 4.938 GB, free: 18.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005783/17.49, allocations: 153.2 kB / 4.939 GB, free: 18.12 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.06808/17.56, allocations: 9.833 MB / 4.948 GB, free: 11.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/17.56, allocations: 15.59 kB / 4.948 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007523/17.57, allocations: 1.019 MB / 4.949 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009797/17.58, allocations: 0.8641 MB / 4.95 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02909/17.6, allocations: 5.71 MB / 4.956 GB, free: 4.543 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/17.61, allocations: 0.5322 MB / 4.956 GB, free: 4.008 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006444/17.61, allocations: 0.7337 MB / 4.957 GB, free: 3.273 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05798/17.67, allocations: 14 MB / 4.971 GB, free: 5.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006621/17.67, allocations: 27.83 kB / 4.971 GB, free: 5.062 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006003/17.68, allocations: 291.9 kB / 4.971 GB, free: 4.777 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/17.68, allocations: 0.7099 MB / 4.972 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4934/18.17, allocations: 16.56 MB / 4.988 GB, free: 31.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1567/18.33, allocations: 48.78 MB / 5.035 GB, free: 17.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03445/18.36, allocations: 10.85 MB / 5.046 GB, free: 17.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0224/18.39, allocations: 7.612 MB / 5.053 GB, free: 17.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00585/18.39, allocations: 4.183 MB / 5.057 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/18.39, allocations: 153.7 kB / 5.058 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01031/18.4, allocations: 0.8828 MB / 5.058 GB, free: 12.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=926): time 5.062e-05/18.4, allocations: 0 / 5.058 GB, free: 12.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1188): time 0.5165/18.92, allocations: 86.04 MB / 5.142 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/18.92, allocations: 176.3 kB / 5.143 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/18.93, allocations: 3.264 MB / 5.146 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.005064/18.93, allocations: 241.7 kB / 5.146 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003229/18.94, allocations: 2.315 MB / 5.148 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.009691/18.95, allocations: 4.136 MB / 5.152 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004966/18.95, allocations: 227.2 kB / 5.153 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001572/18.95, allocations: 0.774 MB / 5.153 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05128/19.01, allocations: 10.47 MB / 5.164 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4734/19.48, allocations: 10.48 MB / 5.174 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03107/19.51, allocations: 10.28 MB / 5.184 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.372e-05/19.51, allocations: 6.531 kB / 5.184 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1082/19.62, allocations: 29.84 MB / 5.213 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002506/19.62, allocations: 10.94 MB / 5.224 GB, free: 49.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/19.62, allocations: 25.62 kB / 5.224 GB, free: 49.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5074/20.13, allocations: 83.07 MB / 5.305 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009821/20.14, allocations: 1.086 MB / 5.306 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1101/20.25, allocations: 33.44 MB / 5.339 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03685/20.29, allocations: 2.306 MB / 5.341 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01008/20.3, allocations: 0.8336 MB / 5.342 GB, free: 0 / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/20.3, allocations: 5.719 kB / 5.342 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5847/20.88, allocations: 31.1 MB / 5.372 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002557/20.88, allocations: 27.47 kB / 5.372 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4805/21.36, allocations: 75.66 MB / 5.446 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/21.37, allocations: 1.132 MB / 5.447 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09877/21.47, allocations: 31.28 MB / 5.478 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02702/21.5, allocations: 1.811 MB / 5.479 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005934/21.5, allocations: 0.5907 MB / 5.48 GB, free: 59.92 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.01062/21.51, allocations: 0.6181 MB / 5.48 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00629/21.52, allocations: 0.6546 MB / 5.481 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1002/21.62, allocations: 27.59 MB / 5.508 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002137/21.62, allocations: 128.6 kB / 5.508 GB, free: 43.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.439e-05/21.62, allocations: 0.6875 kB / 5.508 GB, free: 43.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06855/21.69, allocations: 21.02 MB / 5.529 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6094/22.3, allocations: 43.27 MB / 5.571 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001788/22.3, allocations: 2.859 kB / 5.571 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03664/22.34, allocations: 3.383 MB / 5.574 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06035/22.4, allocations: 10.16 MB / 5.584 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005784/22.4, allocations: 0.6332 MB / 5.585 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04889/22.45, allocations: 41.75 MB / 5.626 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/22.45, allocations: 3.531 kB / 5.626 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1215/22.57, allocations: 35.67 MB / 5.66 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003409/22.58, allocations: 0.8118 MB / 5.661 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006883/22.58, allocations: 482.7 kB / 5.662 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02564/22.61, allocations: 1.484 MB / 5.663 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005718/22.62, allocations: 0.7983 MB / 5.664 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00557/22.62, allocations: 0.5677 MB / 5.664 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006937/22.63, allocations: 2.465 MB / 5.667 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.983e-06/22.63, allocations: 0 / 5.667 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.04109/22.67, allocations: 7.07 MB / 5.674 GB, free: 40.93 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.1497/22.82, allocations: 40.46 MB / 5.713 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.5708/23.39, allocations: 35 MB / 5.747 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.272e-05/23.39, allocations: 9.906 kB / 5.748 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.05125/23.44, allocations: 12.86 MB / 5.76 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03032/23.47, allocations: 3.073 MB / 5.763 GB, free: 70.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1264/23.6, allocations: 31.97 MB / 5.794 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/23.61, allocations: 5.288 MB / 5.799 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.03766/23.65, allocations: 5.616 MB / 5.805 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01565/23.66, allocations: 3.617 MB / 5.808 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/23.66, allocations: 0 / 5.808 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.951/26.62, allocations: 0.4899 GB / 6.298 GB, free: 65.65 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/26.62, allocations: 213.2 kB / 6.299 GB, free: 65.43 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.64/53.25, allocations: 2.219 kB / 6.299 GB, free: 65.43 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