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.905/1.905, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.672e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.94/11.06, allocations: 3.673 GB / 3.987 GB, free: 5.105 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/11.06, allocations: 75.97 kB / 3.987 GB, free: 5.031 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.91/16.97, allocations: 0.9642 GB / 4.952 GB, free: 23.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/16.97, allocations: 2.75 kB / 4.952 GB, free: 23.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005395/16.97, allocations: 160.8 kB / 4.952 GB, free: 23.3 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.05851/17.03, allocations: 9.632 MB / 4.961 GB, free: 19.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/17.03, allocations: 9.375 kB / 4.961 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006821/17.03, allocations: 1.018 MB / 4.962 GB, free: 19.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009189/17.04, allocations: 0.8489 MB / 4.963 GB, free: 18.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02753/17.07, allocations: 5.75 MB / 4.969 GB, free: 18.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009953/17.07, allocations: 0.5215 MB / 4.969 GB, free: 18.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005651/17.08, allocations: 0.7 MB / 4.97 GB, free: 18.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04918/17.12, allocations: 13.75 MB / 4.983 GB, free: 17.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000538/17.13, allocations: 33.23 kB / 4.983 GB, free: 17.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005238/17.13, allocations: 285.7 kB / 4.984 GB, free: 17.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001111/17.13, allocations: 0.7064 MB / 4.984 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0502/17.18, allocations: 16.1 MB / 5 GB, free: 17.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1396/17.32, allocations: 42.15 MB / 5.041 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03416/17.36, allocations: 10.44 MB / 5.051 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4509/17.81, allocations: 7.956 MB / 5.059 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006395/17.81, allocations: 4.173 MB / 5.063 GB, free: 33.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/17.81, allocations: 148.1 kB / 5.063 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009383/17.82, allocations: 0.8496 MB / 5.064 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=882): time 5.373e-05/17.82, allocations: 1.094 kB / 5.064 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122): time 0.4906/18.31, allocations: 83.21 MB / 5.145 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/18.31, allocations: 168.5 kB / 5.146 GB, free: 30.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0089/18.32, allocations: 3.33 MB / 5.149 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004367/18.33, allocations: 228.5 kB / 5.149 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002271/18.33, allocations: 2.228 MB / 5.151 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007735/18.34, allocations: 3.895 MB / 5.155 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004166/18.34, allocations: 213.8 kB / 5.155 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001185/18.34, allocations: 0.7524 MB / 5.156 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02429/18.37, allocations: 8.728 MB / 5.164 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02695/18.39, allocations: 10.12 MB / 5.174 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03746/18.43, allocations: 9.817 MB / 5.184 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/18.43, allocations: 9.812 kB / 5.184 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1038/18.54, allocations: 28.23 MB / 5.212 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004603/18.54, allocations: 11.88 MB / 5.223 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/18.54, allocations: 32 kB / 5.223 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9724/19.51, allocations: 78.89 MB / 5.3 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009272/19.52, allocations: 1.069 MB / 5.301 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1001/19.62, allocations: 31.55 MB / 5.332 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02982/19.65, allocations: 1.784 MB / 5.334 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006724/19.66, allocations: 0.596 MB / 5.334 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/19.66, allocations: 3.438 kB / 5.334 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.103/19.76, allocations: 26.9 MB / 5.361 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001935/19.76, allocations: 32 kB / 5.361 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.366/20.13, allocations: 52.06 MB / 5.412 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/20.14, allocations: 1.178 MB / 5.413 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5608/20.7, allocations: 29.38 MB / 5.441 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02522/20.72, allocations: 1.756 MB / 5.443 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005758/20.73, allocations: 0.58 MB / 5.444 GB, free: 60.92 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.009634/20.74, allocations: 0.6076 MB / 5.444 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006366/20.75, allocations: 0.6469 MB / 5.445 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09872/20.85, allocations: 26.78 MB / 5.471 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000204/20.85, allocations: 124 kB / 5.471 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.177e-05/20.85, allocations: 0.5156 kB / 5.471 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.068/20.91, allocations: 20.44 MB / 5.491 GB, free: 59.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1465/21.06, allocations: 41.33 MB / 5.531 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001853/21.06, allocations: 0 / 5.531 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02234/21.08, allocations: 2.134 MB / 5.534 GB, free: 56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07088/21.15, allocations: 11.68 MB / 5.545 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005283/21.16, allocations: 0.6032 MB / 5.546 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04102/21.2, allocations: 30.03 MB / 5.575 GB, free: 32.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/21.2, allocations: 5.875 kB / 5.575 GB, free: 32.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1197/21.32, allocations: 35.13 MB / 5.609 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003626/21.32, allocations: 0.7867 MB / 5.61 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006421/21.33, allocations: 461.1 kB / 5.61 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02457/21.35, allocations: 1.457 MB / 5.612 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005293/21.36, allocations: 0.7614 MB / 5.613 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005096/21.37, allocations: 0.5522 MB / 5.613 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006826/21.37, allocations: 2.511 MB / 5.616 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.11e-07/21.37, allocations: 0 / 5.616 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03978/21.41, allocations: 6.905 MB / 5.622 GB, free: 3.145 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.6636/22.08, allocations: 43.37 MB / 5.665 GB, free: 75.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.1124/22.19, allocations: 32.64 MB / 5.697 GB, free: 74.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.895e-05/22.19, allocations: 4.5 kB / 5.697 GB, free: 74.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03816/22.23, allocations: 11.4 MB / 5.708 GB, free: 74.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0298/22.26, allocations: 3.07 MB / 5.711 GB, free: 74.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1245/22.38, allocations: 29.88 MB / 5.74 GB, free: 70.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/22.39, allocations: 5.197 MB / 5.745 GB, free: 69.37 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01568/22.41, allocations: 3.553 MB / 5.748 GB, free: 69.36 MB / 0.5417 GB Notification: Performance of SimCode: time 1.793e-06/22.41, allocations: 0 / 5.748 GB, free: 69.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.18/32.59, allocations: 0.5794 GB / 6.328 GB, free: 124.9 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