Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.161/2.161, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.404e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.435/2.557, allocations: 0.681 GB / 0.9953 GB, free: 93.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/2.558, allocations: 77.48 kB / 0.9954 GB, free: 93.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.119/5.676, allocations: 0.5492 GB / 1.545 GB, free: 33.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/5.676, allocations: 1.062 kB / 1.545 GB, free: 33.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003951/5.677, allocations: 57.3 kB / 1.545 GB, free: 33.77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01466/5.691, allocations: 3.008 MB / 1.548 GB, free: 32.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/5.692, allocations: 10.91 kB / 1.548 GB, free: 32.54 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/5.693, allocations: 244.7 kB / 1.548 GB, free: 32.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/5.697, allocations: 438.4 kB / 1.548 GB, free: 32.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00828/5.706, allocations: 1.925 MB / 1.55 GB, free: 31.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/5.706, allocations: 125.8 kB / 1.55 GB, free: 31.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009456/5.707, allocations: 162.8 kB / 1.55 GB, free: 31.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007317/5.714, allocations: 2.553 MB / 1.553 GB, free: 31.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.613e-05/5.714, allocations: 10.53 kB / 1.553 GB, free: 31.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/5.715, allocations: 70.66 kB / 1.553 GB, free: 31.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003035/5.715, allocations: 148.2 kB / 1.553 GB, free: 31.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006588/5.722, allocations: 2.141 MB / 1.555 GB, free: 31.49 MB / 458.7 MB 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.02435/5.746, allocations: 10.93 MB / 1.566 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/5.751, allocations: 1.73 MB / 1.568 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/5.754, allocations: 1.022 MB / 1.569 GB, free: 25.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/5.755, allocations: 471.7 kB / 1.569 GB, free: 25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003254/5.759, allocations: 1.126 MB / 1.57 GB, free: 24.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 8.136e-06/5.759, allocations: 0 / 1.57 GB, free: 24.88 MB / 458.7 MB 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=181): time 0.03791/5.797, allocations: 8.469 MB / 1.578 GB, free: 23.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/5.797, allocations: 260.3 kB / 1.579 GB, free: 23.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/5.8, allocations: 1.333 MB / 1.58 GB, free: 23.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007575/5.801, allocations: 67.14 kB / 1.58 GB, free: 23.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/5.802, allocations: 0.8719 MB / 1.581 GB, free: 22.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/5.803, allocations: 0.6096 MB / 1.581 GB, free: 22.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/5.803, allocations: 39.88 kB / 1.581 GB, free: 22.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/5.803, allocations: 386.7 kB / 1.582 GB, free: 22.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/5.806, allocations: 0.9828 MB / 1.583 GB, free: 22.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/5.81, allocations: 1.411 MB / 1.584 GB, free: 21.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/5.813, allocations: 1.252 MB / 1.585 GB, free: 21.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/5.813, allocations: 6.125 kB / 1.585 GB, free: 21.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.008857/5.822, allocations: 2.987 MB / 1.588 GB, free: 21.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001096/5.823, allocations: 4.292 MB / 1.593 GB, free: 16.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.181e-05/5.823, allocations: 10.12 kB / 1.593 GB, free: 16.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007874/5.824, allocations: 188.6 kB / 1.593 GB, free: 16.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004999/5.829, allocations: 0.5453 MB / 1.593 GB, free: 16.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/5.831, allocations: 2.324 MB / 1.596 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00493/5.836, allocations: 223 kB / 1.596 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009976/5.837, allocations: 186.1 kB / 1.596 GB, free: 14.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/5.837, allocations: 3.906 kB / 1.596 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007682/5.845, allocations: 2.715 MB / 1.599 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/5.845, allocations: 15.22 kB / 1.599 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/5.845, allocations: 196.5 kB / 1.599 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/5.85, allocations: 0.5322 MB / 1.599 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/5.852, allocations: 2.325 MB / 1.602 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004083/5.857, allocations: 214.8 kB / 1.602 GB, free: 28.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000842/5.857, allocations: 183.3 kB / 1.602 GB, free: 28.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 244 * 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.0009512/5.858, allocations: 295.1 kB / 1.602 GB, free: 28.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006999/5.859, allocations: 201.2 kB / 1.602 GB, free: 28.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/5.871, allocations: 3.483 MB / 1.606 GB, free: 27.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/5.871, allocations: 22 kB / 1.606 GB, free: 27.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/5.871, allocations: 0 / 1.606 GB, free: 27.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006732/5.878, allocations: 2.712 MB / 1.608 GB, free: 27.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01995/5.898, allocations: 6.844 MB / 1.615 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/5.898, allocations: 6.25 kB / 1.615 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00385/5.902, allocations: 443.7 kB / 1.616 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007104/5.902, allocations: 194.4 kB / 1.616 GB, free: 25.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005597/5.903, allocations: 99.55 kB / 1.616 GB, free: 25.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/5.906, allocations: 3.057 MB / 1.619 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/5.906, allocations: 7.875 kB / 1.619 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/5.916, allocations: 4.651 MB / 1.623 GB, free: 20.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/5.919, allocations: 0.5216 MB / 1.624 GB, free: 20.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008862/5.92, allocations: 67.23 kB / 1.624 GB, free: 20.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/5.923, allocations: 121.2 kB / 1.624 GB, free: 20.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007238/5.924, allocations: 176.2 kB / 1.624 GB, free: 20.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004589/5.924, allocations: 166 kB / 1.624 GB, free: 20.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002365/5.926, allocations: 1.011 MB / 1.625 GB, free: 20.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.42e-07/5.926, allocations: 0 / 1.625 GB, free: 20.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009848/5.936, allocations: 1.94 MB / 1.627 GB, free: 19.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 190 * 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.02041/5.957, allocations: 9.251 MB / 1.636 GB, free: 14.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01174/5.969, allocations: 4.16 MB / 1.64 GB, free: 11.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/5.969, allocations: 4 kB / 1.64 GB, free: 11.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003698/5.972, allocations: 1.465 MB / 1.642 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008115/5.98, allocations: 0.9141 MB / 1.643 GB, free: 9.711 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02699/6.008, allocations: 6.424 MB / 1.649 GB, free: 4.363 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/6.01, allocations: 1.713 MB / 1.651 GB, free: 2.973 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0108/6.02, allocations: 1.526 MB / 1.652 GB, free: 1.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003496/6.024, allocations: 0.9541 MB / 1.653 GB, free: 1.066 MB / 474.7 MB Notification: Performance of SimCode: time 1.312e-06/6.024, allocations: 0 / 1.653 GB, free: 1.066 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6526/6.677, allocations: 101.1 MB / 1.752 GB, free: 50.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/6.677, allocations: 238.5 kB / 1.752 GB, free: 50.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/14.2, allocations: 3.5 kB / 1.752 GB, free: 50.43 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat does not exist to compare? outputFormat=mat