Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.378e-05, allocations: 4 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 50.41 MB / 343.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.41/11.52, allocations: 3.452 GB / 3.787 GB, free: 109.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/11.52, allocations: 75.69 kB / 3.787 GB, free: 109.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.113/17.64, allocations: 0.9574 GB / 4.745 GB, free: 20.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.385e-06/17.64, allocations: 0 / 4.745 GB, free: 20.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005836/17.64, allocations: 156.2 kB / 4.745 GB, free: 20.25 MB / 490.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.06212/17.7, allocations: 9.643 MB / 4.754 GB, free: 16.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/17.7, allocations: 7.531 kB / 4.754 GB, free: 16.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007517/17.71, allocations: 1.022 MB / 4.755 GB, free: 16.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009802/17.72, allocations: 0.8622 MB / 4.756 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02776/17.74, allocations: 5.687 MB / 4.762 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/17.75, allocations: 0.5318 MB / 4.762 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00597/17.75, allocations: 0.72 MB / 4.763 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05228/17.8, allocations: 14.01 MB / 4.776 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006267/17.8, allocations: 22.3 kB / 4.776 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006112/17.81, allocations: 288.9 kB / 4.777 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/17.81, allocations: 0.7009 MB / 4.777 GB, free: 7.973 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05947/17.87, allocations: 16.93 MB / 4.794 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6284/18.5, allocations: 48.8 MB / 4.842 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03237/18.53, allocations: 10.91 MB / 4.852 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02153/18.55, allocations: 7.644 MB / 4.86 GB, free: 31.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006706/18.56, allocations: 4.141 MB / 4.864 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/18.56, allocations: 162.6 kB / 4.864 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01007/18.57, allocations: 0.8916 MB / 4.865 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=925): time 4.277e-05/18.57, allocations: 0 / 4.865 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1187): time 0.4902/19.06, allocations: 86 MB / 4.949 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/19.06, allocations: 174 kB / 4.949 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009244/19.07, allocations: 3.401 MB / 4.952 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00515/19.08, allocations: 248.6 kB / 4.953 GB, free: 16.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002669/19.08, allocations: 2.301 MB / 4.955 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008312/19.09, allocations: 4.13 MB / 4.959 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004769/19.09, allocations: 224 kB / 4.959 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00142/19.09, allocations: 0.767 MB / 4.96 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03005/19.12, allocations: 9.224 MB / 4.969 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06872/19.19, allocations: 12.66 MB / 4.981 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03279/19.22, allocations: 10.31 MB / 4.991 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.085e-05/19.22, allocations: 8 kB / 4.991 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.5888/19.81, allocations: 30.47 MB / 5.021 GB, free: 63.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002426/19.82, allocations: 9.772 MB / 5.031 GB, free: 52.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/19.82, allocations: 20.75 kB / 5.031 GB, free: 52.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4947/20.31, allocations: 82.93 MB / 5.112 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009544/20.32, allocations: 1.065 MB / 5.113 GB, free: 44.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1056/20.43, allocations: 33.48 MB / 5.145 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02803/20.45, allocations: 1.838 MB / 5.147 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005631/20.46, allocations: 0.572 MB / 5.148 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/20.46, allocations: 4.938 kB / 5.148 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1122/20.57, allocations: 28.5 MB / 5.175 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/20.57, allocations: 20 kB / 5.175 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9828/21.56, allocations: 77.58 MB / 5.251 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/21.57, allocations: 1.118 MB / 5.252 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09876/21.66, allocations: 31.33 MB / 5.283 GB, free: 74.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02704/21.69, allocations: 1.805 MB / 5.285 GB, free: 74.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005593/21.7, allocations: 0.5556 MB / 5.285 GB, free: 74.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 596 * 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.009896/21.71, allocations: 0.6191 MB / 5.286 GB, free: 74.17 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007117/21.71, allocations: 0.6628 MB / 5.286 GB, free: 74.17 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1011/21.82, allocations: 28.29 MB / 5.314 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002701/21.82, allocations: 127.4 kB / 5.314 GB, free: 65.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.553e-05/21.82, allocations: 5.781 kB / 5.314 GB, free: 65.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07007/21.89, allocations: 21.05 MB / 5.335 GB, free: 51.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1546/22.04, allocations: 43.05 MB / 5.377 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001709/22.04, allocations: 3.281 kB / 5.377 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03656/22.08, allocations: 3.372 MB / 5.38 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05909/22.14, allocations: 10.15 MB / 5.39 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005463/22.14, allocations: 0.6272 MB / 5.391 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5299/22.67, allocations: 41.75 MB / 5.431 GB, free: 52.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/22.67, allocations: 1.5 kB / 5.431 GB, free: 52.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1368/22.81, allocations: 37.55 MB / 5.468 GB, free: 51.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004062/22.81, allocations: 0.8191 MB / 5.469 GB, free: 51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007356/22.82, allocations: 486.3 kB / 5.469 GB, free: 51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02565/22.85, allocations: 1.495 MB / 5.471 GB, free: 50.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00548/22.85, allocations: 0.7901 MB / 5.472 GB, free: 50.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005065/22.86, allocations: 0.5496 MB / 5.472 GB, free: 50.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006924/22.86, allocations: 2.598 MB / 5.475 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.353e-06/22.86, allocations: 0 / 5.475 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.04076/22.9, allocations: 6.976 MB / 5.481 GB, free: 50.79 MB / 0.5417 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.1513/23.06, allocations: 42.06 MB / 5.523 GB, free: 44.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.1142/23.17, allocations: 34.77 MB / 5.557 GB, free: 23.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/23.17, allocations: 11.19 kB / 5.557 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.04849/23.22, allocations: 12.88 MB / 5.569 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03088/23.25, allocations: 3.168 MB / 5.572 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1274/23.38, allocations: 31.87 MB / 5.603 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4876/23.86, allocations: 5.345 MB / 5.609 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0409/23.91, allocations: 6.306 MB / 5.615 GB, free: 83.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01534/23.92, allocations: 3.568 MB / 5.618 GB, free: 83.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.335e-06/23.92, allocations: 0 / 5.618 GB, free: 83.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.028/26.95, allocations: 0.4904 GB / 6.109 GB, free: 90.39 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/26.95, allocations: 223.2 kB / 6.109 GB, free: 90.17 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.36/53.31, allocations: 1.688 kB / 6.109 GB, free: 90.17 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat