Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadModel(Buildings): time 4.073/4.073, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.498e-05, allocations: 4 kB / 0.5731 GB, free: 5.727 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1994, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.324, allocations: 424.8 MB / 1.093 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.324, allocations: 99.31 kB / 1.093 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.4/5.724, allocations: 0.9446 GB / 2.037 GB, free: 80.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.058e-06/5.724, allocations: 0 / 2.037 GB, free: 80.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004984/5.725, allocations: 83.86 kB / 2.037 GB, free: 80.14 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008979/5.734, allocations: 2.528 MB / 2.04 GB, free: 77.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/5.734, allocations: 8.031 kB / 2.04 GB, free: 77.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/5.736, allocations: 324.8 kB / 2.04 GB, free: 77.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/5.747, allocations: 2.408 MB / 2.043 GB, free: 74.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/5.747, allocations: 131 kB / 2.043 GB, free: 74.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/5.748, allocations: 174.8 kB / 2.043 GB, free: 74.47 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005653/5.753, allocations: 1.495 MB / 2.044 GB, free: 72.91 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.051e-05/5.754, allocations: 0 / 2.044 GB, free: 72.91 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/5.754, allocations: 68 kB / 2.044 GB, free: 72.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.688e-05/5.754, allocations: 39.98 kB / 2.044 GB, free: 72.81 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/5.759, allocations: 1.033 MB / 2.045 GB, free: 71.77 MB / 0.8855 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.02275/5.781, allocations: 7.959 MB / 2.053 GB, free: 63.33 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/5.783, allocations: 436.8 kB / 2.054 GB, free: 62.89 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009612/5.784, allocations: 316.6 kB / 2.054 GB, free: 62.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/5.785, allocations: 0.7563 MB / 2.055 GB, free: 61.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/5.785, allocations: 43.12 kB / 2.055 GB, free: 61.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 7.103e-06/5.785, allocations: 0 / 2.055 GB, free: 61.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.003139/5.788, allocations: 0.7306 MB / 2.055 GB, free: 60.87 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/5.788, allocations: 59.97 kB / 2.055 GB, free: 60.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006064/5.794, allocations: 2.011 MB / 2.057 GB, free: 58.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/5.795, allocations: 49.7 kB / 2.057 GB, free: 58.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001514/5.796, allocations: 1.151 MB / 2.059 GB, free: 57.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/5.797, allocations: 209 kB / 2.059 GB, free: 57.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/5.797, allocations: 27.94 kB / 2.059 GB, free: 57.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001318/5.797, allocations: 353.9 kB / 2.059 GB, free: 56.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/5.798, allocations: 314.6 kB / 2.059 GB, free: 56.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/5.8, allocations: 0.7662 MB / 2.06 GB, free: 55.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/5.802, allocations: 456.8 kB / 2.061 GB, free: 55.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/5.802, allocations: 4 kB / 2.061 GB, free: 55.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004596/5.806, allocations: 1.184 MB / 2.062 GB, free: 54.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007648/5.807, allocations: 3.197 MB / 2.065 GB, free: 50.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/5.807, allocations: 8 kB / 2.065 GB, free: 50.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.017e-05/5.807, allocations: 16 kB / 2.065 GB, free: 50.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/5.81, allocations: 263.6 kB / 2.065 GB, free: 50.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.992e-05/5.81, allocations: 19.92 kB / 2.065 GB, free: 50.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/5.813, allocations: 270 kB / 2.065 GB, free: 50.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/5.813, allocations: 59.98 kB / 2.066 GB, free: 49.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/5.813, allocations: 4 kB / 2.066 GB, free: 49.97 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001965/5.815, allocations: 0.9318 MB / 2.066 GB, free: 49.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/5.815, allocations: 15.94 kB / 2.066 GB, free: 49.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/5.815, allocations: 12 kB / 2.066 GB, free: 49.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/5.816, allocations: 252.2 kB / 2.067 GB, free: 48.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/5.816, allocations: 23.92 kB / 2.067 GB, free: 48.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/5.819, allocations: 246.4 kB / 2.067 GB, free: 48.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/5.819, allocations: 51.98 kB / 2.067 GB, free: 48.45 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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.0002692/5.819, allocations: 165 kB / 2.067 GB, free: 48.28 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/5.82, allocations: 229.1 kB / 2.067 GB, free: 48.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/5.821, allocations: 0.8877 MB / 2.068 GB, free: 47.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/5.822, allocations: 12 kB / 2.068 GB, free: 47.13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.1e-06/5.822, allocations: 3.938 kB / 2.068 GB, free: 47.13 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/5.823, allocations: 0.6736 MB / 2.069 GB, free: 46.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/5.828, allocations: 2.604 MB / 2.071 GB, free: 43.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.455e-06/5.828, allocations: 7.984 kB / 2.071 GB, free: 43.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/5.829, allocations: 151.6 kB / 2.072 GB, free: 43.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/5.829, allocations: 7.438 kB / 2.072 GB, free: 43.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/5.829, allocations: 19.98 kB / 2.072 GB, free: 43.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.94e-06/5.829, allocations: 0 / 2.072 GB, free: 43.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.475e-06/5.829, allocations: 4 kB / 2.072 GB, free: 43.58 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/5.831, allocations: 1.333 MB / 2.073 GB, free: 42.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/5.832, allocations: 461.7 kB / 2.073 GB, free: 41.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/5.832, allocations: 12 kB / 2.073 GB, free: 41.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/5.834, allocations: 163.6 kB / 2.074 GB, free: 41.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/5.834, allocations: 48.5 kB / 2.074 GB, free: 41.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/5.834, allocations: 31.97 kB / 2.074 GB, free: 41.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003003/5.837, allocations: 1.532 MB / 2.075 GB, free: 39.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.031e-06/5.837, allocations: 0 / 2.075 GB, free: 39.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004538/5.842, allocations: 1.201 MB / 2.076 GB, free: 38.74 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.002834/5.845, allocations: 1.29 MB / 2.078 GB, free: 37.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002853/5.848, allocations: 1.345 MB / 2.079 GB, free: 36.31 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.952e-06/5.848, allocations: 0 / 2.079 GB, free: 36.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005878/5.848, allocations: 320.2 kB / 2.079 GB, free: 36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008416/5.857, allocations: 1.504 MB / 2.081 GB, free: 34.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/5.863, allocations: 2.836 MB / 2.083 GB, free: 31.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/5.864, allocations: 1.638 MB / 2.085 GB, free: 30.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00408/5.868, allocations: 0.6984 MB / 2.086 GB, free: 29.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/5.869, allocations: 139.4 kB / 2.086 GB, free: 29.23 MB / 0.8855 GB Notification: Performance of SimCode: time 1.97e-06/5.869, allocations: 0 / 2.086 GB, free: 29.23 MB / 0.8855 GB Notification: Performance of Templates: time 0.7414/6.61, allocations: 56.82 MB / 2.141 GB, free: 112.5 MB / 0.9011 GB