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.361/2.361, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.583e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.12/11.44, allocations: 3.67 GB / 3.957 GB, free: 102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/11.44, allocations: 69.84 kB / 3.957 GB, free: 102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082/17.53, allocations: 0.9665 GB / 4.924 GB, free: 25.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/17.53, allocations: 0 / 4.924 GB, free: 25.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006077/17.53, allocations: 164.6 kB / 4.924 GB, free: 25.21 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.06505/17.59, allocations: 9.828 MB / 4.934 GB, free: 21.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/17.59, allocations: 10.53 kB / 4.934 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009885/17.6, allocations: 0.8687 MB / 4.934 GB, free: 20.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02941/17.63, allocations: 5.714 MB / 4.94 GB, free: 20.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008258/17.63, allocations: 235.2 kB / 4.94 GB, free: 20.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006299/17.64, allocations: 433.8 kB / 4.941 GB, free: 20.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04798/17.69, allocations: 15.83 MB / 4.956 GB, free: 20.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05038/17.74, allocations: 13.14 MB / 4.969 GB, free: 19.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005559/17.74, allocations: 28.16 kB / 4.969 GB, free: 19.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005469/17.74, allocations: 10.19 kB / 4.969 GB, free: 19.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/17.74, allocations: 0.709 MB / 4.97 GB, free: 19.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1492/17.89, allocations: 47.82 MB / 5.016 GB, free: 20.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02889/17.92, allocations: 10.83 MB / 5.027 GB, free: 16.85 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01853/17.94, allocations: 7.539 MB / 5.034 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006344/17.95, allocations: 4.162 MB / 5.038 GB, free: 9.738 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/17.95, allocations: 152.4 kB / 5.038 GB, free: 9.625 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01105/17.96, allocations: 0.9077 MB / 5.039 GB, free: 9.273 MB / 474.7 MB Notification: Performance of pre-optimization done (n=925): time 6.171e-05/17.96, allocations: 0 / 5.039 GB, free: 9.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=1187): time 0.9627/18.92, allocations: 84.09 MB / 5.121 GB, free: 46.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/18.92, allocations: 175.6 kB / 5.122 GB, free: 46.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006085/18.93, allocations: 2.22 MB / 5.124 GB, free: 46.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004726/18.93, allocations: 33.45 kB / 5.124 GB, free: 46.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00241/18.94, allocations: 2.311 MB / 5.126 GB, free: 45.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008335/18.94, allocations: 3.981 MB / 5.13 GB, free: 43.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004512/18.95, allocations: 2.656 kB / 5.13 GB, free: 43.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001435/18.95, allocations: 0.7692 MB / 5.131 GB, free: 43.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02455/18.97, allocations: 9.176 MB / 5.14 GB, free: 43.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02768/19, allocations: 10.48 MB / 5.15 GB, free: 42.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0649/19.07, allocations: 13.62 MB / 5.163 GB, free: 41.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/19.07, allocations: 10.81 kB / 5.163 GB, free: 41.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1387/19.21, allocations: 32.68 MB / 5.195 GB, free: 36.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002687/19.21, allocations: 10.47 MB / 5.205 GB, free: 25.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002938/19.21, allocations: 26.62 kB / 5.205 GB, free: 25.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3914/19.6, allocations: 43.49 MB / 5.248 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00958/19.61, allocations: 1.093 MB / 5.249 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5859/20.2, allocations: 38.85 MB / 5.287 GB, free: 60.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02786/20.22, allocations: 1.621 MB / 5.288 GB, free: 60.71 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005994/20.23, allocations: 0.6126 MB / 5.289 GB, free: 60.71 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/20.23, allocations: 4.375 kB / 5.289 GB, free: 60.71 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1531/20.38, allocations: 30.55 MB / 5.319 GB, free: 60.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/20.38, allocations: 23.59 kB / 5.319 GB, free: 60.39 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3617/20.75, allocations: 42.57 MB / 5.36 GB, free: 60.08 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009973/20.76, allocations: 1.146 MB / 5.362 GB, free: 60.08 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1087/20.86, allocations: 34.59 MB / 5.395 GB, free: 55.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02638/20.89, allocations: 1.592 MB / 5.397 GB, free: 54.36 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005748/20.9, allocations: 0.5975 MB / 5.398 GB, free: 53.86 MB / 0.4949 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.01071/20.91, allocations: 221.2 kB / 5.398 GB, free: 53.73 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08967/21, allocations: 22.81 MB / 5.42 GB, free: 35.07 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007062/21, allocations: 0.5923 MB / 5.421 GB, free: 34.56 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1122/21.12, allocations: 27.24 MB / 5.447 GB, free: 12.97 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003182/21.12, allocations: 127.6 kB / 5.447 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-05/21.12, allocations: 4 kB / 5.447 GB, free: 12.84 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5724/21.69, allocations: 22.66 MB / 5.469 GB, free: 62.61 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1766/21.87, allocations: 43.15 MB / 5.512 GB, free: 61.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001661/21.87, allocations: 0 / 5.512 GB, free: 61.21 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03655/21.9, allocations: 3.376 MB / 5.515 GB, free: 61.21 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05878/21.96, allocations: 10.08 MB / 5.525 GB, free: 61.02 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00578/21.97, allocations: 498.8 kB / 5.525 GB, free: 61.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05401/22.02, allocations: 42.59 MB / 5.567 GB, free: 31.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/22.02, allocations: 2.312 kB / 5.567 GB, free: 31.93 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1911/22.21, allocations: 37.16 MB / 5.603 GB, free: 24.64 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004456/22.22, allocations: 0.7044 MB / 5.604 GB, free: 24.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007466/22.23, allocations: 283.2 kB / 5.604 GB, free: 24.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02515/22.25, allocations: 1.268 MB / 5.605 GB, free: 24.07 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006051/22.26, allocations: 0.7951 MB / 5.606 GB, free: 23.98 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005907/22.26, allocations: 0.5616 MB / 5.607 GB, free: 23.89 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00466/22.27, allocations: 1.636 MB / 5.608 GB, free: 23.21 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.915e-06/22.27, allocations: 0 / 5.608 GB, free: 23.21 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.045/22.31, allocations: 6.38 MB / 5.614 GB, free: 18.79 MB / 0.4949 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.8525/23.16, allocations: 41.94 MB / 5.655 GB, free: 56.34 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.1697/23.33, allocations: 33.98 MB / 5.689 GB, free: 55.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.642e-05/23.33, allocations: 3.375 kB / 5.689 GB, free: 55.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.07278/23.41, allocations: 12.72 MB / 5.701 GB, free: 55.34 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04133/23.45, allocations: 2.684 MB / 5.704 GB, free: 55.27 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1782/23.63, allocations: 30.91 MB / 5.734 GB, free: 50.25 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02026/23.65, allocations: 5.293 MB / 5.739 GB, free: 49.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.06308/23.71, allocations: 5.238 MB / 5.744 GB, free: 48.76 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02294/23.73, allocations: 3.597 MB / 5.748 GB, free: 47.71 MB / 0.4949 GB Notification: Performance of SimCode: time 2.264e-06/23.73, allocations: 0 / 5.748 GB, free: 47.71 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.663/26.4, allocations: 472.8 MB / 6.209 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/26.4, allocations: 158 kB / 6.209 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.22/50.62, allocations: 0 / 6.209 GB, free: 74.2 MB / 0.5261 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