Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.146e-05, allocations: 4 kB / 225.1 MB, free: 2.625 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2513, allocations: 38.76 MB / 263.8 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.44/10.69, allocations: 3.665 GB / 3.923 GB, free: 33.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/10.69, allocations: 73.08 kB / 3.923 GB, free: 33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.819/16.51, allocations: 0.9647 GB / 4.887 GB, free: 23.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/16.51, allocations: 1.688 kB / 4.887 GB, free: 23.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005451/16.51, allocations: 160.5 kB / 4.887 GB, free: 23.92 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.05979/16.57, allocations: 9.823 MB / 4.897 GB, free: 20.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/16.57, allocations: 9.938 kB / 4.897 GB, free: 20.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00665/16.58, allocations: 1.026 MB / 4.898 GB, free: 19.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008943/16.59, allocations: 0.8563 MB / 4.899 GB, free: 19.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0271/16.62, allocations: 5.709 MB / 4.904 GB, free: 18.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009876/16.62, allocations: 0.5255 MB / 4.905 GB, free: 18.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005644/16.62, allocations: 0.7332 MB / 4.906 GB, free: 18.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05179/16.67, allocations: 14.01 MB / 4.919 GB, free: 18.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006117/16.67, allocations: 24.59 kB / 4.919 GB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00555/16.68, allocations: 289.9 kB / 4.92 GB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001229/16.68, allocations: 0.709 MB / 4.92 GB, free: 18.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05104/16.73, allocations: 16.56 MB / 4.936 GB, free: 17.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1409/16.87, allocations: 43.35 MB / 4.979 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0349/16.91, allocations: 11.08 MB / 4.99 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02282/16.93, allocations: 7.612 MB / 4.997 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006459/16.94, allocations: 4.186 MB / 5.001 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/16.94, allocations: 154.1 kB / 5.001 GB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009541/16.95, allocations: 0.8841 MB / 5.002 GB, free: 2.492 MB / 442.7 MB Notification: Performance of pre-optimization done (n=926): time 2.977e-05/16.95, allocations: 0 / 5.002 GB, free: 2.492 MB / 442.7 MB Notification: Performance of matching and sorting (n=1188): time 0.8865/17.83, allocations: 87.3 MB / 5.087 GB, free: 45.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/17.83, allocations: 173.6 kB / 5.088 GB, free: 45.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009667/17.84, allocations: 3.26 MB / 5.091 GB, free: 45.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004792/17.85, allocations: 241.2 kB / 5.091 GB, free: 45.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002337/17.85, allocations: 2.147 MB / 5.093 GB, free: 44.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008294/17.86, allocations: 4.13 MB / 5.097 GB, free: 41.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004615/17.86, allocations: 230.2 kB / 5.097 GB, free: 41.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001355/17.87, allocations: 0.7708 MB / 5.098 GB, free: 41.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0265/17.89, allocations: 9.177 MB / 5.107 GB, free: 41.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02866/17.92, allocations: 10.48 MB / 5.117 GB, free: 40.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0293/17.95, allocations: 10.28 MB / 5.127 GB, free: 40.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.209e-05/17.95, allocations: 6.844 kB / 5.127 GB, free: 40.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.09823/18.05, allocations: 29.63 MB / 5.156 GB, free: 31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002153/18.05, allocations: 9.971 MB / 5.166 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/18.05, allocations: 27.38 kB / 5.166 GB, free: 20.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.8755/18.93, allocations: 83.73 MB / 5.248 GB, free: 40.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009418/18.94, allocations: 1.083 MB / 5.249 GB, free: 40.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1056/19.04, allocations: 33.43 MB / 5.282 GB, free: 40.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02685/19.07, allocations: 1.844 MB / 5.283 GB, free: 40.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006021/19.07, allocations: 0.6031 MB / 5.284 GB, free: 40.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/19.07, allocations: 7.203 kB / 5.284 GB, free: 40.05 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09362/19.17, allocations: 28.35 MB / 5.312 GB, free: 31.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/19.17, allocations: 24 kB / 5.312 GB, free: 31.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.8668/20.04, allocations: 61.29 MB / 5.372 GB, free: 54.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009879/20.05, allocations: 1.134 MB / 5.373 GB, free: 54.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09833/20.14, allocations: 31.42 MB / 5.403 GB, free: 53.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02463/20.17, allocations: 1.811 MB / 5.405 GB, free: 53.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005392/20.17, allocations: 0.5858 MB / 5.406 GB, free: 53.3 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.009873/20.18, allocations: 0.6218 MB / 5.406 GB, free: 53.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006245/20.19, allocations: 0.652 MB / 5.407 GB, free: 53.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09697/20.29, allocations: 27.59 MB / 5.434 GB, free: 52.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002249/20.29, allocations: 121.6 kB / 5.434 GB, free: 52.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.375e-05/20.29, allocations: 9.391 kB / 5.434 GB, free: 52.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06805/20.36, allocations: 21.03 MB / 5.454 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1522/20.51, allocations: 43.21 MB / 5.497 GB, free: 34.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001846/20.51, allocations: 3.531 kB / 5.497 GB, free: 34.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03525/20.54, allocations: 3.384 MB / 5.5 GB, free: 33.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05729/20.6, allocations: 10.16 MB / 5.51 GB, free: 26.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005698/20.61, allocations: 0.6311 MB / 5.511 GB, free: 26.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4331/21.04, allocations: 41.75 MB / 5.551 GB, free: 53.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/21.04, allocations: 5.922 kB / 5.551 GB, free: 53.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1194/21.16, allocations: 35.68 MB / 5.586 GB, free: 52.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003088/21.16, allocations: 0.8031 MB / 5.587 GB, free: 51.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00609/21.17, allocations: 486.9 kB / 5.587 GB, free: 51.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02439/21.19, allocations: 1.478 MB / 5.589 GB, free: 51.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005279/21.2, allocations: 0.8029 MB / 5.59 GB, free: 51.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005151/21.2, allocations: 0.5654 MB / 5.59 GB, free: 51.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006678/21.21, allocations: 2.47 MB / 5.593 GB, free: 51.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.32e-07/21.21, allocations: 2.734 kB / 5.593 GB, free: 51.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.04001/21.25, allocations: 7.038 MB / 5.599 GB, free: 51.43 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.1401/21.39, allocations: 40.46 MB / 5.639 GB, free: 46.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1302/21.52, allocations: 34.54 MB / 5.673 GB, free: 25.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.29e-05/21.52, allocations: 8.781 kB / 5.673 GB, free: 25.83 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.061/21.58, allocations: 12.86 MB / 5.685 GB, free: 15.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02969/21.61, allocations: 3.073 MB / 5.688 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5314/22.14, allocations: 32.4 MB / 5.72 GB, free: 52.42 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/22.15, allocations: 5.278 MB / 5.725 GB, free: 51.47 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01394/22.17, allocations: 3.723 MB / 5.729 GB, free: 51.46 MB / 474.7 MB Notification: Performance of SimCode: time 2.174e-06/22.17, allocations: 0 / 5.729 GB, free: 51.46 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.11/34.28, allocations: 0.8519 GB / 6.581 GB, free: 82.86 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat