Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 249.5 MB / 261.6 MB, free: 2.148 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.892e-05, allocations: 0 / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4231, allocations: 58.83 MB / 382.3 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.996/2.42, allocations: 0.6917 GB / 1.065 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/2.42, allocations: 80.83 kB / 1.065 GB, free: 53.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.294/5.714, allocations: 0.5545 GB / 1.62 GB, free: 45.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/5.714, allocations: 0.75 kB / 1.62 GB, free: 45.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000295/5.714, allocations: 60.09 kB / 1.62 GB, free: 45.93 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01328/5.727, allocations: 3.033 MB / 1.623 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/5.728, allocations: 12.72 kB / 1.623 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/5.729, allocations: 244.6 kB / 1.623 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004765/5.733, allocations: 441.9 kB / 1.623 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008243/5.742, allocations: 1.936 MB / 1.625 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/5.742, allocations: 129.4 kB / 1.625 GB, free: 43.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009291/5.743, allocations: 164.3 kB / 1.625 GB, free: 43.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00663/5.75, allocations: 2.574 MB / 1.628 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.896e-05/5.75, allocations: 7.688 kB / 1.628 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/5.75, allocations: 73.92 kB / 1.628 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002949/5.75, allocations: 152.8 kB / 1.628 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005481/5.756, allocations: 2.162 MB / 1.63 GB, free: 43.34 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02277/5.779, allocations: 11.03 MB / 1.641 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/5.783, allocations: 1.755 MB / 1.643 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/5.786, allocations: 1.046 MB / 1.644 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/5.788, allocations: 460.6 kB / 1.644 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003378/5.791, allocations: 1.259 MB / 1.645 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 6.172e-06/5.791, allocations: 2.188 kB / 1.646 GB, free: 36.62 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.03917/5.83, allocations: 8.672 MB / 1.654 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/5.831, allocations: 360.2 kB / 1.654 GB, free: 35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/5.834, allocations: 1.409 MB / 1.656 GB, free: 34.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007436/5.834, allocations: 60.2 kB / 1.656 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/5.835, allocations: 0.8625 MB / 1.657 GB, free: 33.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/5.837, allocations: 0.6274 MB / 1.657 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002907/5.837, allocations: 39.22 kB / 1.657 GB, free: 33.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001728/5.837, allocations: 390.1 kB / 1.658 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/5.84, allocations: 0.9984 MB / 1.659 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003427/5.843, allocations: 1.432 MB / 1.66 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/5.847, allocations: 1.263 MB / 1.661 GB, free: 31.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/5.847, allocations: 3.375 kB / 1.661 GB, free: 31.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.009225/5.856, allocations: 3.045 MB / 1.664 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009692/5.857, allocations: 3.769 MB / 1.668 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.116e-05/5.857, allocations: 8.375 kB / 1.668 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000791/5.858, allocations: 193.6 kB / 1.668 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/5.863, allocations: 0.5386 MB / 1.669 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/5.865, allocations: 2.32 MB / 1.671 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/5.87, allocations: 222.5 kB / 1.671 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009228/5.871, allocations: 184.9 kB / 1.671 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/5.871, allocations: 7.812 kB / 1.671 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007994/5.879, allocations: 2.768 MB / 1.674 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/5.879, allocations: 8 kB / 1.674 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/5.879, allocations: 200.2 kB / 1.674 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004636/5.884, allocations: 0.5195 MB / 1.675 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/5.886, allocations: 2.329 MB / 1.677 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/5.89, allocations: 212 kB / 1.677 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008289/5.891, allocations: 186.4 kB / 1.677 GB, free: 18.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001002/5.892, allocations: 298.4 kB / 1.678 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/5.893, allocations: 216.8 kB / 1.678 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/5.905, allocations: 3.696 MB / 1.681 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/5.905, allocations: 20 kB / 1.681 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/5.905, allocations: 0 / 1.681 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006703/5.911, allocations: 2.732 MB / 1.684 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/5.931, allocations: 6.585 MB / 1.691 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/5.931, allocations: 8 kB / 1.691 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003897/5.935, allocations: 429.2 kB / 1.691 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007202/5.935, allocations: 182.1 kB / 1.691 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006243/5.936, allocations: 99.09 kB / 1.691 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/5.939, allocations: 3.065 MB / 1.694 GB, free: 18.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/5.939, allocations: 11.94 kB / 1.694 GB, free: 18.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/5.949, allocations: 4.608 MB / 1.699 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/5.951, allocations: 0.5414 MB / 1.699 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007518/5.952, allocations: 68.56 kB / 1.699 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/5.955, allocations: 131.9 kB / 1.699 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/5.956, allocations: 169.3 kB / 1.7 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004777/5.956, allocations: 159.3 kB / 1.7 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002695/5.959, allocations: 1.086 MB / 1.701 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.81e-07/5.959, allocations: 0 / 1.701 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01019/5.969, allocations: 1.983 MB / 1.703 GB, free: 10.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0208/5.99, allocations: 9.035 MB / 1.712 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01324/6.003, allocations: 4.259 MB / 1.716 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/6.003, allocations: 4 kB / 1.716 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003879/6.007, allocations: 1.475 MB / 1.717 GB, free: 13.02 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008861/6.016, allocations: 0.9806 MB / 1.718 GB, free: 12.3 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/6.034, allocations: 5.012 MB / 1.723 GB, free: 7.863 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/6.036, allocations: 1.722 MB / 1.725 GB, free: 6.105 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01144/6.048, allocations: 1.542 MB / 1.726 GB, free: 4.656 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00351/6.051, allocations: 0.9522 MB / 1.727 GB, free: 3.703 MB / 0.5418 GB Notification: Performance of SimCode: time 1.262e-06/6.051, allocations: 0 / 1.727 GB, free: 3.703 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7239/6.775, allocations: 104.5 MB / 1.829 GB, free: 63.57 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/6.776, allocations: 237 kB / 1.829 GB, free: 63.25 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/14.36, allocations: 0 / 1.829 GB, free: 63.25 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat does not exist to compare? outputFormat=mat