Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.269e-05, allocations: 0 / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.2/11.31, allocations: 3.673 GB / 3.987 GB, free: 6.652 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/11.31, allocations: 71.97 kB / 3.987 GB, free: 6.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.925/17.23, allocations: 0.9642 GB / 4.952 GB, free: 24.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/17.23, allocations: 0 / 4.952 GB, free: 24.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005542/17.23, allocations: 161.2 kB / 4.952 GB, free: 24.09 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.05937/17.29, allocations: 9.633 MB / 4.961 GB, free: 20.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/17.29, allocations: 8.062 kB / 4.961 GB, free: 20.13 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007283/17.3, allocations: 1.022 MB / 4.962 GB, free: 20.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009252/17.31, allocations: 0.8489 MB / 4.963 GB, free: 19.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02858/17.34, allocations: 5.751 MB / 4.969 GB, free: 18.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/17.34, allocations: 0.5208 MB / 4.969 GB, free: 18.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005523/17.34, allocations: 0.7002 MB / 4.97 GB, free: 18.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05028/17.39, allocations: 13.82 MB / 4.983 GB, free: 18.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006176/17.39, allocations: 25.62 kB / 4.983 GB, free: 18.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005432/17.4, allocations: 284.2 kB / 4.984 GB, free: 18.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/17.4, allocations: 0.7162 MB / 4.984 GB, free: 18.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04972/17.45, allocations: 16.19 MB / 5 GB, free: 18.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1474/17.6, allocations: 42.55 MB / 5.042 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0336/17.63, allocations: 10.49 MB / 5.052 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02237/17.65, allocations: 7.166 MB / 5.059 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00659/17.66, allocations: 4.18 MB / 5.063 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/17.66, allocations: 154.1 kB / 5.063 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009411/17.67, allocations: 0.8539 MB / 5.064 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=882): time 3.312e-05/17.67, allocations: 0 / 5.064 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1122): time 0.9157/18.59, allocations: 83.22 MB / 5.145 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/18.59, allocations: 169.2 kB / 5.145 GB, free: 49.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008865/18.6, allocations: 3.339 MB / 5.149 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004365/18.6, allocations: 224.1 kB / 5.149 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002681/18.6, allocations: 2.407 MB / 5.151 GB, free: 48.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007705/18.61, allocations: 3.892 MB / 5.155 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00436/18.61, allocations: 218.8 kB / 5.155 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001295/18.62, allocations: 0.747 MB / 5.156 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02509/18.64, allocations: 8.732 MB / 5.165 GB, free: 46.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02739/18.67, allocations: 10.19 MB / 5.174 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02813/18.7, allocations: 9.812 MB / 5.184 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.057e-05/18.7, allocations: 10.44 kB / 5.184 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.09725/18.79, allocations: 28.51 MB / 5.212 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00286/18.8, allocations: 13.05 MB / 5.225 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/18.8, allocations: 32 kB / 5.225 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9803/19.78, allocations: 77.7 MB / 5.301 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00937/19.79, allocations: 1.068 MB / 5.302 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1042/19.89, allocations: 31.55 MB / 5.332 GB, free: 56.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0268/19.92, allocations: 1.79 MB / 5.334 GB, free: 56.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005166/19.92, allocations: 0.5963 MB / 5.335 GB, free: 56.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/19.92, allocations: 2.531 kB / 5.335 GB, free: 56.28 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0925/20.02, allocations: 26.98 MB / 5.361 GB, free: 55.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/20.02, allocations: 34.11 kB / 5.361 GB, free: 55.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4012/20.42, allocations: 66.46 MB / 5.426 GB, free: 31.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009845/20.43, allocations: 1.172 MB / 5.427 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07903/20.51, allocations: 28.48 MB / 5.455 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02453/20.53, allocations: 1.753 MB / 5.457 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004937/20.54, allocations: 0.5845 MB / 5.457 GB, free: 8.352 MB / 0.5261 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.008178/20.54, allocations: 0.6053 MB / 5.458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00588/20.55, allocations: 0.6357 MB / 5.458 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5882/21.14, allocations: 28.89 MB / 5.487 GB, free: 76.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002558/21.14, allocations: 117.3 kB / 5.487 GB, free: 76.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000119/21.14, allocations: 1.406 kB / 5.487 GB, free: 76.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07113/21.21, allocations: 20.44 MB / 5.507 GB, free: 76.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1432/21.35, allocations: 41.34 MB / 5.547 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002014/21.35, allocations: 1.406 kB / 5.547 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02245/21.38, allocations: 2.132 MB / 5.549 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07071/21.45, allocations: 11.7 MB / 5.561 GB, free: 74.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004916/21.45, allocations: 0.6069 MB / 5.561 GB, free: 74.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04116/21.49, allocations: 30.03 MB / 5.591 GB, free: 56.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/21.49, allocations: 11.05 kB / 5.591 GB, free: 56.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1205/21.61, allocations: 35.13 MB / 5.625 GB, free: 46.33 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003203/21.62, allocations: 0.7817 MB / 5.626 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00621/21.62, allocations: 461.3 kB / 5.626 GB, free: 45.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02424/21.65, allocations: 1.444 MB / 5.627 GB, free: 45.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004987/21.65, allocations: 0.7661 MB / 5.628 GB, free: 45.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004626/21.66, allocations: 0.5478 MB / 5.629 GB, free: 45.24 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0059/21.66, allocations: 2.521 MB / 5.631 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.22e-07/21.66, allocations: 1.125 kB / 5.631 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03878/21.7, allocations: 6.895 MB / 5.638 GB, free: 41.72 MB / 0.5417 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.137/21.84, allocations: 39.84 MB / 5.677 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.6165/22.46, allocations: 35.7 MB / 5.712 GB, free: 76.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/22.46, allocations: 6.375 kB / 5.712 GB, free: 76.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03921/22.49, allocations: 11.48 MB / 5.723 GB, free: 76.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0301/22.53, allocations: 3.064 MB / 5.726 GB, free: 75.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1147/22.64, allocations: 29.61 MB / 5.755 GB, free: 72.15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01128/22.65, allocations: 5.197 MB / 5.76 GB, free: 71.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03588/22.69, allocations: 5.542 MB / 5.765 GB, free: 70.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0146/22.7, allocations: 3.455 MB / 5.769 GB, free: 70.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.854e-06/22.7, allocations: 0 / 5.769 GB, free: 70.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.043/24.74, allocations: 483.5 MB / 6.241 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001179/24.75, allocations: 259.1 kB / 6.241 GB, free: 46.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.15/47.9, allocations: 0 / 6.241 GB, free: 46.04 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat