Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.672/2.672, allocations: 249.5 MB / 261.6 MB, free: 2.176 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.561e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4371, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.34/11.78, allocations: 3.627 GB / 4 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/11.78, allocations: 76.95 kB / 4 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.206/17.98, allocations: 0.9778 GB / 4.978 GB, free: 35.51 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.505e-06/17.98, allocations: 0 / 4.978 GB, free: 35.51 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0006488/17.99, allocations: 166.3 kB / 4.978 GB, free: 35.49 MB / 0.5574 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.06477/18.05, allocations: 9.646 MB / 4.987 GB, free: 31.94 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/18.05, allocations: 14.58 kB / 4.987 GB, free: 31.94 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007781/18.06, allocations: 1.023 MB / 4.988 GB, free: 31.85 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/18.07, allocations: 0.8621 MB / 4.989 GB, free: 31.46 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03005/18.1, allocations: 5.731 MB / 4.995 GB, free: 30.68 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001181/18.1, allocations: 0.5211 MB / 4.995 GB, free: 30.66 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006943/18.11, allocations: 0.697 MB / 4.996 GB, free: 30.64 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05489/18.16, allocations: 13.76 MB / 5.009 GB, free: 29.99 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006245/18.16, allocations: 20.66 kB / 5.01 GB, free: 29.98 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005638/18.17, allocations: 294.4 kB / 5.01 GB, free: 29.98 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001205/18.17, allocations: 0.7073 MB / 5.01 GB, free: 29.96 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05186/18.22, allocations: 16.09 MB / 5.026 GB, free: 29.93 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1464/18.37, allocations: 47.57 MB / 5.073 GB, free: 15.07 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03186/18.4, allocations: 10.54 MB / 5.083 GB, free: 14.99 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01942/18.42, allocations: 7.152 MB / 5.09 GB, free: 14.93 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005296/18.42, allocations: 4.146 MB / 5.094 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/18.42, allocations: 142.2 kB / 5.094 GB, free: 10.57 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009227/18.43, allocations: 0.8626 MB / 5.095 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=882): time 3.334e-05/18.43, allocations: 2.516 kB / 5.095 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1122): time 0.5557/18.99, allocations: 87.02 MB / 5.18 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/18.99, allocations: 168.2 kB / 5.18 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/19, allocations: 3.457 MB / 5.183 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.004512/19, allocations: 233.7 kB / 5.184 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.003146/19.01, allocations: 2.39 MB / 5.186 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.009101/19.02, allocations: 3.891 MB / 5.19 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004577/19.02, allocations: 212 kB / 5.19 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001337/19.02, allocations: 0.7474 MB / 5.191 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5536/19.58, allocations: 9.507 MB / 5.2 GB, free: 58.65 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0288/19.61, allocations: 10.11 MB / 5.21 GB, free: 57.58 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03053/19.64, allocations: 9.846 MB / 5.22 GB, free: 57.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.812e-05/19.64, allocations: 8.875 kB / 5.22 GB, free: 57.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.09775/19.73, allocations: 28.52 MB / 5.247 GB, free: 57.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.002813/19.74, allocations: 11.88 MB / 5.259 GB, free: 44.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/19.74, allocations: 28.25 kB / 5.259 GB, free: 44.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4646/20.2, allocations: 77.38 MB / 5.335 GB, free: 38.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009304/20.21, allocations: 1.053 MB / 5.336 GB, free: 37.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1022/20.31, allocations: 31.6 MB / 5.366 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02667/20.34, allocations: 1.787 MB / 5.368 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005334/20.35, allocations: 0.5877 MB / 5.369 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/20.35, allocations: 4 kB / 5.369 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1208/20.47, allocations: 28.25 MB / 5.396 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005936/20.47, allocations: 40.69 kB / 5.396 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044/21.51, allocations: 70.69 MB / 5.465 GB, free: 66.75 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/21.52, allocations: 1.163 MB / 5.467 GB, free: 66.75 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08667/21.61, allocations: 28.5 MB / 5.494 GB, free: 65.94 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02579/21.63, allocations: 1.744 MB / 5.496 GB, free: 65.94 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004902/21.64, allocations: 0.5827 MB / 5.497 GB, free: 65.94 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 580 * 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 {74 714} Notification: Performance of prepare postOptimizeDAE: time 0.00699/21.65, allocations: 0.5978 MB / 5.497 GB, free: 65.84 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004826/21.65, allocations: 0.6504 MB / 5.498 GB, free: 65.84 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09355/21.74, allocations: 26.87 MB / 5.524 GB, free: 64.96 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001755/21.74, allocations: 119.4 kB / 5.524 GB, free: 64.96 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-05/21.74, allocations: 3.875 kB / 5.524 GB, free: 64.96 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06763/21.81, allocations: 20.5 MB / 5.544 GB, free: 64.22 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1508/21.96, allocations: 41.47 MB / 5.585 GB, free: 44.97 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001839/21.96, allocations: 0.8438 kB / 5.585 GB, free: 44.97 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02265/21.99, allocations: 2.138 MB / 5.587 GB, free: 43.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07207/22.06, allocations: 11.68 MB / 5.598 GB, free: 35.5 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005486/22.06, allocations: 0.6054 MB / 5.599 GB, free: 35.04 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04191/22.11, allocations: 30.02 MB / 5.628 GB, free: 6.926 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/22.11, allocations: 4.031 kB / 5.628 GB, free: 6.922 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.689/22.79, allocations: 37.66 MB / 5.665 GB, free: 81.59 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003538/22.8, allocations: 0.808 MB / 5.666 GB, free: 81.49 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006405/22.8, allocations: 459.7 kB / 5.666 GB, free: 81.49 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0253/22.83, allocations: 1.453 MB / 5.668 GB, free: 81.49 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005314/22.83, allocations: 0.7673 MB / 5.668 GB, free: 81.48 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005344/22.84, allocations: 0.5593 MB / 5.669 GB, free: 81.48 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.00809/22.85, allocations: 2.634 MB / 5.671 GB, free: 81.32 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.082e-06/22.85, allocations: 1.188 kB / 5.671 GB, free: 81.32 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.04045/22.89, allocations: 6.971 MB / 5.678 GB, free: 81.32 MB / 0.6199 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.1428/23.03, allocations: 40.01 MB / 5.717 GB, free: 79.36 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.1349/23.17, allocations: 33.02 MB / 5.75 GB, free: 78.93 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/23.17, allocations: 4.75 kB / 5.75 GB, free: 78.93 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0396/23.21, allocations: 11.43 MB / 5.761 GB, free: 78.33 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03213/23.24, allocations: 3.164 MB / 5.764 GB, free: 78.23 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1191/23.36, allocations: 29.52 MB / 5.793 GB, free: 73.54 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01157/23.37, allocations: 5.198 MB / 5.798 GB, free: 72.01 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.03599/23.41, allocations: 5.581 MB / 5.803 GB, free: 71.48 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01291/23.42, allocations: 3.428 MB / 5.807 GB, free: 68.93 MB / 0.6199 GB Notification: Performance of SimCode: time 1.944e-06/23.42, allocations: 0 / 5.807 GB, free: 68.93 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.091/25.51, allocations: 486.2 MB / 6.281 GB, free: 100.2 MB / 0.6668 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/25.51, allocations: 265.7 kB / 6.282 GB, free: 99.86 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.09/49.6, allocations: 4.062 kB / 6.282 GB, free: 99.86 MB / 0.6668 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState_res.mat does not exist to compare? outputFormat=mat