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.383/2.383, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/2.98e-05, allocations: 4 kB / 299.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5165, allocations: 54.85 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.47/11.99, allocations: 3.679 GB / 4.025 GB, free: 110.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/11.99, allocations: 75.48 kB / 4.025 GB, free: 110.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.005/17.99, allocations: 0.966 GB / 4.991 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.294e-06/17.99, allocations: 0 / 4.991 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005965/17.99, allocations: 155.5 kB / 4.991 GB, free: 25.59 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.06171/18.06, allocations: 9.644 MB / 5.001 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/18.06, allocations: 8.219 kB / 5.001 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/18.06, allocations: 0.8652 MB / 5.002 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02885/18.09, allocations: 5.753 MB / 5.007 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007307/18.09, allocations: 244.5 kB / 5.008 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006079/18.1, allocations: 410.3 kB / 5.008 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04402/18.14, allocations: 15.35 MB / 5.023 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04704/18.19, allocations: 12.88 MB / 5.035 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000558/18.19, allocations: 32.55 kB / 5.036 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004997/18.2, allocations: 7.469 kB / 5.036 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001108/18.2, allocations: 0.7077 MB / 5.036 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1553/18.35, allocations: 46.87 MB / 5.082 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04021/18.39, allocations: 10.87 MB / 5.093 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01943/18.41, allocations: 7.053 MB / 5.1 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4783/18.89, allocations: 4.154 MB / 5.104 GB, free: 54.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/18.89, allocations: 145.8 kB / 5.104 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01175/18.9, allocations: 0.8708 MB / 5.105 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=881): time 0.0001024/18.9, allocations: 0 / 5.105 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1121): time 0.4876/19.39, allocations: 81.51 MB / 5.184 GB, free: 51.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/19.39, allocations: 168 kB / 5.184 GB, free: 51.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006457/19.4, allocations: 2.288 MB / 5.187 GB, free: 51.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00483/19.4, allocations: 32.58 kB / 5.187 GB, free: 51.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002774/19.41, allocations: 2.399 MB / 5.189 GB, free: 50.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.007946/19.41, allocations: 3.749 MB / 5.193 GB, free: 48.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004423/19.42, allocations: 1.969 kB / 5.193 GB, free: 48.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001283/19.42, allocations: 0.7449 MB / 5.193 GB, free: 48.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02338/19.44, allocations: 8.735 MB / 5.202 GB, free: 48.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0261/19.47, allocations: 10.13 MB / 5.212 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06148/19.53, allocations: 13.16 MB / 5.225 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001355/19.53, allocations: 10.94 kB / 5.225 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1278/19.66, allocations: 31.3 MB / 5.255 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002783/19.66, allocations: 12.47 MB / 5.267 GB, free: 17.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002707/19.66, allocations: 28 kB / 5.267 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3782/20.04, allocations: 43.24 MB / 5.31 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/20.05, allocations: 1.078 MB / 5.311 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.598/20.65, allocations: 35.32 MB / 5.345 GB, free: 63.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02608/20.67, allocations: 1.578 MB / 5.347 GB, free: 63.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005446/20.68, allocations: 0.6061 MB / 5.347 GB, free: 63.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/20.68, allocations: 6.625 kB / 5.347 GB, free: 63.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1245/20.8, allocations: 29.28 MB / 5.376 GB, free: 63.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002538/20.81, allocations: 33.91 kB / 5.376 GB, free: 63.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3405/21.15, allocations: 40.16 MB / 5.415 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/21.16, allocations: 1.183 MB / 5.416 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09945/21.26, allocations: 31.26 MB / 5.447 GB, free: 57.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02504/21.28, allocations: 1.544 MB / 5.448 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005747/21.29, allocations: 0.5908 MB / 5.449 GB, free: 55.96 MB / 0.5573 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 (590): * Single equations (assignments): 589 * 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 {67 719} Notification: Performance of prepare postOptimizeDAE: time 0.009903/21.3, allocations: 226 kB / 5.449 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08242/21.38, allocations: 22.41 MB / 5.471 GB, free: 37.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00618/21.39, allocations: 0.5803 MB / 5.472 GB, free: 37.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09917/21.48, allocations: 26.56 MB / 5.497 GB, free: 16.13 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002135/21.48, allocations: 116 kB / 5.498 GB, free: 16.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.228e-05/21.48, allocations: 0 / 5.498 GB, free: 16.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07476/21.56, allocations: 20.89 MB / 5.518 GB, free: 14.65 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6369/22.2, allocations: 40.77 MB / 5.558 GB, free: 80.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001587/22.2, allocations: 4.656 kB / 5.558 GB, free: 80.13 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02286/22.22, allocations: 2.132 MB / 5.56 GB, free: 80.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06265/22.28, allocations: 11.09 MB / 5.571 GB, free: 79.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005658/22.29, allocations: 480.8 kB / 5.571 GB, free: 79.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05138/22.34, allocations: 30.69 MB / 5.601 GB, free: 62.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/22.34, allocations: 6.453 kB / 5.601 GB, free: 62.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1453/22.48, allocations: 34.74 MB / 5.635 GB, free: 61.61 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003128/22.49, allocations: 0.6891 MB / 5.636 GB, free: 61.25 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006863/22.49, allocations: 263.4 kB / 5.636 GB, free: 61.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02334/22.52, allocations: 1.254 MB / 5.637 GB, free: 61.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005095/22.52, allocations: 0.7613 MB / 5.638 GB, free: 61.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004721/22.53, allocations: 0.5517 MB / 5.639 GB, free: 61.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003975/22.53, allocations: 1.676 MB / 5.64 GB, free: 61.07 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.213e-06/22.53, allocations: 0 / 5.64 GB, free: 61.07 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03837/22.57, allocations: 6.266 MB / 5.646 GB, free: 61.07 MB / 0.573 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 (1056): * Single equations (assignments): 1029 * 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,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 22,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.137/22.71, allocations: 39.45 MB / 5.685 GB, free: 43.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1009/22.81, allocations: 32.28 MB / 5.716 GB, free: 16.18 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/22.81, allocations: 4.781 kB / 5.716 GB, free: 16.17 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03665/22.85, allocations: 11.22 MB / 5.727 GB, free: 6.672 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0295/22.87, allocations: 2.699 MB / 5.73 GB, free: 4.918 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6746/23.55, allocations: 29.64 MB / 5.759 GB, free: 72.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/23.56, allocations: 5.208 MB / 5.764 GB, free: 71.51 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03148/23.59, allocations: 5.155 MB / 5.769 GB, free: 70.99 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01318/23.61, allocations: 3.435 MB / 5.772 GB, free: 70.99 MB / 0.573 GB Notification: Performance of SimCode: time 1.703e-06/23.61, allocations: 4 kB / 5.772 GB, free: 70.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.498/26.11, allocations: 454.5 MB / 6.216 GB, free: 103.8 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/26.11, allocations: 215.8 kB / 6.216 GB, free: 103.5 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.23/48.33, allocations: 3.938 kB / 6.216 GB, free: 103.5 MB / 0.6199 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