Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadModel(Buildings): time 3.571/3.571, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.143e-05, allocations: 4 kB / 0.499 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4812, allocations: 92.69 MB / 0.5895 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8736/1.355, allocations: 372.2 MB / 0.953 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.355, allocations: 96.8 kB / 0.9531 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.11/2.466, allocations: 222.5 MB / 1.17 GB, free: 186.2 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.982e-06/2.466, allocations: 0 / 1.17 GB, free: 186.2 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.457e-05/2.466, allocations: 22.67 kB / 1.17 GB, free: 186.2 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001722/2.467, allocations: 0.9667 MB / 1.171 GB, free: 185.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/2.467, allocations: 8.031 kB / 1.171 GB, free: 185.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/2.469, allocations: 266.8 kB / 1.172 GB, free: 184.9 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/2.47, allocations: 0.5263 MB / 1.172 GB, free: 184.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/2.47, allocations: 45.31 kB / 1.172 GB, free: 184.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/2.47, allocations: 60 kB / 1.172 GB, free: 184.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/2.475, allocations: 1.123 MB / 1.173 GB, free: 183 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/2.475, allocations: 11.89 kB / 1.173 GB, free: 183 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/2.475, allocations: 28 kB / 1.173 GB, free: 183 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/2.475, allocations: 16 kB / 1.173 GB, free: 183 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004333/2.48, allocations: 0.8732 MB / 1.174 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/2.484, allocations: 4.422 MB / 1.179 GB, free: 177.5 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/2.488, allocations: 0.7499 MB / 1.179 GB, free: 176.7 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/2.489, allocations: 221 kB / 1.179 GB, free: 176.4 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/2.489, allocations: 23.08 kB / 1.18 GB, free: 176.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/2.489, allocations: 42.78 kB / 1.18 GB, free: 176.4 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=38): time 3.764e-06/2.489, allocations: 0 / 1.18 GB, free: 176.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=38): time 0.007974/2.497, allocations: 1.221 MB / 1.181 GB, free: 175.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/2.497, allocations: 166.2 kB / 1.181 GB, free: 174.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007829/2.498, allocations: 0.5307 MB / 1.181 GB, free: 174.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/2.498, allocations: 33.7 kB / 1.181 GB, free: 174.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/2.498, allocations: 375.6 kB / 1.182 GB, free: 174 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/2.498, allocations: 142 kB / 1.182 GB, free: 173.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/2.499, allocations: 12 kB / 1.182 GB, free: 173.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001122/2.499, allocations: 382.7 kB / 1.182 GB, free: 173.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/2.499, allocations: 253.5 kB / 1.183 GB, free: 173.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000729/2.5, allocations: 0.4943 MB / 1.183 GB, free: 172.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/2.501, allocations: 293.5 kB / 1.183 GB, free: 172.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.309e-06/2.501, allocations: 4 kB / 1.183 GB, free: 172.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002102/2.503, allocations: 0.8666 MB / 1.184 GB, free: 171.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005267/2.503, allocations: 2.787 MB / 1.187 GB, free: 168.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/2.503, allocations: 11.95 kB / 1.187 GB, free: 168.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/2.504, allocations: 172.7 kB / 1.187 GB, free: 168.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/2.506, allocations: 243.6 kB / 1.187 GB, free: 168 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/2.507, allocations: 0.7514 MB / 1.188 GB, free: 167.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/2.509, allocations: 199.1 kB / 1.188 GB, free: 167.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/2.509, allocations: 47.97 kB / 1.188 GB, free: 167 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/2.509, allocations: 4 kB / 1.188 GB, free: 167 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001763/2.511, allocations: 0.7438 MB / 1.189 GB, free: 166.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/2.511, allocations: 11.94 kB / 1.189 GB, free: 166.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/2.511, allocations: 12.84 kB / 1.189 GB, free: 166.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/2.513, allocations: 267.7 kB / 1.189 GB, free: 166 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/2.513, allocations: 23.88 kB / 1.189 GB, free: 166 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/2.514, allocations: 175.3 kB / 1.189 GB, free: 165.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/2.514, allocations: 43.95 kB / 1.19 GB, free: 165.7 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002502/2.515, allocations: 148.7 kB / 1.19 GB, free: 165.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/2.515, allocations: 67.16 kB / 1.19 GB, free: 165.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/2.517, allocations: 0.6371 MB / 1.19 GB, free: 164.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.066e-06/2.517, allocations: 4 kB / 1.19 GB, free: 164.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.918e-06/2.517, allocations: 11.94 kB / 1.19 GB, free: 164.9 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.832e-06/2.517, allocations: 3.938 kB / 1.19 GB, free: 164.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006554/2.523, allocations: 2.21 MB / 1.193 GB, free: 162.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.391e-06/2.523, allocations: 0 / 1.193 GB, free: 162.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/2.524, allocations: 159.9 kB / 1.193 GB, free: 162.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000494/2.525, allocations: 176.7 kB / 1.193 GB, free: 162.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/2.525, allocations: 23.91 kB / 1.193 GB, free: 162.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/2.527, allocations: 0.7436 MB / 1.194 GB, free: 161.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.004e-06/2.527, allocations: 4.031 kB / 1.194 GB, free: 161.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/2.531, allocations: 1.103 MB / 1.195 GB, free: 160.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/2.531, allocations: 212 kB / 1.195 GB, free: 160.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/2.531, allocations: 15.98 kB / 1.195 GB, free: 160 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/2.533, allocations: 135.8 kB / 1.195 GB, free: 159.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/2.533, allocations: 35.91 kB / 1.195 GB, free: 159.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.052e-05/2.533, allocations: 23.97 kB / 1.195 GB, free: 159.8 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000598/2.533, allocations: 403.2 kB / 1.195 GB, free: 159.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.856e-06/2.533, allocations: 0 / 1.195 GB, free: 159.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001701/2.535, allocations: 407.5 kB / 1.196 GB, free: 159.1 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006405/2.536, allocations: 337 kB / 1.196 GB, free: 158.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003513/2.539, allocations: 1.146 MB / 1.197 GB, free: 157.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.999e-06/2.539, allocations: 0 / 1.197 GB, free: 157.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/2.541, allocations: 393.1 kB / 1.198 GB, free: 157.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/2.543, allocations: 283.9 kB / 1.198 GB, free: 156.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/2.545, allocations: 0.8614 MB / 1.199 GB, free: 156 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/2.545, allocations: 0.9203 MB / 1.2 GB, free: 155.1 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001496/2.547, allocations: 221.4 kB / 1.2 GB, free: 154.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/2.547, allocations: 67.38 kB / 1.2 GB, free: 154.8 MB / 0.7605 GB Notification: Performance of SimCode: time 2.022e-06/2.547, allocations: 0 / 1.2 GB, free: 154.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.03357/2.581, allocations: 16.93 MB / 1.216 GB, free: 138 MB / 0.7605 GB