Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.374/3.374, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.861e-05/4.859e-05, allocations: 4 kB / 436.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1825, allocations: 77.74 MB / 0.5023 GB, free: 4.48 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.544/1.727, allocations: 391.8 MB / 0.885 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/1.727, allocations: 100.1 kB / 0.8851 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.626/5.353, allocations: 0.643 GB / 1.528 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.226e-06/5.353, allocations: 0 / 1.528 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000373/5.353, allocations: 59.77 kB / 1.528 GB, free: 77.76 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00695/5.36, allocations: 1.758 MB / 1.53 GB, free: 77.25 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/5.36, allocations: 12.39 kB / 1.53 GB, free: 77.25 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005457/5.361, allocations: 152.7 kB / 1.53 GB, free: 77.21 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/5.362, allocations: 208.9 kB / 1.53 GB, free: 77.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006464/5.369, allocations: 1.602 MB / 1.532 GB, free: 76.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/5.369, allocations: 89.73 kB / 1.532 GB, free: 76.79 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/5.369, allocations: 113.1 kB / 1.532 GB, free: 76.79 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/5.372, allocations: 0.9902 MB / 1.533 GB, free: 76.67 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/5.372, allocations: 5.438 kB / 1.533 GB, free: 76.66 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/5.372, allocations: 38.98 kB / 1.533 GB, free: 76.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/5.373, allocations: 33.75 kB / 1.533 GB, free: 76.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/5.375, allocations: 0.6728 MB / 1.534 GB, free: 76.66 MB / 0.6667 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.0151/5.39, allocations: 5.293 MB / 1.539 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/5.391, allocations: 304.6 kB / 1.539 GB, free: 74.15 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007489/5.392, allocations: 218.2 kB / 1.539 GB, free: 74.14 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008725/5.393, allocations: 0.6642 MB / 1.54 GB, free: 73.39 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/5.393, allocations: 43.48 kB / 1.54 GB, free: 73.35 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 5.35e-06/5.393, allocations: 0 / 1.54 GB, free: 73.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.002512/5.396, allocations: 0.5014 MB / 1.541 GB, free: 73.23 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/5.396, allocations: 55.28 kB / 1.541 GB, free: 73.17 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/5.4, allocations: 1.254 MB / 1.542 GB, free: 73.01 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003217/5.401, allocations: 38.67 kB / 1.542 GB, free: 72.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/5.402, allocations: 0.7282 MB / 1.543 GB, free: 72.78 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/5.403, allocations: 151 kB / 1.543 GB, free: 72.71 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/5.403, allocations: 14.5 kB / 1.543 GB, free: 72.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001242/5.403, allocations: 339.9 kB / 1.543 GB, free: 72.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/5.404, allocations: 211.3 kB / 1.543 GB, free: 72.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/5.405, allocations: 495.8 kB / 1.544 GB, free: 72.09 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/5.406, allocations: 297.5 kB / 1.544 GB, free: 72.08 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/5.406, allocations: 0 / 1.544 GB, free: 72.08 MB / 0.6667 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003708/5.41, allocations: 0.7897 MB / 1.545 GB, free: 71.97 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000667/5.411, allocations: 2.073 MB / 1.547 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/5.411, allocations: 5.281 kB / 1.547 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.486e-05/5.411, allocations: 9.875 kB / 1.547 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/5.413, allocations: 178 kB / 1.547 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-05/5.413, allocations: 13.34 kB / 1.547 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/5.417, allocations: 178.8 kB / 1.547 GB, free: 69.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/5.417, allocations: 38.62 kB / 1.547 GB, free: 69.76 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/5.417, allocations: 6.094 kB / 1.547 GB, free: 69.76 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002791/5.42, allocations: 0.6255 MB / 1.548 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/5.42, allocations: 7.875 kB / 1.548 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/5.42, allocations: 10.64 kB / 1.548 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/5.422, allocations: 177.7 kB / 1.548 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.573e-05/5.422, allocations: 11.66 kB / 1.548 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/5.426, allocations: 162 kB / 1.548 GB, free: 69.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/5.426, allocations: 37.91 kB / 1.548 GB, free: 69.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * 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.0004197/5.427, allocations: 153.1 kB / 1.548 GB, free: 69.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007491/5.427, allocations: 148.1 kB / 1.548 GB, free: 69.54 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/5.43, allocations: 0.6284 MB / 1.549 GB, free: 69.47 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/5.43, allocations: 9.234 kB / 1.549 GB, free: 69.47 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/5.43, allocations: 0 / 1.549 GB, free: 69.47 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/5.432, allocations: 0.7436 MB / 1.55 GB, free: 69.02 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00757/5.44, allocations: 1.779 MB / 1.552 GB, free: 68.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/5.44, allocations: 1.281 kB / 1.552 GB, free: 68.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/5.441, allocations: 104 kB / 1.552 GB, free: 68.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.312e-05/5.441, allocations: 6.922 kB / 1.552 GB, free: 68.66 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/5.441, allocations: 14.02 kB / 1.552 GB, free: 68.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/5.441, allocations: 7.219 kB / 1.552 GB, free: 68.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/5.441, allocations: 0.9375 kB / 1.552 GB, free: 68.66 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/5.445, allocations: 0.9682 MB / 1.553 GB, free: 68.35 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/5.447, allocations: 317.4 kB / 1.553 GB, free: 68.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007102/5.447, allocations: 7.125 kB / 1.553 GB, free: 68.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/5.451, allocations: 114.6 kB / 1.553 GB, free: 68.17 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/5.451, allocations: 27.62 kB / 1.553 GB, free: 68.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/5.451, allocations: 30.2 kB / 1.553 GB, free: 68.17 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.004042/5.455, allocations: 0.9506 MB / 1.554 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.82e-07/5.455, allocations: 0.75 kB / 1.554 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004838/5.46, allocations: 0.7996 MB / 1.555 GB, free: 67.99 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004722/5.465, allocations: 2.353 MB / 1.557 GB, free: 66.87 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003167/5.468, allocations: 0.8959 MB / 1.558 GB, free: 66.85 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/5.468, allocations: 2.781 kB / 1.558 GB, free: 66.85 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/5.469, allocations: 225.6 kB / 1.558 GB, free: 66.84 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009718/5.479, allocations: 0.9711 MB / 1.559 GB, free: 66.82 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008535/5.487, allocations: 2.121 MB / 1.561 GB, free: 66.18 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009828/5.488, allocations: 1.278 MB / 1.562 GB, free: 65.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00332/5.492, allocations: 435.6 kB / 1.563 GB, free: 65.45 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/5.493, allocations: 0.551 MB / 1.563 GB, free: 65.44 MB / 0.6667 GB Notification: Performance of SimCode: time 1.363e-06/5.493, allocations: 0 / 1.563 GB, free: 65.44 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/5.65, allocations: 50.92 MB / 1.613 GB, free: 63.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/5.651, allocations: 216.8 kB / 1.613 GB, free: 63.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.006/10.66, allocations: 0 / 1.613 GB, free: 63.2 MB / 0.6667 GB