Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadModel(BuildingSystems): time 3.062/3.062, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.659e-05, allocations: 4 kB / 436.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 77.73 MB / 0.5022 GB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.328, allocations: 391.8 MB / 0.8849 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.328, allocations: 93.02 kB / 0.885 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.116/4.444, allocations: 0.643 GB / 1.528 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.368e-06/4.444, allocations: 0 / 1.528 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002846/4.444, allocations: 51.94 kB / 1.528 GB, free: 78.11 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.004961/4.449, allocations: 1.764 MB / 1.53 GB, free: 77.61 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/4.449, allocations: 9.688 kB / 1.53 GB, free: 77.61 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/4.45, allocations: 211 kB / 1.53 GB, free: 77.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00486/4.455, allocations: 1.599 MB / 1.532 GB, free: 77.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/4.455, allocations: 84.25 kB / 1.532 GB, free: 77.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/4.456, allocations: 112.5 kB / 1.532 GB, free: 77.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/4.458, allocations: 0.9923 MB / 1.533 GB, free: 77.07 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/4.458, allocations: 1.188 kB / 1.533 GB, free: 77.07 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/4.459, allocations: 40.77 kB / 1.533 GB, free: 77.07 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/4.459, allocations: 35.98 kB / 1.533 GB, free: 77.06 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/4.461, allocations: 0.6697 MB / 1.533 GB, free: 77.06 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.01079/4.471, allocations: 5.3 MB / 1.539 GB, free: 74.58 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007425/4.472, allocations: 300.7 kB / 1.539 GB, free: 74.55 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/4.473, allocations: 219.9 kB / 1.539 GB, free: 74.54 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/4.473, allocations: 0.6678 MB / 1.54 GB, free: 73.79 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/4.473, allocations: 41.72 kB / 1.54 GB, free: 73.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 4.123e-06/4.473, allocations: 0 / 1.54 GB, free: 73.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.001518/4.475, allocations: 0.5073 MB / 1.54 GB, free: 73.64 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/4.475, allocations: 58.69 kB / 1.54 GB, free: 73.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/4.478, allocations: 1.245 MB / 1.542 GB, free: 73.41 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/4.478, allocations: 42.45 kB / 1.542 GB, free: 73.38 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008019/4.479, allocations: 0.7272 MB / 1.542 GB, free: 73.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/4.479, allocations: 145.9 kB / 1.542 GB, free: 73.11 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/4.479, allocations: 17.28 kB / 1.542 GB, free: 73.11 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/4.479, allocations: 335.1 kB / 1.543 GB, free: 72.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/4.48, allocations: 211.3 kB / 1.543 GB, free: 72.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/4.481, allocations: 486.4 kB / 1.543 GB, free: 72.49 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/4.481, allocations: 295.8 kB / 1.544 GB, free: 72.49 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.588e-06/4.481, allocations: 1.438 kB / 1.544 GB, free: 72.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002341/4.484, allocations: 0.7966 MB / 1.544 GB, free: 72.38 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004482/4.484, allocations: 2.075 MB / 1.547 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/4.484, allocations: 8.906 kB / 1.547 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/4.484, allocations: 9.938 kB / 1.547 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/4.485, allocations: 174.5 kB / 1.547 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/4.485, allocations: 13 kB / 1.547 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/4.488, allocations: 184.7 kB / 1.547 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/4.488, allocations: 40.52 kB / 1.547 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/4.488, allocations: 4.531 kB / 1.547 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001677/4.49, allocations: 0.6259 MB / 1.548 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/4.49, allocations: 6.312 kB / 1.548 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/4.49, allocations: 11.16 kB / 1.548 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009669/4.491, allocations: 172.7 kB / 1.548 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/4.491, allocations: 12.75 kB / 1.548 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/4.493, allocations: 165.5 kB / 1.548 GB, free: 70.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/4.493, allocations: 40.77 kB / 1.548 GB, free: 70.13 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.0002697/4.493, allocations: 151.5 kB / 1.548 GB, free: 70.02 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/4.494, allocations: 148.5 kB / 1.548 GB, free: 69.94 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/4.495, allocations: 0.6203 MB / 1.549 GB, free: 69.88 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/4.495, allocations: 6.984 kB / 1.549 GB, free: 69.88 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/4.495, allocations: 1.219 kB / 1.549 GB, free: 69.88 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009848/4.496, allocations: 0.7394 MB / 1.55 GB, free: 69.43 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/4.501, allocations: 1.788 MB / 1.551 GB, free: 69.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.743e-06/4.501, allocations: 3.812 kB / 1.551 GB, free: 69.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/4.502, allocations: 106.3 kB / 1.551 GB, free: 69.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/4.502, allocations: 3.344 kB / 1.551 GB, free: 69.07 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/4.502, allocations: 19.94 kB / 1.551 GB, free: 69.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.976e-06/4.502, allocations: 2.406 kB / 1.551 GB, free: 69.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.705e-06/4.502, allocations: 1.938 kB / 1.551 GB, free: 69.06 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/4.504, allocations: 0.9632 MB / 1.552 GB, free: 68.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/4.505, allocations: 318.8 kB / 1.553 GB, free: 68.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/4.505, allocations: 7.156 kB / 1.553 GB, free: 68.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/4.507, allocations: 111.5 kB / 1.553 GB, free: 68.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/4.507, allocations: 35.41 kB / 1.553 GB, free: 68.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/4.507, allocations: 16.97 kB / 1.553 GB, free: 68.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002104/4.509, allocations: 0.9554 MB / 1.554 GB, free: 68.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.149e-06/4.509, allocations: 0 / 1.554 GB, free: 68.45 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003963/4.513, allocations: 0.7998 MB / 1.555 GB, free: 68.38 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.001725/4.515, allocations: 0.7604 MB / 1.555 GB, free: 68.17 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002368/4.517, allocations: 0.9005 MB / 1.556 GB, free: 68.15 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.671e-06/4.517, allocations: 1.5 kB / 1.556 GB, free: 68.15 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/4.518, allocations: 222.4 kB / 1.556 GB, free: 68.15 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/4.524, allocations: 0.956 MB / 1.557 GB, free: 68.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/4.529, allocations: 1.791 MB / 1.559 GB, free: 67.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/4.53, allocations: 1.284 MB / 1.56 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002936/4.533, allocations: 432 kB / 1.561 GB, free: 66.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/4.533, allocations: 95.81 kB / 1.561 GB, free: 66.85 MB / 0.6667 GB Notification: Performance of SimCode: time 2.434e-06/4.533, allocations: 0 / 1.561 GB, free: 66.85 MB / 0.6667 GB Notification: Performance of Templates: time 0.08075/4.614, allocations: 36.52 MB / 1.596 GB, free: 65.31 MB / 0.6667 GB