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.452/2.452, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.401e-05/4.412e-05, allocations: 3.984 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4225, allocations: 54.85 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.95/11.37, allocations: 3.68 GB / 4.031 GB, free: 49.71 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/11.37, allocations: 83.19 kB / 4.031 GB, free: 49.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.924/17.29, allocations: 0.9744 GB / 5.006 GB, free: 21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.083e-06/17.29, allocations: 0 / 5.006 GB, free: 21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006004/17.29, allocations: 163.6 kB / 5.006 GB, free: 20.85 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.06013/17.35, allocations: 9.637 MB / 5.015 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/17.35, allocations: 16.02 kB / 5.015 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006814/17.36, allocations: 1.022 MB / 5.016 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009204/17.37, allocations: 0.8657 MB / 5.017 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02792/17.4, allocations: 5.746 MB / 5.023 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009697/17.4, allocations: 0.5282 MB / 5.023 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005797/17.4, allocations: 0.6948 MB / 5.024 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05429/17.46, allocations: 13.83 MB / 5.037 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005972/17.46, allocations: 19.81 kB / 5.037 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005464/17.47, allocations: 290.8 kB / 5.038 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00133/17.47, allocations: 0.7099 MB / 5.038 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5325/18, allocations: 16.18 MB / 5.054 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1556/18.15, allocations: 47.59 MB / 5.101 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03232/18.19, allocations: 10.5 MB / 5.111 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02046/18.21, allocations: 7.102 MB / 5.118 GB, free: 19.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006088/18.21, allocations: 4.184 MB / 5.122 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/18.21, allocations: 149.3 kB / 5.122 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01/18.22, allocations: 0.8537 MB / 5.123 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=882): time 5.491e-05/18.22, allocations: 0 / 5.123 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1122): time 0.5296/18.75, allocations: 83.26 MB / 5.204 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/18.75, allocations: 171.8 kB / 5.204 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/18.77, allocations: 3.325 MB / 5.208 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004696/18.77, allocations: 233 kB / 5.208 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003223/18.77, allocations: 2.405 MB / 5.21 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00908/18.78, allocations: 3.898 MB / 5.214 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004944/18.79, allocations: 218.7 kB / 5.214 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001437/18.79, allocations: 0.7424 MB / 5.215 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0536/18.84, allocations: 10.26 MB / 5.225 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03092/18.87, allocations: 10.19 MB / 5.235 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03363/18.91, allocations: 9.974 MB / 5.245 GB, free: 15.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.107e-05/18.91, allocations: 8 kB / 5.245 GB, free: 15.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.6325/19.54, allocations: 29.26 MB / 5.273 GB, free: 72.11 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002722/19.54, allocations: 13.05 MB / 5.286 GB, free: 58.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/19.54, allocations: 32.19 kB / 5.286 GB, free: 58.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4864/20.03, allocations: 77.06 MB / 5.361 GB, free: 58.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009258/20.04, allocations: 1.069 MB / 5.362 GB, free: 58.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1009/20.14, allocations: 31.56 MB / 5.393 GB, free: 57.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02688/20.17, allocations: 1.785 MB / 5.395 GB, free: 56.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005558/20.17, allocations: 0.598 MB / 5.396 GB, free: 55.71 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/20.17, allocations: 4 kB / 5.396 GB, free: 55.71 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09806/20.27, allocations: 26.98 MB / 5.422 GB, free: 41.86 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001858/20.27, allocations: 32 kB / 5.422 GB, free: 41.83 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9484/21.22, allocations: 68.04 MB / 5.488 GB, free: 67.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/21.23, allocations: 1.175 MB / 5.489 GB, free: 67.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1136/21.34, allocations: 28.48 MB / 5.517 GB, free: 67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02546/21.37, allocations: 1.755 MB / 5.519 GB, free: 67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005158/21.37, allocations: 0.584 MB / 5.52 GB, free: 67 MB / 0.573 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.009177/21.38, allocations: 0.6004 MB / 5.52 GB, free: 66.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006196/21.39, allocations: 0.6428 MB / 5.521 GB, free: 66.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1371/21.53, allocations: 26.79 MB / 5.547 GB, free: 66.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002756/21.53, allocations: 115 kB / 5.547 GB, free: 66.04 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.3e-05/21.53, allocations: 3.438 kB / 5.547 GB, free: 66.04 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07165/21.6, allocations: 20.42 MB / 5.567 GB, free: 65.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1451/21.74, allocations: 41.34 MB / 5.607 GB, free: 54.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001788/21.74, allocations: 0 / 5.607 GB, free: 54.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02231/21.77, allocations: 2.136 MB / 5.609 GB, free: 54.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07106/21.84, allocations: 11.69 MB / 5.621 GB, free: 52.47 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004915/21.84, allocations: 0.6086 MB / 5.621 GB, free: 52.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04014/21.88, allocations: 30.03 MB / 5.651 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/21.88, allocations: 0 / 5.651 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6533/22.54, allocations: 37.11 MB / 5.687 GB, free: 69.58 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003865/22.54, allocations: 0.7864 MB / 5.688 GB, free: 69.49 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006939/22.55, allocations: 459.8 kB / 5.688 GB, free: 69.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02594/22.57, allocations: 1.45 MB / 5.69 GB, free: 69.49 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006459/22.58, allocations: 0.7637 MB / 5.69 GB, free: 69.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005959/22.59, allocations: 0.5501 MB / 5.691 GB, free: 69.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.008655/22.59, allocations: 2.514 MB / 5.693 GB, free: 69.32 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.383e-06/22.59, allocations: 0 / 5.693 GB, free: 69.32 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.05015/22.64, allocations: 6.923 MB / 5.7 GB, free: 69.32 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 (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.1532/22.8, allocations: 39.84 MB / 5.739 GB, free: 67.32 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.119/22.92, allocations: 33.13 MB / 5.771 GB, free: 66.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-05/22.92, allocations: 4 kB / 5.771 GB, free: 66.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.04079/22.96, allocations: 11.49 MB / 5.783 GB, free: 66.13 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0314/22.99, allocations: 3.067 MB / 5.786 GB, free: 66.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1231/23.11, allocations: 29.6 MB / 5.815 GB, free: 57.39 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01405/23.13, allocations: 5.205 MB / 5.82 GB, free: 55.87 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03755/23.16, allocations: 5.543 MB / 5.825 GB, free: 55.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01589/23.18, allocations: 3.454 MB / 5.828 GB, free: 52.74 MB / 0.573 GB Notification: Performance of SimCode: time 2.014e-06/23.18, allocations: 0 / 5.828 GB, free: 52.74 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.656/25.84, allocations: 483.5 MB / 6.301 GB, free: 37.46 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/25.84, allocations: 263.2 kB / 6.301 GB, free: 37.12 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.67/50.51, allocations: 4 kB / 6.301 GB, free: 37.12 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