Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.226/2.226, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.296e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1535, allocations: 50.41 MB / 342.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.79/11.94, allocations: 3.452 GB / 3.787 GB, free: 109 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/11.94, allocations: 75.34 kB / 3.787 GB, free: 109 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961/17.9, allocations: 0.9574 GB / 4.744 GB, free: 20.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.765e-06/17.9, allocations: 0 / 4.744 GB, free: 20.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005846/17.9, allocations: 156 kB / 4.744 GB, free: 20.18 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.06108/17.97, allocations: 9.64 MB / 4.754 GB, free: 16.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/17.97, allocations: 7.688 kB / 4.754 GB, free: 16.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007266/17.97, allocations: 1.024 MB / 4.755 GB, free: 16.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009813/17.98, allocations: 0.8646 MB / 4.756 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03054/18.01, allocations: 5.688 MB / 4.761 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/18.01, allocations: 0.5239 MB / 4.762 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006116/18.02, allocations: 0.7266 MB / 4.762 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05096/18.07, allocations: 14 MB / 4.776 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005025/18.07, allocations: 27.81 kB / 4.776 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00516/18.08, allocations: 289.8 kB / 4.776 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/18.08, allocations: 0.7074 MB / 4.777 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05859/18.14, allocations: 16.88 MB / 4.793 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6504/18.79, allocations: 48.8 MB / 4.841 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03096/18.82, allocations: 10.91 MB / 4.852 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01991/18.84, allocations: 7.645 MB / 4.859 GB, free: 16.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006809/18.85, allocations: 4.144 MB / 4.863 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/18.85, allocations: 153.2 kB / 4.863 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01024/18.86, allocations: 0.8912 MB / 4.864 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=925): time 4.684e-05/18.86, allocations: 3.703 kB / 4.864 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1187): time 0.5465/19.4, allocations: 86 MB / 4.948 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/19.4, allocations: 178.2 kB / 4.948 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009503/19.41, allocations: 3.406 MB / 4.952 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.005078/19.42, allocations: 237.7 kB / 4.952 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002736/19.42, allocations: 2.306 MB / 4.954 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008617/19.43, allocations: 4.128 MB / 4.958 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00525/19.43, allocations: 224 kB / 4.958 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001614/19.44, allocations: 0.77 MB / 4.959 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0311/19.47, allocations: 9.229 MB / 4.968 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07224/19.54, allocations: 12.82 MB / 4.981 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03404/19.57, allocations: 10.31 MB / 4.991 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.581e-05/19.57, allocations: 8 kB / 4.991 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.6723/20.25, allocations: 30.47 MB / 5.021 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003048/20.25, allocations: 9.76 MB / 5.03 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/20.25, allocations: 22.22 kB / 5.03 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5221/20.77, allocations: 82.92 MB / 5.111 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009858/20.78, allocations: 1.069 MB / 5.112 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1104/20.89, allocations: 33.47 MB / 5.145 GB, free: 27.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02973/20.92, allocations: 1.842 MB / 5.147 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005858/20.93, allocations: 0.5732 MB / 5.147 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/20.93, allocations: 4.938 kB / 5.147 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09778/21.03, allocations: 28.5 MB / 5.175 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/21.03, allocations: 23.95 kB / 5.175 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9914/22.02, allocations: 78.17 MB / 5.251 GB, free: 74.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/22.03, allocations: 1.108 MB / 5.253 GB, free: 74.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09791/22.13, allocations: 31.33 MB / 5.283 GB, free: 74.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02661/22.15, allocations: 1.805 MB / 5.285 GB, free: 74.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006598/22.16, allocations: 0.5568 MB / 5.285 GB, free: 74.02 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.009537/22.17, allocations: 0.6196 MB / 5.286 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006491/22.17, allocations: 0.6626 MB / 5.287 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.117/22.29, allocations: 28.29 MB / 5.314 GB, free: 66.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002237/22.29, allocations: 120.5 kB / 5.314 GB, free: 66.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.432e-05/22.29, allocations: 8.906 kB / 5.314 GB, free: 66.14 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07797/22.37, allocations: 21.07 MB / 5.335 GB, free: 52.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1516/22.52, allocations: 43.05 MB / 5.377 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001622/22.52, allocations: 0 / 5.377 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03613/22.56, allocations: 3.38 MB / 5.38 GB, free: 16.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05798/22.62, allocations: 10.15 MB / 5.39 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005248/22.62, allocations: 0.6245 MB / 5.391 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5359/23.16, allocations: 41.75 MB / 5.432 GB, free: 53.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/23.16, allocations: 6.375 kB / 5.432 GB, free: 53.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1421/23.3, allocations: 37.56 MB / 5.468 GB, free: 52.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003767/23.3, allocations: 0.8127 MB / 5.469 GB, free: 52.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007309/23.31, allocations: 487.5 kB / 5.47 GB, free: 52.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02653/23.34, allocations: 1.492 MB / 5.471 GB, free: 52.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005558/23.34, allocations: 0.797 MB / 5.472 GB, free: 52.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00539/23.35, allocations: 0.5488 MB / 5.472 GB, free: 52.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007231/23.36, allocations: 2.598 MB / 5.475 GB, free: 52.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.212e-06/23.36, allocations: 2.25 kB / 5.475 GB, free: 52.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.04382/23.4, allocations: 6.973 MB / 5.482 GB, free: 52.04 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.1592/23.56, allocations: 42.05 MB / 5.523 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.1198/23.68, allocations: 34.77 MB / 5.557 GB, free: 25.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/23.68, allocations: 4.781 kB / 5.557 GB, free: 25.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.04993/23.73, allocations: 12.88 MB / 5.569 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03302/23.76, allocations: 3.174 MB / 5.572 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1297/23.89, allocations: 31.88 MB / 5.604 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5068/24.4, allocations: 5.685 MB / 5.609 GB, free: 83.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.04302/24.44, allocations: 6.315 MB / 5.615 GB, free: 83.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01595/24.46, allocations: 3.57 MB / 5.619 GB, free: 83.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.723e-06/24.46, allocations: 2 kB / 5.619 GB, free: 83.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.101/27.56, allocations: 0.4904 GB / 6.109 GB, free: 87.46 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/27.56, allocations: 220.2 kB / 6.109 GB, free: 87.24 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.88/53.43, allocations: 0 / 6.109 GB, free: 87.24 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat