Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.009e-05/4.018e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4141, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.048/2.462, allocations: 0.6917 GB / 1.065 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/2.462, allocations: 80.33 kB / 1.065 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.271/5.733, allocations: 0.5545 GB / 1.62 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.986e-06/5.733, allocations: 0 / 1.62 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002871/5.733, allocations: 68.81 kB / 1.62 GB, free: 45.57 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.01355/5.747, allocations: 3.03 MB / 1.623 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/5.747, allocations: 13.03 kB / 1.623 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001189/5.748, allocations: 239.4 kB / 1.623 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/5.753, allocations: 451.7 kB / 1.623 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008565/5.761, allocations: 1.93 MB / 1.625 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/5.762, allocations: 132 kB / 1.625 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008361/5.763, allocations: 166.1 kB / 1.625 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007045/5.77, allocations: 2.57 MB / 1.628 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.541e-05/5.77, allocations: 2.344 kB / 1.628 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/5.77, allocations: 78.22 kB / 1.628 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003323/5.771, allocations: 156.8 kB / 1.628 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006961/5.778, allocations: 2.169 MB / 1.63 GB, free: 43 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.0255/5.803, allocations: 11.03 MB / 1.641 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/5.808, allocations: 1.755 MB / 1.643 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/5.811, allocations: 1.052 MB / 1.644 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/5.812, allocations: 450.1 kB / 1.644 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003227/5.816, allocations: 1.264 MB / 1.645 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 5.501e-06/5.816, allocations: 3.938 kB / 1.645 GB, free: 36.26 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.03908/5.855, allocations: 8.663 MB / 1.654 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/5.855, allocations: 365.8 kB / 1.654 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/5.858, allocations: 1.399 MB / 1.656 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007267/5.859, allocations: 63.86 kB / 1.656 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009388/5.86, allocations: 0.872 MB / 1.657 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/5.861, allocations: 0.6246 MB / 1.657 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/5.861, allocations: 41.66 kB / 1.657 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001555/5.861, allocations: 390.3 kB / 1.658 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/5.864, allocations: 0.9989 MB / 1.659 GB, free: 32.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/5.867, allocations: 1.428 MB / 1.66 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/5.87, allocations: 1.269 MB / 1.661 GB, free: 31.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/5.871, allocations: 3.625 kB / 1.661 GB, free: 31.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008941/5.879, allocations: 3.035 MB / 1.664 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00106/5.881, allocations: 3.78 MB / 1.668 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/5.881, allocations: 8.969 kB / 1.668 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008419/5.882, allocations: 188 kB / 1.668 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005098/5.887, allocations: 0.5383 MB / 1.669 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/5.888, allocations: 2.323 MB / 1.671 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/5.893, allocations: 219.6 kB / 1.671 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/5.895, allocations: 181.9 kB / 1.671 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/5.895, allocations: 3.906 kB / 1.671 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008261/5.903, allocations: 2.783 MB / 1.674 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/5.903, allocations: 8 kB / 1.674 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/5.904, allocations: 185.5 kB / 1.674 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/5.908, allocations: 0.5302 MB / 1.675 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/5.91, allocations: 2.323 MB / 1.677 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004433/5.915, allocations: 210.8 kB / 1.677 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009062/5.916, allocations: 183.4 kB / 1.677 GB, free: 18.18 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.001025/5.917, allocations: 300.8 kB / 1.678 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007394/5.918, allocations: 216.1 kB / 1.678 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/5.93, allocations: 3.703 MB / 1.681 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/5.93, allocations: 16 kB / 1.681 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/5.93, allocations: 6.688 kB / 1.681 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00678/5.937, allocations: 2.726 MB / 1.684 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/5.958, allocations: 6.584 MB / 1.691 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/5.958, allocations: 7.844 kB / 1.691 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00395/5.962, allocations: 430.5 kB / 1.691 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007385/5.962, allocations: 183.8 kB / 1.691 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005754/5.963, allocations: 93.88 kB / 1.691 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/5.966, allocations: 3.074 MB / 1.694 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/5.966, allocations: 7.938 kB / 1.694 GB, free: 18.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/5.977, allocations: 4.609 MB / 1.699 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/5.979, allocations: 0.543 MB / 1.699 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009884/5.981, allocations: 55.52 kB / 1.699 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003525/5.984, allocations: 133.1 kB / 1.699 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/5.985, allocations: 170.7 kB / 1.7 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005586/5.985, allocations: 160.3 kB / 1.7 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003114/5.989, allocations: 1.087 MB / 1.701 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/5.989, allocations: 3.938 kB / 1.701 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01081/5.999, allocations: 1.981 MB / 1.703 GB, free: 10.32 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.02265/6.022, allocations: 9.03 MB / 1.712 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01439/6.037, allocations: 4.254 MB / 1.716 GB, free: 14.23 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/6.037, allocations: 4.875 kB / 1.716 GB, free: 14.22 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.004209/6.041, allocations: 1.475 MB / 1.717 GB, free: 12.85 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009533/6.05, allocations: 0.9753 MB / 1.718 GB, free: 12.13 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/6.069, allocations: 5.011 MB / 1.723 GB, free: 7.711 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/6.071, allocations: 1.726 MB / 1.725 GB, free: 6.125 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01057/6.082, allocations: 1.543 MB / 1.726 GB, free: 4.676 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/6.085, allocations: 0.9522 MB / 1.727 GB, free: 3.723 MB / 0.5418 GB Notification: Performance of SimCode: time 1.413e-06/6.085, allocations: 4 kB / 1.727 GB, free: 3.719 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6623/6.748, allocations: 104.5 MB / 1.829 GB, free: 63.45 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/6.748, allocations: 237 kB / 1.829 GB, free: 63.14 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/14.36, allocations: 0 / 1.829 GB, free: 63.14 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat