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.59/3.59, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.673e-05, allocations: 4 kB / 0.499 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4986, allocations: 92.68 MB / 0.5895 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9142/1.413, allocations: 399.5 MB / 0.9797 GB, free: 10.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.413, allocations: 96.56 kB / 0.9798 GB, free: 10.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.748/4.161, allocations: 0.6281 GB / 1.608 GB, free: 22.08 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.3e-06/4.161, allocations: 0 / 1.608 GB, free: 22.08 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001998/4.161, allocations: 47.98 kB / 1.608 GB, free: 22.04 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.003915/4.165, allocations: 1.783 MB / 1.61 GB, free: 20.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/4.165, allocations: 16.02 kB / 1.61 GB, free: 20.19 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/4.166, allocations: 217.5 kB / 1.61 GB, free: 19.97 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/4.171, allocations: 1.815 MB / 1.612 GB, free: 18.1 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/4.171, allocations: 90.23 kB / 1.612 GB, free: 18.01 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/4.172, allocations: 124 kB / 1.612 GB, free: 17.89 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/4.175, allocations: 1.36 MB / 1.613 GB, free: 16.42 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/4.175, allocations: 4 kB / 1.613 GB, free: 16.41 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/4.176, allocations: 51.94 kB / 1.613 GB, free: 16.36 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/4.176, allocations: 39.98 kB / 1.613 GB, free: 16.32 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/4.179, allocations: 0.9291 MB / 1.614 GB, free: 15.39 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.009444/4.188, allocations: 6.783 MB / 1.621 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/4.19, allocations: 0.5581 MB / 1.621 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/4.191, allocations: 233.5 kB / 1.622 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/4.191, allocations: 182.5 kB / 1.622 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/4.191, allocations: 38.89 kB / 1.622 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 5.371e-06/4.191, allocations: 0 / 1.622 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46): time 0.009372/4.201, allocations: 2.534 MB / 1.624 GB, free: 4.48 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/4.201, allocations: 140.5 kB / 1.624 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/4.203, allocations: 1.264 MB / 1.626 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/4.203, allocations: 37.7 kB / 1.626 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006275/4.204, allocations: 0.7859 MB / 1.626 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/4.204, allocations: 165.7 kB / 1.627 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/4.204, allocations: 16 kB / 1.627 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/4.204, allocations: 346 kB / 1.627 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/4.205, allocations: 270 kB / 1.627 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/4.206, allocations: 0.5992 MB / 1.628 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/4.206, allocations: 370 kB / 1.628 GB, free: 320 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.459e-06/4.206, allocations: 4 kB / 1.628 GB, free: 316 kB / 0.7605 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002601/4.209, allocations: 1.013 MB / 1.629 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001866/4.211, allocations: 3.505 MB / 1.633 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/4.211, allocations: 8 kB / 1.633 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.342e-05/4.211, allocations: 16 kB / 1.633 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/4.213, allocations: 251.7 kB / 1.633 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.522e-05/4.213, allocations: 23.92 kB / 1.633 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/4.215, allocations: 163.6 kB / 1.633 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/4.215, allocations: 43.98 kB / 1.633 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/4.215, allocations: 7.953 kB / 1.633 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001955/4.217, allocations: 0.7917 MB / 1.634 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/4.217, allocations: 8 kB / 1.634 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/4.217, allocations: 12 kB / 1.634 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/4.218, allocations: 215.6 kB / 1.634 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/4.218, allocations: 15.94 kB / 1.634 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/4.22, allocations: 127.8 kB / 1.634 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/4.22, allocations: 51.92 kB / 1.634 GB, free: 9.738 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.000345/4.221, allocations: 164.6 kB / 1.634 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/4.221, allocations: 158 kB / 1.635 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/4.223, allocations: 0.6478 MB / 1.635 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/4.223, allocations: 4 kB / 1.635 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.653e-06/4.223, allocations: 8 kB / 1.635 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/4.224, allocations: 0.7833 MB / 1.636 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/4.23, allocations: 2.184 MB / 1.638 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/4.23, allocations: 4 kB / 1.638 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/4.231, allocations: 152 kB / 1.638 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/4.231, allocations: 4 kB / 1.638 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/4.231, allocations: 19.98 kB / 1.638 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.757e-06/4.231, allocations: 4 kB / 1.638 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.322e-06/4.231, allocations: 0 / 1.638 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/4.234, allocations: 1.162 MB / 1.639 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009757/4.235, allocations: 310.9 kB / 1.64 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/4.235, allocations: 8 kB / 1.64 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/4.236, allocations: 107.8 kB / 1.64 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/4.237, allocations: 43.83 kB / 1.64 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.722e-05/4.237, allocations: 23.98 kB / 1.64 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002106/4.239, allocations: 0.9594 MB / 1.641 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.175e-06/4.239, allocations: 0 / 1.641 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003269/4.242, allocations: 0.7304 MB / 1.642 GB, free: 2.004 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.001542/4.244, allocations: 0.6956 MB / 1.642 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002785/4.246, allocations: 1.121 MB / 1.643 GB, free: 192 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.621e-06/4.246, allocations: 3.938 kB / 1.643 GB, free: 188 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.4822/4.729, allocations: 257.6 kB / 1.644 GB, free: 115 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/4.734, allocations: 0.8467 MB / 1.644 GB, free: 115 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/4.749, allocations: 2.818 MB / 1.647 GB, free: 114.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/4.75, allocations: 1.291 MB / 1.648 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003225/4.754, allocations: 475.5 kB / 1.649 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/4.754, allocations: 100 kB / 1.649 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.708e-06/4.754, allocations: 1.094 kB / 1.649 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.07803/4.832, allocations: 37.19 MB / 1.685 GB, free: 112.9 MB / 0.7761 GB