Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.125/2.125, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.172e-05, allocations: 0 / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.49/11.61, allocations: 3.617 GB / 3.926 GB, free: 99.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/11.61, allocations: 71.19 kB / 3.926 GB, free: 99.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.521/18.13, allocations: 0.9784 GB / 4.905 GB, free: 28.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.385e-06/18.13, allocations: 0 / 4.905 GB, free: 28.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0006603/18.13, allocations: 160.1 kB / 4.905 GB, free: 28.54 MB / 490.8 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.06741/18.19, allocations: 9.837 MB / 4.914 GB, free: 24.86 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/18.19, allocations: 12.38 kB / 4.914 GB, free: 24.86 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007214/18.2, allocations: 1.018 MB / 4.915 GB, free: 24.77 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009749/18.21, allocations: 0.8689 MB / 4.916 GB, free: 24.37 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02882/18.24, allocations: 5.692 MB / 4.922 GB, free: 23.59 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/18.24, allocations: 0.5281 MB / 4.922 GB, free: 23.58 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005964/18.25, allocations: 0.7283 MB / 4.923 GB, free: 23.55 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05246/18.3, allocations: 14.01 MB / 4.937 GB, free: 22.9 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005619/18.3, allocations: 23.78 kB / 4.937 GB, free: 22.9 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005271/18.31, allocations: 288.5 kB / 4.937 GB, free: 22.9 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001174/18.31, allocations: 0.7074 MB / 4.938 GB, free: 22.88 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05342/18.36, allocations: 16.57 MB / 4.954 GB, free: 22.85 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1536/18.51, allocations: 48.74 MB / 5.002 GB, free: 7.996 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03243/18.55, allocations: 10.96 MB / 5.012 GB, free: 6.336 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02078/18.57, allocations: 7.657 MB / 5.02 GB, free: 3.527 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006667/18.57, allocations: 4.141 MB / 5.024 GB, free: 15.19 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/18.57, allocations: 151 kB / 5.024 GB, free: 15.08 MB / 0.4949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009746/18.58, allocations: 0.8977 MB / 5.025 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=926): time 3.857e-05/18.58, allocations: 0 / 5.025 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1188): time 1.025/19.61, allocations: 88.56 MB / 5.111 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/19.61, allocations: 174.7 kB / 5.111 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/19.62, allocations: 3.398 MB / 5.115 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004944/19.62, allocations: 241.7 kB / 5.115 GB, free: 53.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002953/19.63, allocations: 2.297 MB / 5.117 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00847/19.64, allocations: 4.142 MB / 5.121 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004518/19.64, allocations: 225.2 kB / 5.122 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001176/19.64, allocations: 0.7641 MB / 5.122 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02619/19.67, allocations: 9.237 MB / 5.131 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02824/19.7, allocations: 10.46 MB / 5.141 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0293/19.73, allocations: 10.33 MB / 5.152 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.923e-05/19.73, allocations: 4.812 kB / 5.152 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.1005/19.83, allocations: 29.93 MB / 5.181 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002355/19.83, allocations: 9.769 MB / 5.19 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001819/19.83, allocations: 25.27 kB / 5.19 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4923/20.32, allocations: 83.98 MB / 5.272 GB, free: 14.37 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009969/20.33, allocations: 1.063 MB / 5.273 GB, free: 13.53 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5716/20.9, allocations: 33.6 MB / 5.306 GB, free: 61.24 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02784/20.93, allocations: 1.84 MB / 5.308 GB, free: 61.24 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005873/20.94, allocations: 0.6004 MB / 5.309 GB, free: 61.24 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/20.94, allocations: 4.75 kB / 5.309 GB, free: 61.24 MB / 0.5262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09774/21.03, allocations: 28.56 MB / 5.337 GB, free: 60.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001754/21.04, allocations: 26.16 kB / 5.337 GB, free: 60.93 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4648/21.5, allocations: 78.31 MB / 5.413 GB, free: 47.96 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/21.51, allocations: 1.119 MB / 5.414 GB, free: 47.11 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09587/21.61, allocations: 31.33 MB / 5.445 GB, free: 28.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02669/21.63, allocations: 1.808 MB / 5.446 GB, free: 27.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005095/21.64, allocations: 0.5845 MB / 5.447 GB, free: 26.82 MB / 0.5262 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.009287/21.65, allocations: 0.6191 MB / 5.448 GB, free: 26.29 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006145/21.65, allocations: 0.6663 MB / 5.448 GB, free: 25.73 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09685/21.75, allocations: 27.68 MB / 5.475 GB, free: 3.391 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001564/21.75, allocations: 128 kB / 5.475 GB, free: 3.266 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.882e-05/21.75, allocations: 0 / 5.475 GB, free: 3.266 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5302/22.28, allocations: 23.24 MB / 5.498 GB, free: 65.93 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1554/22.44, allocations: 43.36 MB / 5.54 GB, free: 64.49 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001756/22.44, allocations: 1.375 kB / 5.54 GB, free: 64.49 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03622/22.47, allocations: 3.384 MB / 5.544 GB, free: 64.49 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05899/22.53, allocations: 10.16 MB / 5.554 GB, free: 64.3 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004998/22.54, allocations: 0.6294 MB / 5.554 GB, free: 64.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04564/22.58, allocations: 41.77 MB / 5.595 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/22.58, allocations: 3.281 kB / 5.595 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1188/22.7, allocations: 35.82 MB / 5.63 GB, free: 27.06 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003409/22.7, allocations: 0.8228 MB / 5.631 GB, free: 26.53 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006244/22.71, allocations: 488 kB / 5.631 GB, free: 26.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02458/22.74, allocations: 1.489 MB / 5.633 GB, free: 26.11 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005283/22.74, allocations: 0.7977 MB / 5.634 GB, free: 26.01 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005261/22.75, allocations: 0.5678 MB / 5.634 GB, free: 25.92 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006744/22.75, allocations: 2.595 MB / 5.637 GB, free: 24.97 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.212e-06/22.75, allocations: 0 / 5.637 GB, free: 24.97 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.03963/22.79, allocations: 7.102 MB / 5.644 GB, free: 23.75 MB / 0.5262 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 (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.6294/23.42, allocations: 43.3 MB / 5.686 GB, free: 63.62 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.1225/23.54, allocations: 34.81 MB / 5.72 GB, free: 63.17 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/23.54, allocations: 7.125 kB / 5.72 GB, free: 63.17 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.04973/23.59, allocations: 12.9 MB / 5.732 GB, free: 62.61 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03116/23.63, allocations: 3.174 MB / 5.736 GB, free: 62.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1192/23.74, allocations: 31.95 MB / 5.767 GB, free: 57.81 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01202/23.76, allocations: 5.288 MB / 5.772 GB, free: 56.85 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.03666/23.79, allocations: 5.663 MB / 5.777 GB, free: 56.32 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01512/23.81, allocations: 3.613 MB / 5.781 GB, free: 56.31 MB / 0.5262 GB Notification: Performance of SimCode: time 1.453e-06/23.81, allocations: 0 / 5.781 GB, free: 56.31 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.599/26.41, allocations: 0.4942 GB / 6.275 GB, free: 72.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/26.41, allocations: 214.7 kB / 6.275 GB, free: 72.59 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.39/52.8, allocations: 3.406 kB / 6.275 GB, free: 72.59 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.BranchingDynamicPipes_res.mat does not exist to compare? outputFormat=mat