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.169/2.169, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.72e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.34/11.46, allocations: 3.673 GB / 3.987 GB, free: 4.363 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/11.46, allocations: 75.97 kB / 3.987 GB, free: 4.289 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.047/17.5, allocations: 0.9642 GB / 4.952 GB, free: 23.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/17.5, allocations: 3.219 kB / 4.952 GB, free: 23.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007213/17.51, allocations: 158.6 kB / 4.952 GB, free: 23.27 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.06223/17.57, allocations: 9.626 MB / 4.961 GB, free: 19.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/17.57, allocations: 9.75 kB / 4.961 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006588/17.57, allocations: 1.026 MB / 4.962 GB, free: 19.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00929/17.58, allocations: 0.8541 MB / 4.963 GB, free: 18.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02821/17.61, allocations: 5.751 MB / 4.969 GB, free: 18.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001104/17.61, allocations: 0.5172 MB / 4.969 GB, free: 18.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005638/17.62, allocations: 0.7 MB / 4.97 GB, free: 18.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04955/17.67, allocations: 13.75 MB / 4.983 GB, free: 17.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006434/17.67, allocations: 28.73 kB / 4.983 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00561/17.68, allocations: 291.9 kB / 4.984 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001128/17.68, allocations: 0.7077 MB / 4.984 GB, free: 17.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04825/17.72, allocations: 16.09 MB / 5 GB, free: 17.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1404/17.86, allocations: 42.16 MB / 5.041 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0335/17.9, allocations: 10.44 MB / 5.051 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4903/18.39, allocations: 8.023 MB / 5.059 GB, free: 37.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006274/18.4, allocations: 4.173 MB / 5.063 GB, free: 33.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/18.4, allocations: 146.9 kB / 5.063 GB, free: 33.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01019/18.41, allocations: 0.852 MB / 5.064 GB, free: 33.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=882): time 5.941e-05/18.41, allocations: 0 / 5.064 GB, free: 33.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122): time 0.4903/18.9, allocations: 83.2 MB / 5.145 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/18.9, allocations: 168.6 kB / 5.146 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009303/18.91, allocations: 3.331 MB / 5.149 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.005178/18.91, allocations: 229.4 kB / 5.149 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002933/18.91, allocations: 2.401 MB / 5.151 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008947/18.92, allocations: 3.903 MB / 5.155 GB, free: 27.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004762/18.93, allocations: 211.5 kB / 5.155 GB, free: 27.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001379/18.93, allocations: 0.7497 MB / 5.156 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02506/18.95, allocations: 8.727 MB / 5.165 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02771/18.98, allocations: 10.12 MB / 5.175 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02813/19.01, allocations: 9.814 MB / 5.184 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/19.01, allocations: 10.64 kB / 5.184 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.09327/19.1, allocations: 28.43 MB / 5.212 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004462/19.11, allocations: 13.04 MB / 5.225 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/19.11, allocations: 30.11 kB / 5.225 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002/20.11, allocations: 79.03 MB / 5.302 GB, free: 47.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009378/20.12, allocations: 1.074 MB / 5.303 GB, free: 47.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09739/20.22, allocations: 31.55 MB / 5.334 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02689/20.24, allocations: 1.782 MB / 5.336 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005494/20.25, allocations: 0.5909 MB / 5.336 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/20.25, allocations: 5.031 kB / 5.336 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09296/20.34, allocations: 26.9 MB / 5.362 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001964/20.34, allocations: 28 kB / 5.362 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3913/20.73, allocations: 65.82 MB / 5.427 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/20.75, allocations: 1.168 MB / 5.428 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5555/21.3, allocations: 28.71 MB / 5.456 GB, free: 77.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02631/21.33, allocations: 1.759 MB / 5.458 GB, free: 77.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00546/21.33, allocations: 0.5799 MB / 5.458 GB, free: 77.4 MB / 0.5417 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.008631/21.34, allocations: 0.5994 MB / 5.459 GB, free: 77.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006142/21.35, allocations: 0.6448 MB / 5.459 GB, free: 77.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1055/21.45, allocations: 26.79 MB / 5.486 GB, free: 76.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002794/21.45, allocations: 119.2 kB / 5.486 GB, free: 76.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.74e-05/21.45, allocations: 2.562 kB / 5.486 GB, free: 76.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07749/21.53, allocations: 20.43 MB / 5.506 GB, free: 75.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1437/21.67, allocations: 41.32 MB / 5.546 GB, free: 67.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001856/21.68, allocations: 3.5 kB / 5.546 GB, free: 67.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02238/21.7, allocations: 2.134 MB / 5.548 GB, free: 67.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07127/21.77, allocations: 11.7 MB / 5.559 GB, free: 65.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004991/21.77, allocations: 0.6022 MB / 5.56 GB, free: 65.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0409/21.81, allocations: 30.02 MB / 5.589 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/21.81, allocations: 0 / 5.589 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1113/21.93, allocations: 35.14 MB / 5.624 GB, free: 18.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003336/21.93, allocations: 0.7845 MB / 5.624 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005646/21.94, allocations: 465.1 kB / 5.625 GB, free: 16.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02349/21.96, allocations: 1.448 MB / 5.626 GB, free: 16.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004552/21.96, allocations: 0.7569 MB / 5.627 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003377/21.97, allocations: 0.5525 MB / 5.628 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006715/21.97, allocations: 2.516 MB / 5.63 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.22e-07/21.97, allocations: 0 / 5.63 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.04228/22.02, allocations: 6.903 MB / 5.637 GB, free: 6.676 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.6508/22.67, allocations: 40.16 MB / 5.676 GB, free: 74.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.1092/22.78, allocations: 32.87 MB / 5.708 GB, free: 73.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/22.78, allocations: 8.031 kB / 5.708 GB, free: 73.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03678/22.81, allocations: 11.4 MB / 5.719 GB, free: 73.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02869/22.84, allocations: 3.057 MB / 5.722 GB, free: 73.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1123/22.95, allocations: 29.55 MB / 5.751 GB, free: 69.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01126/22.97, allocations: 5.203 MB / 5.756 GB, free: 67.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03565/23, allocations: 5.546 MB / 5.762 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01408/23.02, allocations: 3.446 MB / 5.765 GB, free: 64.75 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/23.02, allocations: 0 / 5.765 GB, free: 64.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.42/25.44, allocations: 481.7 MB / 6.235 GB, free: 20.01 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/25.44, allocations: 257.8 kB / 6.236 GB, free: 19.68 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.42/49.86, allocations: 0 / 6.236 GB, free: 19.68 MB / 0.573 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