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.588/3.588, allocations: 403.9 MB / 411 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.035e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5207, allocations: 92.69 MB / 0.5847 GB, free: 2.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.55, allocations: 374.3 MB / 0.9502 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.551, allocations: 91.39 kB / 0.9503 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.439/2.99, allocations: 277.2 MB / 1.221 GB, free: 139 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.803e-06/2.99, allocations: 0 / 1.221 GB, free: 139 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.848e-05/2.99, allocations: 22.89 kB / 1.221 GB, free: 139 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.001753/2.991, allocations: 1.012 MB / 1.222 GB, free: 137.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/2.992, allocations: 11.97 kB / 1.222 GB, free: 137.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009769/2.992, allocations: 162.9 kB / 1.222 GB, free: 137.8 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/2.994, allocations: 0.5456 MB / 1.223 GB, free: 137.2 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/2.994, allocations: 16 kB / 1.223 GB, free: 137.2 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/2.994, allocations: 39.95 kB / 1.223 GB, free: 137.1 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000792/2.995, allocations: 326.5 kB / 1.223 GB, free: 136.8 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008995/2.996, allocations: 0.5055 MB / 1.223 GB, free: 136.2 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/2.996, allocations: 0 / 1.223 GB, free: 136.2 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/2.996, allocations: 4 kB / 1.223 GB, free: 136.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/2.996, allocations: 16 kB / 1.224 GB, free: 136.2 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/3, allocations: 3.074 MB / 1.227 GB, free: 133 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/3, allocations: 269.2 kB / 1.227 GB, free: 132.7 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/3.001, allocations: 116.3 kB / 1.227 GB, free: 132.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/3.001, allocations: 101.1 kB / 1.227 GB, free: 132.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/3.001, allocations: 46.84 kB / 1.227 GB, free: 132.4 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=23): time 3.191e-06/3.001, allocations: 0 / 1.227 GB, free: 132.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.003359/3.004, allocations: 0.5712 MB / 1.228 GB, free: 131.8 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/3.004, allocations: 162.2 kB / 1.228 GB, free: 131.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/3.005, allocations: 487.5 kB / 1.228 GB, free: 131.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/3.005, allocations: 25.7 kB / 1.228 GB, free: 131.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/3.005, allocations: 395.6 kB / 1.229 GB, free: 130.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/3.005, allocations: 78.98 kB / 1.229 GB, free: 130.6 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/3.005, allocations: 4 kB / 1.229 GB, free: 130.6 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001013/3.006, allocations: 366.8 kB / 1.229 GB, free: 130.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/3.006, allocations: 153.1 kB / 1.229 GB, free: 130.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/3.006, allocations: 357.6 kB / 1.23 GB, free: 129.7 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/3.008, allocations: 301.4 kB / 1.23 GB, free: 129.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.674e-06/3.008, allocations: 4 kB / 1.23 GB, free: 129.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002169/3.01, allocations: 0.6429 MB / 1.23 GB, free: 128.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003593/3.01, allocations: 1.833 MB / 1.232 GB, free: 126.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/3.01, allocations: 4 kB / 1.232 GB, free: 126.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/3.01, allocations: 8 kB / 1.232 GB, free: 126.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/3.014, allocations: 435.5 kB / 1.233 GB, free: 126.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/3.016, allocations: 1.938 MB / 1.235 GB, free: 124.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/3.017, allocations: 127.4 kB / 1.235 GB, free: 124.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/3.017, allocations: 35.97 kB / 1.235 GB, free: 124.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/3.017, allocations: 6.344 kB / 1.235 GB, free: 124.1 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/3.019, allocations: 499.6 kB / 1.235 GB, free: 123.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.771e-06/3.019, allocations: 8 kB / 1.235 GB, free: 123.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/3.019, allocations: 8 kB / 1.235 GB, free: 123.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009219/3.02, allocations: 176.3 kB / 1.235 GB, free: 123.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.625e-06/3.02, allocations: 16.02 kB / 1.235 GB, free: 123.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/3.021, allocations: 99.55 kB / 1.235 GB, free: 123.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/3.021, allocations: 27.98 kB / 1.235 GB, free: 123.3 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 (61): * 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): 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.0001873/3.021, allocations: 125.5 kB / 1.236 GB, free: 123.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/3.021, allocations: 63.23 kB / 1.236 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/3.023, allocations: 436.1 kB / 1.236 GB, free: 122.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.583e-06/3.023, allocations: 4 kB / 1.236 GB, free: 122.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/3.023, allocations: 7.938 kB / 1.236 GB, free: 122.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/3.023, allocations: 4 kB / 1.236 GB, free: 122.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/3.027, allocations: 1.403 MB / 1.237 GB, free: 121.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-06/3.027, allocations: 0 / 1.237 GB, free: 121.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003802/3.03, allocations: 399.6 kB / 1.238 GB, free: 120.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.992e-06/3.031, allocations: 0 / 1.238 GB, free: 120.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/3.031, allocations: 11.98 kB / 1.238 GB, free: 120.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00599/3.037, allocations: 4.163 MB / 1.242 GB, free: 116.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.55e-06/3.037, allocations: 4.031 kB / 1.242 GB, free: 116.3 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/3.038, allocations: 0.6023 MB / 1.243 GB, free: 115.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/3.039, allocations: 180.2 kB / 1.243 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/3.039, allocations: 3.953 kB / 1.243 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009753/3.04, allocations: 87.81 kB / 1.243 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/3.04, allocations: 27.95 kB / 1.243 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/3.04, allocations: 19.98 kB / 1.243 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004892/3.041, allocations: 359.2 kB / 1.243 GB, free: 115 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.72e-07/3.041, allocations: 0 / 1.243 GB, free: 115 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001564/3.042, allocations: 407.5 kB / 1.244 GB, free: 114.6 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.0007446/3.043, allocations: 382.1 kB / 1.244 GB, free: 114.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003647/3.047, allocations: 0.8434 MB / 1.245 GB, free: 113.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.349e-06/3.047, allocations: 0 / 1.245 GB, free: 113.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/3.049, allocations: 426.9 kB / 1.245 GB, free: 112.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/3.051, allocations: 282.9 kB / 1.245 GB, free: 112.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/3.053, allocations: 0.7802 MB / 1.246 GB, free: 111.8 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/3.053, allocations: 0.9269 MB / 1.247 GB, free: 110.9 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001156/3.055, allocations: 168.8 kB / 1.247 GB, free: 110.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/3.055, allocations: 51.41 kB / 1.247 GB, free: 110.7 MB / 0.7605 GB Notification: Performance of SimCode: time 1.29e-06/3.055, allocations: 4 kB / 1.247 GB, free: 110.7 MB / 0.7605 GB Notification: Performance of Templates: time 0.02814/3.083, allocations: 13.35 MB / 1.26 GB, free: 97.43 MB / 0.7605 GB