Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadModel(Buildings): time 3.581/3.581, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.583e-05, allocations: 4 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4836, allocations: 92.7 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9144/1.398, allocations: 399.5 MB / 0.9797 GB, free: 10.64 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.398, allocations: 98.19 kB / 0.9798 GB, free: 10.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.724/4.123, allocations: 0.6281 GB / 1.608 GB, free: 22.17 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.168e-06/4.123, allocations: 0 / 1.608 GB, free: 22.17 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001886/4.123, allocations: 47.98 kB / 1.608 GB, free: 22.12 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.004004/4.127, allocations: 1.794 MB / 1.61 GB, free: 20.28 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/4.127, allocations: 8.031 kB / 1.61 GB, free: 20.27 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/4.128, allocations: 221.5 kB / 1.61 GB, free: 20.05 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/4.133, allocations: 1.804 MB / 1.612 GB, free: 18.19 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/4.133, allocations: 94.23 kB / 1.612 GB, free: 18.1 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/4.133, allocations: 131.9 kB / 1.612 GB, free: 17.97 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/4.137, allocations: 1.344 MB / 1.613 GB, free: 16.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/4.137, allocations: 7.938 kB / 1.613 GB, free: 16.51 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/4.137, allocations: 47.98 kB / 1.613 GB, free: 16.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-05/4.137, allocations: 36 kB / 1.613 GB, free: 16.43 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/4.14, allocations: 0.9135 MB / 1.614 GB, free: 15.51 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.009018/4.149, allocations: 6.783 MB / 1.621 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/4.151, allocations: 0.5373 MB / 1.621 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/4.152, allocations: 241.5 kB / 1.622 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/4.152, allocations: 182.5 kB / 1.622 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/4.152, allocations: 46.81 kB / 1.622 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 3.76e-06/4.152, allocations: 0 / 1.622 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46): time 0.007801/4.16, allocations: 2.527 MB / 1.624 GB, free: 4.613 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/4.16, allocations: 132.5 kB / 1.624 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/4.162, allocations: 1.261 MB / 1.626 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/4.162, allocations: 41.7 kB / 1.626 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006286/4.163, allocations: 0.7977 MB / 1.626 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/4.163, allocations: 165.7 kB / 1.627 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/4.163, allocations: 16 kB / 1.627 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/4.163, allocations: 341.9 kB / 1.627 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/4.164, allocations: 266 kB / 1.627 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/4.165, allocations: 0.5933 MB / 1.628 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/4.165, allocations: 378 kB / 1.628 GB, free: 456 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.185e-06/4.165, allocations: 4 kB / 1.628 GB, free: 452 kB / 0.7605 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002438/4.168, allocations: 0.9832 MB / 1.629 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001838/4.17, allocations: 3.498 MB / 1.633 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/4.17, allocations: 12 kB / 1.633 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-05/4.17, allocations: 16 kB / 1.633 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/4.171, allocations: 255.6 kB / 1.633 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/4.171, allocations: 19.94 kB / 1.633 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/4.174, allocations: 163.6 kB / 1.633 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/4.174, allocations: 47.98 kB / 1.633 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/4.174, allocations: 7.953 kB / 1.633 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001902/4.176, allocations: 0.7641 MB / 1.634 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/4.176, allocations: 11.94 kB / 1.634 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/4.176, allocations: 16 kB / 1.634 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/4.177, allocations: 212.2 kB / 1.634 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/4.177, allocations: 27.92 kB / 1.634 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/4.179, allocations: 119.8 kB / 1.634 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/4.179, allocations: 47.98 kB / 1.634 GB, free: 9.926 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.0003238/4.179, allocations: 160.2 kB / 1.634 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/4.18, allocations: 165.9 kB / 1.634 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/4.181, allocations: 0.6439 MB / 1.635 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/4.182, allocations: 8 kB / 1.635 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.67e-06/4.182, allocations: 0 / 1.635 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/4.183, allocations: 0.7834 MB / 1.636 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/4.188, allocations: 2.184 MB / 1.638 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/4.188, allocations: 4 kB / 1.638 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/4.189, allocations: 156 kB / 1.638 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/4.189, allocations: 4 kB / 1.638 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/4.189, allocations: 15.98 kB / 1.638 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.548e-06/4.189, allocations: 4 kB / 1.638 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/4.189, allocations: 0 / 1.638 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/4.192, allocations: 1.158 MB / 1.639 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009855/4.193, allocations: 310.9 kB / 1.64 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/4.193, allocations: 12 kB / 1.64 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/4.194, allocations: 107.8 kB / 1.64 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/4.195, allocations: 39.91 kB / 1.64 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.262e-05/4.195, allocations: 31.97 kB / 1.64 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002082/4.197, allocations: 0.9554 MB / 1.641 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.955e-06/4.197, allocations: 4 kB / 1.641 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00331/4.2, allocations: 0.7265 MB / 1.641 GB, free: 2.195 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.001546/4.202, allocations: 0.736 MB / 1.642 GB, free: 1.488 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002696/4.204, allocations: 1.079 MB / 1.643 GB, free: 420 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.846e-06/4.204, allocations: 0.8125 kB / 1.643 GB, free: 420 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006576/4.205, allocations: 263.8 kB / 1.643 GB, free: 156 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4639/4.669, allocations: 0.8238 MB / 1.644 GB, free: 115 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/4.683, allocations: 2.819 MB / 1.647 GB, free: 114.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/4.684, allocations: 1.292 MB / 1.648 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003081/4.688, allocations: 471.7 kB / 1.649 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/4.688, allocations: 101.2 kB / 1.649 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.653e-06/4.688, allocations: 0 / 1.649 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.07948/4.767, allocations: 37.14 MB / 1.685 GB, free: 112.9 MB / 0.7761 GB