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.856/3.856, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.03e-05, allocations: 7.938 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5194, allocations: 92.69 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.912/1.432, allocations: 374.9 MB / 0.9557 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/1.432, allocations: 95.69 kB / 0.9558 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.303/2.735, allocations: 279.5 MB / 1.229 GB, free: 126 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.345e-06/2.735, allocations: 0 / 1.229 GB, free: 126 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.674e-05/2.735, allocations: 20 kB / 1.229 GB, free: 125.9 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001736/2.737, allocations: 1.013 MB / 1.23 GB, free: 124.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/2.737, allocations: 16.03 kB / 1.23 GB, free: 124.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009694/2.738, allocations: 154.9 kB / 1.23 GB, free: 124.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/2.739, allocations: 0.5578 MB / 1.23 GB, free: 124.1 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/2.739, allocations: 41 kB / 1.23 GB, free: 124.1 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/2.74, allocations: 56 kB / 1.231 GB, free: 124 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/2.743, allocations: 0.8046 MB / 1.231 GB, free: 123.2 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/2.743, allocations: 7.938 kB / 1.231 GB, free: 123.2 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/2.743, allocations: 24 kB / 1.231 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.47e-05/2.743, allocations: 12 kB / 1.231 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/2.746, allocations: 0.5718 MB / 1.232 GB, free: 122.6 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/2.75, allocations: 3.18 MB / 1.235 GB, free: 119.2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/2.753, allocations: 472.8 kB / 1.235 GB, free: 118.7 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/2.753, allocations: 120.2 kB / 1.236 GB, free: 118.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/2.753, allocations: 109.1 kB / 1.236 GB, free: 118.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/2.753, allocations: 46.84 kB / 1.236 GB, free: 118.4 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=23): time 3.876e-06/2.753, allocations: 0 / 1.236 GB, free: 118.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.004721/2.758, allocations: 0.6916 MB / 1.236 GB, free: 117.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/2.758, allocations: 170.1 kB / 1.237 GB, free: 117.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/2.759, allocations: 0.5859 MB / 1.237 GB, free: 116.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/2.759, allocations: 37.7 kB / 1.237 GB, free: 116.8 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/2.76, allocations: 383.6 kB / 1.238 GB, free: 116.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/2.76, allocations: 86.83 kB / 1.238 GB, free: 116.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/2.76, allocations: 8 kB / 1.238 GB, free: 116.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001203/2.76, allocations: 378.8 kB / 1.238 GB, free: 116 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/2.76, allocations: 169 kB / 1.238 GB, free: 115.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/2.761, allocations: 362.5 kB / 1.238 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/2.761, allocations: 210.5 kB / 1.239 GB, free: 115.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.282e-06/2.761, allocations: 0 / 1.239 GB, free: 115.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001415/2.763, allocations: 0.5701 MB / 1.239 GB, free: 114.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003599/2.763, allocations: 1.837 MB / 1.241 GB, free: 112.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/2.763, allocations: 4 kB / 1.241 GB, free: 112.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/2.763, allocations: 12 kB / 1.241 GB, free: 112.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/2.767, allocations: 435.5 kB / 1.241 GB, free: 112.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/2.769, allocations: 1.922 MB / 1.243 GB, free: 110.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/2.77, allocations: 147.5 kB / 1.243 GB, free: 110 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/2.771, allocations: 27.98 kB / 1.244 GB, free: 110 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/2.771, allocations: 4 kB / 1.244 GB, free: 110 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001085/2.772, allocations: 463.1 kB / 1.244 GB, free: 109.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/2.772, allocations: 11.95 kB / 1.244 GB, free: 109.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/2.772, allocations: 8 kB / 1.244 GB, free: 109.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/2.773, allocations: 168.2 kB / 1.244 GB, free: 109.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/2.773, allocations: 8 kB / 1.244 GB, free: 109.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/2.774, allocations: 131.3 kB / 1.244 GB, free: 109.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/2.774, allocations: 27.98 kB / 1.244 GB, free: 109.2 MB / 0.7605 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.0002241/2.774, allocations: 133.5 kB / 1.244 GB, free: 109.1 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/2.775, allocations: 71.16 kB / 1.244 GB, free: 109 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009801/2.776, allocations: 353.3 kB / 1.245 GB, free: 108.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/2.776, allocations: 4 kB / 1.245 GB, free: 108.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.776, allocations: 0 / 1.245 GB, free: 108.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.311e-06/2.776, allocations: 7.984 kB / 1.245 GB, free: 108.6 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/2.779, allocations: 1.357 MB / 1.246 GB, free: 107.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/2.779, allocations: 4 kB / 1.246 GB, free: 107.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/2.782, allocations: 399.6 kB / 1.247 GB, free: 106.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/2.782, allocations: 0 / 1.247 GB, free: 106.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/2.782, allocations: 11.98 kB / 1.247 GB, free: 106.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006195/2.788, allocations: 4.319 MB / 1.251 GB, free: 102.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/2.788, allocations: 3.953 kB / 1.251 GB, free: 102.1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/2.789, allocations: 0.5099 MB / 1.251 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/2.79, allocations: 184.1 kB / 1.251 GB, free: 101.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/2.79, allocations: 15.92 kB / 1.251 GB, free: 101.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/2.791, allocations: 95.91 kB / 1.252 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/2.791, allocations: 27.83 kB / 1.252 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/2.791, allocations: 15.98 kB / 1.252 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007247/2.792, allocations: 455.2 kB / 1.252 GB, free: 100.7 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.98e-07/2.792, allocations: 0 / 1.252 GB, free: 100.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001698/2.794, allocations: 427.8 kB / 1.252 GB, free: 100.3 MB / 0.7605 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.0008241/2.795, allocations: 374.7 kB / 1.253 GB, free: 99.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004198/2.799, allocations: 0.8829 MB / 1.254 GB, free: 99.06 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.799, allocations: 0 / 1.254 GB, free: 99.06 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00302/2.802, allocations: 430.9 kB / 1.254 GB, free: 98.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/2.804, allocations: 365.4 kB / 1.254 GB, free: 98.29 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/2.807, allocations: 0.8034 MB / 1.255 GB, free: 97.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/2.807, allocations: 0.9278 MB / 1.256 GB, free: 96.49 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001366/2.808, allocations: 201.5 kB / 1.256 GB, free: 96.29 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/2.809, allocations: 51.41 kB / 1.256 GB, free: 96.24 MB / 0.7605 GB Notification: Performance of SimCode: time 2.424e-06/2.809, allocations: 3.938 kB / 1.256 GB, free: 96.24 MB / 0.7605 GB Notification: Performance of Templates: time 0.03711/2.846, allocations: 17.08 MB / 1.273 GB, free: 79.31 MB / 0.7605 GB