Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.315e-05, allocations: 0 / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.63/11.74, allocations: 3.673 GB / 3.987 GB, free: 8.254 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/11.74, allocations: 79.94 kB / 3.987 GB, free: 8.176 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.009/17.75, allocations: 0.9642 GB / 4.952 GB, free: 23.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/17.75, allocations: 3.281 kB / 4.952 GB, free: 23.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006376/17.75, allocations: 155.4 kB / 4.952 GB, free: 23.87 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.0592/17.81, allocations: 9.63 MB / 4.961 GB, free: 19.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/17.81, allocations: 9.219 kB / 4.961 GB, free: 19.92 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006555/17.81, allocations: 1.025 MB / 4.962 GB, free: 19.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008985/17.82, allocations: 0.8487 MB / 4.963 GB, free: 19.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02844/17.85, allocations: 5.745 MB / 4.969 GB, free: 18.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/17.85, allocations: 0.526 MB / 4.969 GB, free: 18.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005515/17.86, allocations: 0.6987 MB / 4.97 GB, free: 18.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05108/17.91, allocations: 13.84 MB / 4.983 GB, free: 17.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005974/17.91, allocations: 30.14 kB / 4.983 GB, free: 17.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005411/17.92, allocations: 290.3 kB / 4.984 GB, free: 17.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001157/17.92, allocations: 0.6992 MB / 4.984 GB, free: 17.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04968/17.97, allocations: 16.19 MB / 5 GB, free: 17.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1442/18.11, allocations: 42.21 MB / 5.041 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03943/18.15, allocations: 10.5 MB / 5.052 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0226/18.17, allocations: 7.169 MB / 5.059 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006615/18.18, allocations: 4.176 MB / 5.063 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/18.18, allocations: 146 kB / 5.063 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00944/18.19, allocations: 0.8569 MB / 5.064 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=882): time 2.949e-05/18.19, allocations: 0 / 5.064 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1122): time 0.9141/19.1, allocations: 83.23 MB / 5.145 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/19.1, allocations: 166.3 kB / 5.145 GB, free: 49.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00861/19.11, allocations: 3.336 MB / 5.148 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004397/19.12, allocations: 226.6 kB / 5.149 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00242/19.12, allocations: 2.227 MB / 5.151 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007959/19.13, allocations: 3.893 MB / 5.155 GB, free: 46.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004362/19.13, allocations: 217.5 kB / 5.155 GB, free: 46.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001315/19.13, allocations: 0.7498 MB / 5.155 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02506/19.16, allocations: 8.735 MB / 5.164 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02765/19.19, allocations: 10.19 MB / 5.174 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02799/19.21, allocations: 9.81 MB / 5.184 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.932e-05/19.21, allocations: 9 kB / 5.184 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.09584/19.31, allocations: 28.31 MB / 5.211 GB, free: 36.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002698/19.31, allocations: 11.88 MB / 5.223 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001964/19.31, allocations: 29.66 kB / 5.223 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9547/20.27, allocations: 76.68 MB / 5.298 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009669/20.28, allocations: 1.067 MB / 5.299 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1059/20.38, allocations: 31.55 MB / 5.33 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0266/20.41, allocations: 1.79 MB / 5.331 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005395/20.41, allocations: 0.5908 MB / 5.332 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/20.41, allocations: 6.047 kB / 5.332 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09425/20.51, allocations: 26.98 MB / 5.358 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001795/20.51, allocations: 29.06 kB / 5.358 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3864/20.9, allocations: 52.73 MB / 5.41 GB, free: 45.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/20.91, allocations: 1.171 MB / 5.411 GB, free: 44.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08574/20.99, allocations: 28.47 MB / 5.439 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02363/21.02, allocations: 1.753 MB / 5.44 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005092/21.02, allocations: 0.5775 MB / 5.441 GB, free: 22.95 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.008955/21.03, allocations: 0.6064 MB / 5.442 GB, free: 22.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005765/21.04, allocations: 0.6399 MB / 5.442 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09077/21.13, allocations: 26.79 MB / 5.468 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001589/21.13, allocations: 116 kB / 5.468 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.114e-05/21.13, allocations: 4 kB / 5.468 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5398/21.67, allocations: 22.76 MB / 5.491 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1501/21.82, allocations: 41.34 MB / 5.531 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001812/21.82, allocations: 3.594 kB / 5.531 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02246/21.84, allocations: 2.132 MB / 5.533 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09388/21.93, allocations: 11.7 MB / 5.545 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005135/21.94, allocations: 0.604 MB / 5.545 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0419/21.98, allocations: 30.04 MB / 5.574 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/21.98, allocations: 3.844 kB / 5.574 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1239/22.1, allocations: 35.14 MB / 5.609 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/22.11, allocations: 0.7901 MB / 5.61 GB, free: 37.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006357/22.11, allocations: 456.6 kB / 5.61 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02452/22.14, allocations: 1.453 MB / 5.611 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005621/22.14, allocations: 0.7602 MB / 5.612 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005762/22.15, allocations: 0.5518 MB / 5.613 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006972/22.16, allocations: 2.514 MB / 5.615 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.954e-06/22.16, allocations: 0 / 5.615 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.04002/22.2, allocations: 6.9 MB / 5.622 GB, free: 35.04 MB / 0.5261 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.1401/22.34, allocations: 39.83 MB / 5.661 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.6463/22.98, allocations: 35.56 MB / 5.696 GB, free: 76.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/22.98, allocations: 6.625 kB / 5.696 GB, free: 76.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.05217/23.04, allocations: 11.48 MB / 5.707 GB, free: 76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03878/23.07, allocations: 3.066 MB / 5.71 GB, free: 75.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1829/23.26, allocations: 29.95 MB / 5.739 GB, free: 72.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01499/23.27, allocations: 5.196 MB / 5.744 GB, free: 71.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01839/23.29, allocations: 3.55 MB / 5.748 GB, free: 71.31 MB / 0.5417 GB Notification: Performance of SimCode: time 2.255e-06/23.29, allocations: 0 / 5.748 GB, free: 71.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.59/33.88, allocations: 0.5798 GB / 6.327 GB, free: 122.4 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat