Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.781/1.781, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.935e-05, allocations: 4 kB / 225.1 MB, free: 2.145 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2547, allocations: 38.77 MB / 263.8 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.77/11.03, allocations: 3.665 GB / 3.923 GB, free: 33.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/11.03, allocations: 72.59 kB / 3.923 GB, free: 33.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.063/17.09, allocations: 0.9647 GB / 4.887 GB, free: 24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/17.09, allocations: 0 / 4.887 GB, free: 24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000619/17.09, allocations: 158.1 kB / 4.887 GB, free: 23.98 MB / 426.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.0624/17.15, allocations: 9.823 MB / 4.897 GB, free: 20.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/17.15, allocations: 8.969 kB / 4.897 GB, free: 20.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00758/17.16, allocations: 1.021 MB / 4.898 GB, free: 20 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009388/17.17, allocations: 0.8511 MB / 4.899 GB, free: 19.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02824/17.2, allocations: 5.717 MB / 4.904 GB, free: 18.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/17.2, allocations: 0.5302 MB / 4.905 GB, free: 18.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005754/17.21, allocations: 0.7294 MB / 4.906 GB, free: 18.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05136/17.26, allocations: 14.08 MB / 4.919 GB, free: 18.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005268/17.26, allocations: 30.02 kB / 4.919 GB, free: 18.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005206/17.26, allocations: 285.7 kB / 4.92 GB, free: 18.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001124/17.26, allocations: 0.7123 MB / 4.92 GB, free: 18.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05135/17.32, allocations: 16.66 MB / 4.937 GB, free: 18.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1659/17.48, allocations: 43.35 MB / 4.979 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03398/17.52, allocations: 10.92 MB / 4.99 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02385/17.54, allocations: 7.607 MB / 4.997 GB, free: 8.281 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007347/17.55, allocations: 4.191 MB / 5.001 GB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/17.55, allocations: 146.6 kB / 5.001 GB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01005/17.56, allocations: 0.8895 MB / 5.002 GB, free: 2.543 MB / 442.7 MB Notification: Performance of pre-optimization done (n=926): time 3.941e-05/17.56, allocations: 2.281 kB / 5.002 GB, free: 2.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=1188): time 0.9087/18.47, allocations: 87.28 MB / 5.087 GB, free: 45.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/18.47, allocations: 178.9 kB / 5.088 GB, free: 45.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008891/18.48, allocations: 3.258 MB / 5.091 GB, free: 45.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004672/18.48, allocations: 242.3 kB / 5.091 GB, free: 45.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/18.48, allocations: 2.316 MB / 5.093 GB, free: 44.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008151/18.49, allocations: 4.138 MB / 5.097 GB, free: 42.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004443/18.5, allocations: 225.2 kB / 5.098 GB, free: 42.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001397/18.5, allocations: 0.7664 MB / 5.098 GB, free: 41.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02653/18.52, allocations: 9.179 MB / 5.107 GB, free: 41.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03049/18.55, allocations: 10.55 MB / 5.118 GB, free: 40.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03002/18.58, allocations: 10.28 MB / 5.128 GB, free: 40.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-05/18.58, allocations: 10.72 kB / 5.128 GB, free: 40.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1012/18.69, allocations: 29.9 MB / 5.157 GB, free: 30.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00227/18.69, allocations: 10.95 MB / 5.167 GB, free: 19.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/18.69, allocations: 24 kB / 5.168 GB, free: 19.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.9283/19.62, allocations: 84.42 MB / 5.25 GB, free: 41.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009402/19.63, allocations: 1.077 MB / 5.251 GB, free: 41.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1096/19.74, allocations: 33.43 MB / 5.284 GB, free: 40.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0275/19.76, allocations: 1.851 MB / 5.285 GB, free: 40.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005756/19.77, allocations: 0.5995 MB / 5.286 GB, free: 40.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/19.77, allocations: 3.656 kB / 5.286 GB, free: 40.27 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09726/19.87, allocations: 28.42 MB / 5.314 GB, free: 30.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/19.87, allocations: 26.94 kB / 5.314 GB, free: 30.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.8787/20.74, allocations: 75.74 MB / 5.388 GB, free: 53.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009874/20.75, allocations: 1.13 MB / 5.389 GB, free: 53.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0947/20.85, allocations: 31.27 MB / 5.419 GB, free: 52.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0255/20.87, allocations: 1.815 MB / 5.421 GB, free: 52.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005638/20.88, allocations: 0.5854 MB / 5.422 GB, free: 52.84 MB / 474.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 (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.008859/20.89, allocations: 0.6157 MB / 5.422 GB, free: 52.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005684/20.9, allocations: 0.6601 MB / 5.423 GB, free: 52.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0925/20.99, allocations: 27.6 MB / 5.45 GB, free: 51.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001881/20.99, allocations: 122.3 kB / 5.45 GB, free: 51.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.525e-05/20.99, allocations: 3.781 kB / 5.45 GB, free: 51.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06693/21.06, allocations: 21.03 MB / 5.471 GB, free: 47.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1498/21.2, allocations: 43.22 MB / 5.513 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001722/21.21, allocations: 0 / 5.513 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03548/21.24, allocations: 3.385 MB / 5.516 GB, free: 18.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05739/21.3, allocations: 10.17 MB / 5.526 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0052/21.3, allocations: 0.6274 MB / 5.527 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4402/21.74, allocations: 41.79 MB / 5.568 GB, free: 42.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/21.74, allocations: 3.375 kB / 5.568 GB, free: 42.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1172/21.86, allocations: 35.68 MB / 5.602 GB, free: 41.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003283/21.86, allocations: 0.8032 MB / 5.603 GB, free: 41.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006196/21.87, allocations: 482.9 kB / 5.604 GB, free: 41.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02448/21.89, allocations: 1.482 MB / 5.605 GB, free: 41.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005194/21.9, allocations: 0.8033 MB / 5.606 GB, free: 41.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004532/21.9, allocations: 0.5698 MB / 5.606 GB, free: 41.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006611/21.91, allocations: 2.466 MB / 5.609 GB, free: 41.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.202e-06/21.91, allocations: 2.188 kB / 5.609 GB, free: 41.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.04102/21.95, allocations: 7.044 MB / 5.616 GB, free: 41.09 MB / 474.7 MB 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.1372/22.09, allocations: 40.42 MB / 5.655 GB, free: 34.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1159/22.21, allocations: 34.94 MB / 5.689 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.938e-05/22.21, allocations: 4.781 kB / 5.689 GB, free: 11.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0488/22.25, allocations: 12.95 MB / 5.702 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4228/22.68, allocations: 3.161 MB / 5.705 GB, free: 58.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1187/22.8, allocations: 32.04 MB / 5.736 GB, free: 53.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01165/22.81, allocations: 5.285 MB / 5.741 GB, free: 52.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.03615/22.84, allocations: 5.615 MB / 5.747 GB, free: 52.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01506/22.86, allocations: 3.615 MB / 5.75 GB, free: 52.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.233e-06/22.86, allocations: 0 / 5.75 GB, free: 52.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.239/25.1, allocations: 0.4917 GB / 6.242 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/25.1, allocations: 226.5 kB / 6.242 GB, free: 76.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.36/49.46, allocations: 1.094 kB / 6.242 GB, free: 76.32 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat