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.435/3.435, allocations: 402 MB / 416 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.051e-05, allocations: 4 kB / 0.5003 GB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2029, allocations: 92.68 MB / 0.5909 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.475, allocations: 372.2 MB / 0.9543 GB, free: 223.5 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.475, allocations: 95.95 kB / 0.9544 GB, free: 223.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.068/2.543, allocations: 223.8 MB / 1.173 GB, free: 171.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.566e-06/2.543, allocations: 2.812 kB / 1.173 GB, free: 171.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.005e-05/2.543, allocations: 22.27 kB / 1.173 GB, free: 171.6 MB / 0.7448 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.001933/2.545, allocations: 0.9822 MB / 1.174 GB, free: 171.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/2.545, allocations: 12.44 kB / 1.174 GB, free: 171.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/2.547, allocations: 258.7 kB / 1.174 GB, free: 171.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/2.548, allocations: 0.5334 MB / 1.175 GB, free: 170.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/2.549, allocations: 43.28 kB / 1.175 GB, free: 170.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/2.549, allocations: 56.41 kB / 1.175 GB, free: 170.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006055/2.555, allocations: 1.297 MB / 1.176 GB, free: 170.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/2.555, allocations: 10.11 kB / 1.176 GB, free: 170.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.884e-05/2.555, allocations: 24.75 kB / 1.176 GB, free: 170.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/2.555, allocations: 16.06 kB / 1.176 GB, free: 170.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00658/2.562, allocations: 1.15 MB / 1.177 GB, free: 170.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/2.567, allocations: 4.417 MB / 1.182 GB, free: 167.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005405/2.573, allocations: 0.9153 MB / 1.183 GB, free: 167.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/2.573, allocations: 14.84 kB / 1.183 GB, free: 167.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/2.573, allocations: 51.05 kB / 1.183 GB, free: 167.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 4.859e-06/2.573, allocations: 0 / 1.183 GB, free: 167.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.01237/2.585, allocations: 1.971 MB / 1.184 GB, free: 167.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/2.585, allocations: 165.5 kB / 1.185 GB, free: 166.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/2.586, allocations: 0.5376 MB / 1.185 GB, free: 166.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/2.586, allocations: 36.64 kB / 1.185 GB, free: 166.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/2.587, allocations: 369.5 kB / 1.186 GB, free: 166.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/2.587, allocations: 134.8 kB / 1.186 GB, free: 166.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/2.587, allocations: 14.19 kB / 1.186 GB, free: 166.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000117/2.587, allocations: 378.8 kB / 1.186 GB, free: 166.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/2.589, allocations: 423.6 kB / 1.186 GB, free: 166.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/2.591, allocations: 0.6569 MB / 1.187 GB, free: 165.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/2.593, allocations: 465.4 kB / 1.188 GB, free: 165.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/2.593, allocations: 3.875 kB / 1.188 GB, free: 165.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004752/2.597, allocations: 1.224 MB / 1.189 GB, free: 165.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005525/2.598, allocations: 2.786 MB / 1.191 GB, free: 162.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/2.598, allocations: 7.531 kB / 1.191 GB, free: 162.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009765/2.599, allocations: 231.3 kB / 1.192 GB, free: 162.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/2.601, allocations: 245.2 kB / 1.192 GB, free: 162.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/2.603, allocations: 0.8186 MB / 1.193 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/2.605, allocations: 201.1 kB / 1.193 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/2.605, allocations: 44.8 kB / 1.193 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/2.605, allocations: 4.281 kB / 1.193 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004113/2.609, allocations: 1.077 MB / 1.194 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/2.609, allocations: 6.781 kB / 1.194 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/2.609, allocations: 12.38 kB / 1.194 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/2.611, allocations: 273.6 kB / 1.194 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/2.611, allocations: 19.08 kB / 1.194 GB, free: 162.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/2.613, allocations: 179.1 kB / 1.194 GB, free: 162.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/2.613, allocations: 45.78 kB / 1.195 GB, free: 162.3 MB / 0.7448 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.0005418/2.613, allocations: 207.8 kB / 1.195 GB, free: 162.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/2.614, allocations: 71.14 kB / 1.195 GB, free: 162.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/2.618, allocations: 0.9881 MB / 1.196 GB, free: 162.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.14e-06/2.618, allocations: 3.688 kB / 1.196 GB, free: 162.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.847e-06/2.618, allocations: 4.672 kB / 1.196 GB, free: 162.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/2.618, allocations: 9.469 kB / 1.196 GB, free: 162.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/2.628, allocations: 2.566 MB / 1.198 GB, free: 161.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/2.628, allocations: 2.781 kB / 1.198 GB, free: 161.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/2.629, allocations: 160.7 kB / 1.198 GB, free: 161.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009291/2.63, allocations: 218.6 kB / 1.199 GB, free: 161.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/2.63, allocations: 22.34 kB / 1.199 GB, free: 161.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/2.633, allocations: 0.8134 MB / 1.199 GB, free: 160.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/2.633, allocations: 4.531 kB / 1.199 GB, free: 160.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00653/2.639, allocations: 1.453 MB / 1.201 GB, free: 160.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/2.64, allocations: 207.6 kB / 1.201 GB, free: 160.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/2.64, allocations: 10.5 kB / 1.201 GB, free: 160.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/2.641, allocations: 139.1 kB / 1.201 GB, free: 160.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/2.642, allocations: 41.7 kB / 1.201 GB, free: 160.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/2.642, allocations: 23.08 kB / 1.201 GB, free: 160.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006591/2.642, allocations: 415.8 kB / 1.202 GB, free: 160.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.061e-06/2.642, allocations: 0 / 1.202 GB, free: 160.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001852/2.644, allocations: 414.2 kB / 1.202 GB, free: 160.4 MB / 0.7448 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.0006791/2.645, allocations: 327.6 kB / 1.202 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007158/2.652, allocations: 1.636 MB / 1.204 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.295e-06/2.652, allocations: 3.969 kB / 1.204 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002912/2.655, allocations: 0.5424 MB / 1.205 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/2.657, allocations: 285.8 kB / 1.205 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/2.661, allocations: 1.533 MB / 1.206 GB, free: 159.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/2.661, allocations: 0.9286 MB / 1.207 GB, free: 158.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001672/2.663, allocations: 217.2 kB / 1.207 GB, free: 158.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/2.663, allocations: 62.8 kB / 1.207 GB, free: 158.9 MB / 0.7448 GB Notification: Performance of SimCode: time 2.048e-06/2.663, allocations: 0 / 1.207 GB, free: 158.9 MB / 0.7448 GB Notification: Performance of Templates: time 0.03701/2.7, allocations: 16.94 MB / 1.224 GB, free: 158.3 MB / 0.7448 GB