Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadModel(BuildingSystems): time 2.952/2.952, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.813e-05, allocations: 7.984 kB / 436.6 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 77.73 MB / 0.5023 GB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.448, allocations: 366.2 MB / 0.8599 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.448, allocations: 95 kB / 0.86 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.539/2.987, allocations: 348.5 MB / 1.2 GB, free: 102.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.7e-06/2.988, allocations: 0 / 1.2 GB, free: 102.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001217/2.988, allocations: 31.98 kB / 1.2 GB, free: 102.2 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003204/2.991, allocations: 1.141 MB / 1.201 GB, free: 101.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/2.991, allocations: 8.031 kB / 1.201 GB, free: 101.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/2.991, allocations: 118.7 kB / 1.202 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/2.994, allocations: 0.6607 MB / 1.202 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.606e-05/2.994, allocations: 57 kB / 1.202 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/2.994, allocations: 92 kB / 1.202 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/2.996, allocations: 496.5 kB / 1.203 GB, free: 99.58 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/2.996, allocations: 7.938 kB / 1.203 GB, free: 99.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/2.996, allocations: 19.98 kB / 1.203 GB, free: 99.55 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/2.996, allocations: 15.95 kB / 1.203 GB, free: 99.54 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/2.997, allocations: 333.9 kB / 1.203 GB, free: 99.21 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.006134/3.004, allocations: 2.49 MB / 1.206 GB, free: 96.58 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/3.004, allocations: 240.4 kB / 1.206 GB, free: 96.34 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/3.004, allocations: 112.8 kB / 1.206 GB, free: 96.22 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/3.005, allocations: 344.4 kB / 1.206 GB, free: 95.81 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/3.005, allocations: 42.5 kB / 1.206 GB, free: 95.76 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=29): time 3.609e-06/3.005, allocations: 3.938 kB / 1.206 GB, free: 95.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29): time 0.001118/3.006, allocations: 333.2 kB / 1.207 GB, free: 95.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/3.006, allocations: 55.41 kB / 1.207 GB, free: 95.36 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/3.007, allocations: 0.6335 MB / 1.207 GB, free: 94.72 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/3.007, allocations: 49.7 kB / 1.207 GB, free: 94.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/3.007, allocations: 426.7 kB / 1.208 GB, free: 94.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/3.007, allocations: 102.5 kB / 1.208 GB, free: 94.13 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/3.007, allocations: 8 kB / 1.208 GB, free: 94.12 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.117e-05/3.007, allocations: 333.9 kB / 1.208 GB, free: 93.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/3.008, allocations: 129.1 kB / 1.208 GB, free: 93.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/3.009, allocations: 0.7652 MB / 1.209 GB, free: 92.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/3.009, allocations: 213.4 kB / 1.209 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.004e-06/3.009, allocations: 3.938 kB / 1.209 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001096/3.01, allocations: 0.4989 MB / 1.21 GB, free: 91.96 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/3.01, allocations: 0.8017 MB / 1.211 GB, free: 91.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.617e-06/3.01, allocations: 0 / 1.211 GB, free: 91.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/3.01, allocations: 4 kB / 1.211 GB, free: 91.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/3.012, allocations: 175.7 kB / 1.211 GB, free: 90.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/3.013, allocations: 2.364 MB / 1.213 GB, free: 88.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/3.015, allocations: 391.9 kB / 1.213 GB, free: 88.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/3.015, allocations: 27.92 kB / 1.213 GB, free: 88.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/3.015, allocations: 4 kB / 1.213 GB, free: 88.05 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008702/3.016, allocations: 386.2 kB / 1.214 GB, free: 87.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.599e-06/3.016, allocations: 4.188 kB / 1.214 GB, free: 87.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/3.016, allocations: 4 kB / 1.214 GB, free: 87.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/3.017, allocations: 139.8 kB / 1.214 GB, free: 87.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.449e-06/3.017, allocations: 4 kB / 1.214 GB, free: 87.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/3.019, allocations: 387.8 kB / 1.214 GB, free: 87.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/3.019, allocations: 27.98 kB / 1.214 GB, free: 87.12 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001904/3.019, allocations: 150.7 kB / 1.215 GB, free: 86.97 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/3.019, allocations: 75.06 kB / 1.215 GB, free: 86.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/3.02, allocations: 438 kB / 1.215 GB, free: 86.46 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/3.02, allocations: 4 kB / 1.215 GB, free: 86.45 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.498e-06/3.02, allocations: 0 / 1.215 GB, free: 86.45 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.992e-06/3.02, allocations: 3.984 kB / 1.215 GB, free: 86.45 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/3.022, allocations: 1.079 MB / 1.216 GB, free: 85.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.333e-06/3.022, allocations: 0 / 1.216 GB, free: 85.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/3.023, allocations: 111.8 kB / 1.216 GB, free: 85.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/3.023, allocations: 7.984 kB / 1.216 GB, free: 85.19 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/3.023, allocations: 12.12 kB / 1.216 GB, free: 85.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008339/3.024, allocations: 2.352 MB / 1.218 GB, free: 82.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.245e-06/3.024, allocations: 4.031 kB / 1.218 GB, free: 82.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/3.024, allocations: 0.5237 MB / 1.219 GB, free: 82.15 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/3.025, allocations: 196.1 kB / 1.219 GB, free: 81.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/3.025, allocations: 11.98 kB / 1.219 GB, free: 81.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/3.026, allocations: 59.8 kB / 1.219 GB, free: 81.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/3.026, allocations: 31.95 kB / 1.219 GB, free: 81.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/3.026, allocations: 16 kB / 1.219 GB, free: 81.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006948/3.026, allocations: 499.1 kB / 1.22 GB, free: 81.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.91e-07/3.026, allocations: 0 / 1.22 GB, free: 81.34 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001632/3.028, allocations: 0.4993 MB / 1.22 GB, free: 80.84 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008714/3.029, allocations: 483.6 kB / 1.221 GB, free: 80.36 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001864/3.031, allocations: 0.6365 MB / 1.221 GB, free: 79.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.573e-06/3.031, allocations: 0 / 1.221 GB, free: 79.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005266/3.031, allocations: 180.8 kB / 1.222 GB, free: 79.55 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/3.034, allocations: 413.8 kB / 1.222 GB, free: 79.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/3.036, allocations: 0.8806 MB / 1.223 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/3.036, allocations: 0.9837 MB / 1.224 GB, free: 77.21 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001246/3.037, allocations: 213.8 kB / 1.224 GB, free: 77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/3.038, allocations: 59.42 kB / 1.224 GB, free: 76.94 MB / 0.6667 GB Notification: Performance of SimCode: time 1.561e-06/3.038, allocations: 0 / 1.224 GB, free: 76.94 MB / 0.6667 GB Notification: Performance of Templates: time 0.04442/3.082, allocations: 22.04 MB / 1.246 GB, free: 55.15 MB / 0.6667 GB