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.67/1.67, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.714e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2546, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.61/10.86, allocations: 3.664 GB / 3.916 GB, free: 92.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/10.86, allocations: 70.34 kB / 3.917 GB, free: 92.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.516/16.38, allocations: 0.9563 GB / 4.873 GB, free: 18.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/16.38, allocations: 4 kB / 4.873 GB, free: 18.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005556/16.38, allocations: 162.3 kB / 4.873 GB, free: 18.57 MB / 410.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.05985/16.44, allocations: 9.819 MB / 4.883 GB, free: 14.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/16.44, allocations: 10.75 kB / 4.883 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009386/16.45, allocations: 0.8551 MB / 4.883 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02694/16.48, allocations: 5.71 MB / 4.889 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/16.48, allocations: 243 kB / 4.889 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005452/16.48, allocations: 431.6 kB / 4.89 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04395/16.53, allocations: 15.83 MB / 4.905 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04678/16.57, allocations: 13.14 MB / 4.918 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005134/16.57, allocations: 27.41 kB / 4.918 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004855/16.58, allocations: 16 kB / 4.918 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/16.58, allocations: 0.7048 MB / 4.919 GB, free: 32 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.514/17.09, allocations: 42.66 MB / 4.96 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02985/17.12, allocations: 10.82 MB / 4.971 GB, free: 28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01919/17.14, allocations: 7.542 MB / 4.978 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005634/17.15, allocations: 4.165 MB / 4.982 GB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/17.15, allocations: 152.7 kB / 4.982 GB, free: 23.67 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.011/17.16, allocations: 0.9024 MB / 4.983 GB, free: 23.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=925): time 6.835e-05/17.16, allocations: 3.875 kB / 4.983 GB, free: 23.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=1187): time 0.4872/17.65, allocations: 83.22 MB / 5.065 GB, free: 11.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/17.65, allocations: 172.7 kB / 5.065 GB, free: 10.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/17.65, allocations: 2.224 MB / 5.067 GB, free: 8.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00451/17.66, allocations: 33.7 kB / 5.067 GB, free: 8.887 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002102/17.66, allocations: 2.304 MB / 5.069 GB, free: 7.152 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007754/17.67, allocations: 3.985 MB / 5.073 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004194/17.67, allocations: 0 / 5.073 GB, free: 3.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001363/17.67, allocations: 0.774 MB / 5.074 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05153/17.72, allocations: 10.73 MB / 5.084 GB, free: 14.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02949/17.75, allocations: 10.48 MB / 5.095 GB, free: 5.562 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4334/18.19, allocations: 13.62 MB / 5.108 GB, free: 43.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/18.19, allocations: 9.969 kB / 5.108 GB, free: 43.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1303/18.32, allocations: 32.68 MB / 5.14 GB, free: 42.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002222/18.32, allocations: 10.48 MB / 5.15 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/18.32, allocations: 26.28 kB / 5.15 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.356/18.68, allocations: 43.48 MB / 5.193 GB, free: 31.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009526/18.69, allocations: 1.098 MB / 5.194 GB, free: 31.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1198/18.81, allocations: 37.43 MB / 5.23 GB, free: 19.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02677/18.83, allocations: 1.63 MB / 5.232 GB, free: 18.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005555/18.84, allocations: 0.6126 MB / 5.232 GB, free: 18.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/18.84, allocations: 0 / 5.232 GB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1234/18.96, allocations: 30.61 MB / 5.262 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/18.96, allocations: 28 kB / 5.262 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.7562/19.72, allocations: 43.18 MB / 5.304 GB, free: 55.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/19.73, allocations: 1.144 MB / 5.306 GB, free: 55.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1574/19.89, allocations: 34.59 MB / 5.339 GB, free: 54.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02809/19.91, allocations: 1.595 MB / 5.341 GB, free: 54.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005371/19.92, allocations: 0.5965 MB / 5.341 GB, free: 54.28 MB / 458.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 (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.009177/19.93, allocations: 220.3 kB / 5.342 GB, free: 54.17 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08307/20.01, allocations: 22.8 MB / 5.364 GB, free: 53.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006084/20.02, allocations: 0.5909 MB / 5.365 GB, free: 53.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1045/20.12, allocations: 27.25 MB / 5.391 GB, free: 47.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002148/20.12, allocations: 122.1 kB / 5.391 GB, free: 47.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.645e-05/20.12, allocations: 4 kB / 5.391 GB, free: 47.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07779/20.2, allocations: 21.37 MB / 5.412 GB, free: 29.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5855/20.79, allocations: 43.98 MB / 5.455 GB, free: 54.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001382/20.79, allocations: 0 / 5.455 GB, free: 54.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03556/20.82, allocations: 3.378 MB / 5.458 GB, free: 54.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0563/20.88, allocations: 10.08 MB / 5.468 GB, free: 54.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005005/20.88, allocations: 496.1 kB / 5.469 GB, free: 54.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05034/20.93, allocations: 42.6 MB / 5.51 GB, free: 25.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/20.93, allocations: 6.906 kB / 5.51 GB, free: 25.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.141/21.07, allocations: 37.14 MB / 5.547 GB, free: 24.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/21.08, allocations: 0.7039 MB / 5.547 GB, free: 24.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006719/21.08, allocations: 283 kB / 5.548 GB, free: 24.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0246/21.11, allocations: 1.271 MB / 5.549 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005647/21.11, allocations: 0.7988 MB / 5.55 GB, free: 24.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005661/21.12, allocations: 0.5629 MB / 5.55 GB, free: 24.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004508/21.12, allocations: 1.634 MB / 5.552 GB, free: 23.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.002e-06/21.12, allocations: 0 / 5.552 GB, free: 23.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.04015/21.16, allocations: 6.356 MB / 5.558 GB, free: 23.9 MB / 458.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 (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.1575/21.32, allocations: 41.88 MB / 5.599 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.4938/21.82, allocations: 34.55 MB / 5.633 GB, free: 57.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/21.82, allocations: 4.875 kB / 5.633 GB, free: 57.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04696/21.86, allocations: 12.71 MB / 5.645 GB, free: 56.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02905/21.89, allocations: 2.687 MB / 5.648 GB, free: 56.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.121/22.01, allocations: 30.91 MB / 5.678 GB, free: 51.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01202/22.03, allocations: 5.289 MB / 5.683 GB, free: 50.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.03488/22.06, allocations: 5.241 MB / 5.688 GB, free: 50 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01424/22.07, allocations: 3.596 MB / 5.692 GB, free: 49.99 MB / 458.7 MB Notification: Performance of SimCode: time 2.755e-06/22.07, allocations: 0 / 5.692 GB, free: 49.99 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.153/24.23, allocations: 472.8 MB / 6.153 GB, free: 68.97 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/24.23, allocations: 163.6 kB / 6.153 GB, free: 68.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.89/47.11, allocations: 0 / 6.153 GB, free: 68.79 MB / 490.7 MB 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