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.956/3.956, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.655e-05/4.673e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.6408, allocations: 92.69 MB / 0.5897 GB, free: 14.34 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.796, allocations: 399.5 MB / 0.9798 GB, free: 6.324 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/1.797, allocations: 97.5 kB / 0.9799 GB, free: 6.273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216/5.012, allocations: 0.6281 GB / 1.608 GB, free: 63.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.974e-06/5.013, allocations: 0 / 1.608 GB, free: 63.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002598/5.013, allocations: 51.98 kB / 1.608 GB, free: 63.72 MB / 0.7761 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.005716/5.019, allocations: 1.788 MB / 1.61 GB, free: 61.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/5.019, allocations: 12.03 kB / 1.61 GB, free: 61.87 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005728/5.019, allocations: 165 kB / 1.61 GB, free: 61.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/5.021, allocations: 213.6 kB / 1.61 GB, free: 61.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/5.027, allocations: 1.819 MB / 1.612 GB, free: 59.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.554e-05/5.027, allocations: 90.23 kB / 1.612 GB, free: 59.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/5.028, allocations: 124 kB / 1.612 GB, free: 59.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004534/5.032, allocations: 1.344 MB / 1.613 GB, free: 57.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/5.032, allocations: 11.84 kB / 1.613 GB, free: 57.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/5.032, allocations: 48 kB / 1.614 GB, free: 57.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/5.032, allocations: 40 kB / 1.614 GB, free: 57.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00383/5.036, allocations: 0.9174 MB / 1.614 GB, free: 56.93 MB / 0.7761 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.01148/5.048, allocations: 6.772 MB / 1.621 GB, free: 49.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/5.05, allocations: 0.5412 MB / 1.622 GB, free: 49.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/5.051, allocations: 240.8 kB / 1.622 GB, free: 48.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/5.051, allocations: 182.5 kB / 1.622 GB, free: 48.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/5.051, allocations: 46.77 kB / 1.622 GB, free: 48.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=42): time 2.935e-06/5.051, allocations: 0 / 1.622 GB, free: 48.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46): time 0.01003/5.061, allocations: 2.534 MB / 1.625 GB, free: 46.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/5.061, allocations: 132.5 kB / 1.625 GB, free: 45.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/5.064, allocations: 1.265 MB / 1.626 GB, free: 44.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/5.064, allocations: 41.7 kB / 1.626 GB, free: 44.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007059/5.065, allocations: 0.7937 MB / 1.627 GB, free: 43.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/5.065, allocations: 161.7 kB / 1.627 GB, free: 43.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.797e-05/5.065, allocations: 20 kB / 1.627 GB, free: 43.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/5.065, allocations: 345.9 kB / 1.627 GB, free: 43.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/5.066, allocations: 266 kB / 1.627 GB, free: 42.97 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/5.067, allocations: 0.5934 MB / 1.628 GB, free: 42.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/5.068, allocations: 369.8 kB / 1.628 GB, free: 41.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/5.068, allocations: 4 kB / 1.628 GB, free: 41.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002744/5.07, allocations: 0.9946 MB / 1.629 GB, free: 40.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000825/5.071, allocations: 3.506 MB / 1.633 GB, free: 37.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/5.071, allocations: 8 kB / 1.633 GB, free: 37.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.145e-05/5.071, allocations: 16 kB / 1.633 GB, free: 37.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/5.074, allocations: 255.6 kB / 1.633 GB, free: 36.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.594e-05/5.074, allocations: 27.92 kB / 1.633 GB, free: 36.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/5.077, allocations: 151.7 kB / 1.633 GB, free: 36.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/5.077, allocations: 55.92 kB / 1.633 GB, free: 36.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/5.077, allocations: 8 kB / 1.633 GB, free: 36.53 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001932/5.079, allocations: 0.7482 MB / 1.634 GB, free: 35.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/5.079, allocations: 8 kB / 1.634 GB, free: 35.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/5.079, allocations: 16 kB / 1.634 GB, free: 35.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/5.081, allocations: 224.4 kB / 1.634 GB, free: 35.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/5.081, allocations: 16 kB / 1.634 GB, free: 35.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/5.083, allocations: 127.7 kB / 1.634 GB, free: 35.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/5.083, allocations: 44 kB / 1.634 GB, free: 35.35 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.0003312/5.083, allocations: 152.7 kB / 1.635 GB, free: 35.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/5.084, allocations: 165.9 kB / 1.635 GB, free: 35.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/5.086, allocations: 0.6478 MB / 1.635 GB, free: 34.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/5.086, allocations: 8 kB / 1.635 GB, free: 34.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/5.086, allocations: 3.984 kB / 1.635 GB, free: 34.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/5.087, allocations: 0.7756 MB / 1.636 GB, free: 33.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/5.092, allocations: 2.18 MB / 1.638 GB, free: 31.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/5.092, allocations: 4 kB / 1.638 GB, free: 31.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/5.093, allocations: 160 kB / 1.638 GB, free: 31.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/5.093, allocations: 4 kB / 1.638 GB, free: 31.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/5.093, allocations: 15.98 kB / 1.638 GB, free: 31.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.036e-06/5.093, allocations: 11.94 kB / 1.638 GB, free: 31.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.093, allocations: 4 kB / 1.638 GB, free: 31.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/5.095, allocations: 1.158 MB / 1.64 GB, free: 29.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007825/5.096, allocations: 307 kB / 1.64 GB, free: 29.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/5.096, allocations: 12 kB / 1.64 GB, free: 29.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/5.098, allocations: 107.8 kB / 1.64 GB, free: 29.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/5.098, allocations: 43.89 kB / 1.64 GB, free: 29.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/5.098, allocations: 31.98 kB / 1.64 GB, free: 29.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001806/5.1, allocations: 0.9515 MB / 1.641 GB, free: 28.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.01e-07/5.1, allocations: 4 kB / 1.641 GB, free: 28.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002996/5.103, allocations: 0.7263 MB / 1.642 GB, free: 27.61 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.003729/5.107, allocations: 2.776 MB / 1.644 GB, free: 24.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002616/5.11, allocations: 1.084 MB / 1.645 GB, free: 23.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/5.11, allocations: 0 / 1.645 GB, free: 23.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005903/5.11, allocations: 252.6 kB / 1.646 GB, free: 23.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006249/5.117, allocations: 0.8518 MB / 1.647 GB, free: 22.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/5.139, allocations: 3.158 MB / 1.65 GB, free: 19.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/5.14, allocations: 1.295 MB / 1.651 GB, free: 18.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003352/5.143, allocations: 472.6 kB / 1.651 GB, free: 17.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/5.145, allocations: 0.593 MB / 1.652 GB, free: 17 MB / 0.7761 GB Notification: Performance of SimCode: time 1.573e-06/5.145, allocations: 0 / 1.652 GB, free: 17 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7193/5.864, allocations: 51.91 MB / 1.703 GB, free: 113.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/5.865, allocations: 201.8 kB / 1.703 GB, free: 113 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.972/10.84, allocations: 3.281 kB / 1.703 GB, free: 113 MB / 0.7761 GB