Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadModel(Buildings): time 3.527/3.527, allocations: 402 MB / 415.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.856e-05, allocations: 4 kB / 0.5003 GB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1643, allocations: 92.69 MB / 0.5909 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.386/1.55, allocations: 374.9 MB / 0.957 GB, free: 188.1 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.55, allocations: 96.62 kB / 0.9571 GB, free: 188.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.275/2.825, allocations: 281.1 MB / 1.232 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.552e-06/2.825, allocations: 0 / 1.232 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.875e-05/2.825, allocations: 22.48 kB / 1.232 GB, free: 201.9 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001726/2.827, allocations: 1.018 MB / 1.233 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/2.827, allocations: 7.938 kB / 1.233 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/2.828, allocations: 157.3 kB / 1.233 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/2.829, allocations: 0.567 MB / 1.233 GB, free: 201 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/2.829, allocations: 44.06 kB / 1.233 GB, free: 201 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/2.829, allocations: 54.09 kB / 1.233 GB, free: 201 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/2.833, allocations: 0.9019 MB / 1.234 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/2.833, allocations: 4.594 kB / 1.234 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/2.833, allocations: 22.81 kB / 1.234 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/2.833, allocations: 15.55 kB / 1.234 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/2.837, allocations: 0.7014 MB / 1.235 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/2.842, allocations: 3.182 MB / 1.238 GB, free: 198.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/2.845, allocations: 0.5605 MB / 1.239 GB, free: 198.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/2.845, allocations: 106.7 kB / 1.239 GB, free: 198.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/2.845, allocations: 38.91 kB / 1.239 GB, free: 198.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 3.377e-06/2.845, allocations: 5.031 kB / 1.239 GB, free: 198.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.006419/2.852, allocations: 0.9743 MB / 1.24 GB, free: 198.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/2.852, allocations: 158.1 kB / 1.24 GB, free: 198.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009031/2.853, allocations: 0.6056 MB / 1.241 GB, free: 198.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/2.853, allocations: 35.23 kB / 1.241 GB, free: 198 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/2.853, allocations: 384.9 kB / 1.241 GB, free: 197.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/2.853, allocations: 86.69 kB / 1.241 GB, free: 197.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/2.853, allocations: 9.375 kB / 1.241 GB, free: 197.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001092/2.853, allocations: 378.9 kB / 1.241 GB, free: 197.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/2.854, allocations: 250.3 kB / 1.242 GB, free: 197.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/2.856, allocations: 454.1 kB / 1.242 GB, free: 197.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/2.857, allocations: 283.5 kB / 1.242 GB, free: 197.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/2.857, allocations: 3.938 kB / 1.242 GB, free: 197.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00274/2.859, allocations: 0.7496 MB / 1.243 GB, free: 197.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003614/2.86, allocations: 1.833 MB / 1.245 GB, free: 195.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/2.86, allocations: 6.219 kB / 1.245 GB, free: 195.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/2.86, allocations: 10.22 kB / 1.245 GB, free: 195.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/2.864, allocations: 435.7 kB / 1.245 GB, free: 195.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/2.867, allocations: 1.976 MB / 1.247 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/2.868, allocations: 156.1 kB / 1.247 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/2.868, allocations: 30.06 kB / 1.247 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/2.868, allocations: 3.812 kB / 1.247 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002134/2.87, allocations: 0.5913 MB / 1.248 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/2.871, allocations: 13.38 kB / 1.248 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/2.871, allocations: 7.75 kB / 1.248 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/2.872, allocations: 169.3 kB / 1.248 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/2.872, allocations: 10.19 kB / 1.248 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/2.873, allocations: 123.6 kB / 1.248 GB, free: 193.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/2.873, allocations: 29.45 kB / 1.248 GB, free: 193.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000482/2.874, allocations: 207.7 kB / 1.249 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/2.874, allocations: 73.44 kB / 1.249 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/2.876, allocations: 0.5086 MB / 1.249 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.186e-06/2.876, allocations: 2.844 kB / 1.249 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/2.876, allocations: 0 / 1.249 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.603e-06/2.876, allocations: 3.562 kB / 1.249 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/2.88, allocations: 1.537 MB / 1.251 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.721e-06/2.88, allocations: 3.844 kB / 1.251 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003878/2.884, allocations: 400.1 kB / 1.251 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/2.884, allocations: 3.156 kB / 1.251 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/2.884, allocations: 14.28 kB / 1.251 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/2.892, allocations: 4.552 MB / 1.255 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.87e-06/2.892, allocations: 0 / 1.255 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/2.894, allocations: 0.6721 MB / 1.256 GB, free: 188.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/2.895, allocations: 192.1 kB / 1.256 GB, free: 188.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/2.895, allocations: 7.594 kB / 1.256 GB, free: 188.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/2.896, allocations: 95.86 kB / 1.256 GB, free: 188.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/2.896, allocations: 24.16 kB / 1.256 GB, free: 188.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/2.896, allocations: 15.11 kB / 1.256 GB, free: 188.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000725/2.897, allocations: 472 kB / 1.257 GB, free: 188.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.64e-07/2.897, allocations: 0 / 1.257 GB, free: 188.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001659/2.899, allocations: 420.9 kB / 1.257 GB, free: 188.1 MB / 0.7761 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007508/2.899, allocations: 386 kB / 1.258 GB, free: 188 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005999/2.905, allocations: 1.125 MB / 1.259 GB, free: 188 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.05e-06/2.905, allocations: 0 / 1.259 GB, free: 188 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003981/2.909, allocations: 0.5035 MB / 1.259 GB, free: 188 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/2.912, allocations: 359.2 kB / 1.26 GB, free: 188 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/2.915, allocations: 1.435 MB / 1.261 GB, free: 187.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/2.916, allocations: 0.9351 MB / 1.262 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001385/2.917, allocations: 199.7 kB / 1.262 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/2.917, allocations: 49.34 kB / 1.262 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.666e-06/2.917, allocations: 3.219 kB / 1.262 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.03625/2.953, allocations: 17.09 MB / 1.279 GB, free: 185.9 MB / 0.7761 GB