Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.866/3.866, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.321e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6173/0.6173, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.783, allocations: 399.5 MB / 0.9798 GB, free: 10.42 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/1.784, allocations: 103 kB / 0.9799 GB, free: 10.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.373/5.156, allocations: 0.6281 GB / 1.608 GB, free: 21.6 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.705e-06/5.156, allocations: 0 / 1.608 GB, free: 21.6 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002516/5.157, allocations: 51.98 kB / 1.608 GB, free: 21.55 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005134/5.162, allocations: 1.79 MB / 1.61 GB, free: 19.71 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/5.162, allocations: 8.031 kB / 1.61 GB, free: 19.7 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004498/5.162, allocations: 169 kB / 1.61 GB, free: 19.52 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/5.163, allocations: 217.6 kB / 1.61 GB, free: 19.31 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/5.169, allocations: 1.804 MB / 1.612 GB, free: 17.45 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.44e-05/5.17, allocations: 90.23 kB / 1.612 GB, free: 17.36 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/5.17, allocations: 124 kB / 1.612 GB, free: 17.24 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004784/5.175, allocations: 1.364 MB / 1.613 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/5.175, allocations: 11.89 kB / 1.613 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/5.175, allocations: 44 kB / 1.614 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/5.175, allocations: 39.94 kB / 1.614 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/5.179, allocations: 0.9369 MB / 1.614 GB, free: 14.72 MB / 0.7605 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.01243/5.192, allocations: 6.772 MB / 1.621 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/5.194, allocations: 0.5626 MB / 1.622 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/5.195, allocations: 233.2 kB / 1.622 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/5.195, allocations: 182.5 kB / 1.622 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/5.195, allocations: 46.89 kB / 1.622 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 3.597e-06/5.195, allocations: 0 / 1.622 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46): time 0.01005/5.205, allocations: 2.534 MB / 1.625 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/5.206, allocations: 140.6 kB / 1.625 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/5.208, allocations: 1.257 MB / 1.626 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002779/5.208, allocations: 41.7 kB / 1.626 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007375/5.209, allocations: 0.7898 MB / 1.627 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/5.209, allocations: 165.7 kB / 1.627 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/5.209, allocations: 16 kB / 1.627 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/5.21, allocations: 341.9 kB / 1.627 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/5.21, allocations: 266 kB / 1.627 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009263/5.211, allocations: 0.6031 MB / 1.628 GB, free: 16 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/5.212, allocations: 374 kB / 1.628 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/5.212, allocations: 0 / 1.628 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002976/5.215, allocations: 1.018 MB / 1.629 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00159/5.217, allocations: 3.502 MB / 1.633 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/5.217, allocations: 8 kB / 1.633 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.641e-05/5.217, allocations: 16 kB / 1.633 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/5.22, allocations: 255.6 kB / 1.633 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.29e-05/5.22, allocations: 19.94 kB / 1.633 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/5.223, allocations: 159.7 kB / 1.633 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/5.223, allocations: 51.94 kB / 1.633 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/5.223, allocations: 4 kB / 1.633 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002268/5.225, allocations: 0.7799 MB / 1.634 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/5.225, allocations: 8 kB / 1.634 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/5.225, allocations: 16.09 kB / 1.634 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/5.227, allocations: 219.6 kB / 1.634 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/5.227, allocations: 23.92 kB / 1.634 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/5.229, allocations: 119.8 kB / 1.634 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/5.229, allocations: 51.92 kB / 1.635 GB, free: 9.078 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 115 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003996/5.23, allocations: 168.6 kB / 1.635 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/5.23, allocations: 162 kB / 1.635 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/5.233, allocations: 0.64 MB / 1.635 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/5.233, allocations: 4 kB / 1.635 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/5.233, allocations: 4 kB / 1.635 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/5.234, allocations: 0.7833 MB / 1.636 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005915/5.24, allocations: 2.2 MB / 1.638 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/5.24, allocations: 0 / 1.638 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/5.241, allocations: 147.8 kB / 1.639 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/5.242, allocations: 4 kB / 1.639 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/5.242, allocations: 20.02 kB / 1.639 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/5.242, allocations: 4 kB / 1.639 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/5.242, allocations: 0 / 1.639 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/5.244, allocations: 1.158 MB / 1.64 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/5.246, allocations: 311.1 kB / 1.64 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/5.246, allocations: 12 kB / 1.64 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/5.248, allocations: 111.8 kB / 1.64 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/5.248, allocations: 43.83 kB / 1.64 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-05/5.248, allocations: 35.91 kB / 1.64 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002297/5.25, allocations: 0.9594 MB / 1.641 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.92e-07/5.25, allocations: 0 / 1.641 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003583/5.254, allocations: 0.7186 MB / 1.642 GB, free: 1.336 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (valLin.port_3.h_outflow,valEquPerLin.port_3.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5843/5.838, allocations: 2.743 MB / 1.644 GB, free: 113.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003781/5.842, allocations: 1.114 MB / 1.646 GB, free: 113.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/5.842, allocations: 0.5469 kB / 1.646 GB, free: 113.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007546/5.843, allocations: 261 kB / 1.646 GB, free: 113.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007492/5.851, allocations: 0.8422 MB / 1.647 GB, free: 113.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/5.874, allocations: 3.162 MB / 1.65 GB, free: 112.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/5.876, allocations: 1.295 MB / 1.651 GB, free: 111.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003609/5.879, allocations: 472.9 kB / 1.651 GB, free: 111.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/5.881, allocations: 0.5957 MB / 1.652 GB, free: 111.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.553e-06/5.881, allocations: 2.844 kB / 1.652 GB, free: 111.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1667/6.047, allocations: 51.98 MB / 1.703 GB, free: 110.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/6.048, allocations: 203.7 kB / 1.703 GB, free: 110.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.062/11.11, allocations: 0 / 1.703 GB, free: 110.3 MB / 0.7761 GB