Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.568e-05, allocations: 4 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4153, allocations: 54.84 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.02/11.43, allocations: 3.68 GB / 4.031 GB, free: 51.22 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/11.43, allocations: 75.28 kB / 4.031 GB, free: 51.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.956/17.39, allocations: 0.9745 GB / 5.006 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/17.39, allocations: 0 / 5.006 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005898/17.39, allocations: 158.1 kB / 5.006 GB, free: 21.36 MB / 0.5105 GB 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.0614/17.45, allocations: 9.641 MB / 5.015 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/17.45, allocations: 8.031 kB / 5.015 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006976/17.46, allocations: 1.018 MB / 5.016 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009903/17.47, allocations: 0.8657 MB / 5.017 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02965/17.5, allocations: 5.747 MB / 5.023 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/17.5, allocations: 0.5244 MB / 5.023 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007141/17.51, allocations: 0.6987 MB / 5.024 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05713/17.57, allocations: 13.76 MB / 5.037 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006704/17.57, allocations: 23.8 kB / 5.037 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005726/17.57, allocations: 291.3 kB / 5.038 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/17.57, allocations: 0.702 MB / 5.038 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5335/18.11, allocations: 16.08 MB / 5.054 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1503/18.26, allocations: 47.6 MB / 5.101 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03111/18.29, allocations: 10.43 MB / 5.111 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01953/18.31, allocations: 7.109 MB / 5.118 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005835/18.31, allocations: 4.184 MB / 5.122 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/18.31, allocations: 147.7 kB / 5.122 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009567/18.32, allocations: 0.8464 MB / 5.123 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=882): time 4.22e-05/18.32, allocations: 1.438 kB / 5.123 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1122): time 0.4966/18.82, allocations: 83.22 MB / 5.204 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/18.82, allocations: 170.2 kB / 5.204 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/18.83, allocations: 3.324 MB / 5.207 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004729/18.84, allocations: 232.7 kB / 5.208 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003388/18.84, allocations: 2.405 MB / 5.21 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.009805/18.85, allocations: 3.899 MB / 5.214 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00451/18.85, allocations: 216 kB / 5.214 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0014/18.86, allocations: 0.744 MB / 5.215 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04142/18.9, allocations: 9.53 MB / 5.224 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03711/18.93, allocations: 10.13 MB / 5.234 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03448/18.97, allocations: 9.943 MB / 5.244 GB, free: 15.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.496e-05/18.97, allocations: 8 kB / 5.244 GB, free: 15.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.6165/19.59, allocations: 29.16 MB / 5.272 GB, free: 73.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002995/19.59, allocations: 13.05 MB / 5.285 GB, free: 59.87 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/19.59, allocations: 30.5 kB / 5.285 GB, free: 59.87 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.493/20.08, allocations: 76.4 MB / 5.36 GB, free: 59.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009525/20.09, allocations: 1.074 MB / 5.361 GB, free: 59.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1042/20.2, allocations: 31.55 MB / 5.391 GB, free: 57.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0275/20.22, allocations: 1.79 MB / 5.393 GB, free: 56.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005443/20.23, allocations: 0.5963 MB / 5.394 GB, free: 56.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/20.23, allocations: 0 / 5.394 GB, free: 56.54 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1138/20.34, allocations: 26.9 MB / 5.42 GB, free: 42.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002488/20.34, allocations: 31.33 kB / 5.42 GB, free: 42.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9175/21.26, allocations: 67.5 MB / 5.486 GB, free: 69.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/21.27, allocations: 1.171 MB / 5.487 GB, free: 69.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09215/21.36, allocations: 28.48 MB / 5.515 GB, free: 68.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02593/21.39, allocations: 1.752 MB / 5.517 GB, free: 68.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005185/21.39, allocations: 0.5801 MB / 5.517 GB, free: 68.22 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 587 * 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 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.008565/21.4, allocations: 0.6109 MB / 5.518 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005856/21.41, allocations: 0.6384 MB / 5.518 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0922/21.5, allocations: 26.78 MB / 5.545 GB, free: 67.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001896/21.5, allocations: 119 kB / 5.545 GB, free: 67.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.213e-05/21.5, allocations: 3.797 kB / 5.545 GB, free: 67.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06474/21.57, allocations: 20.43 MB / 5.565 GB, free: 66.51 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1487/21.71, allocations: 41.32 MB / 5.605 GB, free: 55.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001897/21.71, allocations: 5.5 kB / 5.605 GB, free: 55.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02255/21.74, allocations: 2.136 MB / 5.607 GB, free: 55.47 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07177/21.81, allocations: 11.68 MB / 5.618 GB, free: 53.75 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004989/21.81, allocations: 0.6043 MB / 5.619 GB, free: 53.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03974/21.85, allocations: 30.01 MB / 5.648 GB, free: 25.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/21.85, allocations: 6.875 kB / 5.648 GB, free: 25.89 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1413/22, allocations: 36.35 MB / 5.684 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003664/22, allocations: 0.7922 MB / 5.685 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006908/22.01, allocations: 462.2 kB / 5.685 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02507/22.03, allocations: 1.442 MB / 5.686 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005128/22.04, allocations: 0.7665 MB / 5.687 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005197/22.04, allocations: 0.5484 MB / 5.688 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.007543/22.05, allocations: 2.517 MB / 5.69 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.11e-07/22.05, allocations: 1.875 kB / 5.69 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.04383/22.09, allocations: 6.92 MB / 5.697 GB, free: 4.023 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (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,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,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,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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1057): * Single equations (assignments): 1030 * 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: 27 * Mixed (continuous/discrete) equation systems: 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: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,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.6761/22.77, allocations: 41.21 MB / 5.737 GB, free: 87.55 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.118/22.89, allocations: 32.87 MB / 5.769 GB, free: 87.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-05/22.89, allocations: 8.375 kB / 5.769 GB, free: 87.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.03978/22.93, allocations: 11.4 MB / 5.78 GB, free: 86.53 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03028/22.96, allocations: 3.064 MB / 5.783 GB, free: 86.44 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1221/23.08, allocations: 29.55 MB / 5.812 GB, free: 82.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/23.09, allocations: 5.197 MB / 5.817 GB, free: 81.47 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.03707/23.13, allocations: 5.539 MB / 5.823 GB, free: 80.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01525/23.14, allocations: 3.457 MB / 5.826 GB, free: 78.39 MB / 0.5886 GB Notification: Performance of SimCode: time 1.794e-06/23.14, allocations: 0 / 5.826 GB, free: 78.39 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.04/25.18, allocations: 481.7 MB / 6.297 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/25.18, allocations: 261.8 kB / 6.297 GB, free: 80.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.39/49.58, allocations: 0 / 6.297 GB, free: 80.81 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat