Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(Buildings): time 3.576/3.576, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.931e-05/3.948e-05, allocations: 7.938 kB / 0.499 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4854, allocations: 92.68 MB / 0.5895 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8749/1.36, allocations: 377.5 MB / 0.9582 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.361, allocations: 93.89 kB / 0.9583 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.283/2.643, allocations: 284.4 MB / 1.236 GB, free: 118.8 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.92e-06/2.643, allocations: 0 / 1.236 GB, free: 118.8 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.239e-05/2.644, allocations: 24 kB / 1.236 GB, free: 118.8 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002388/2.646, allocations: 1.237 MB / 1.237 GB, free: 117.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/2.646, allocations: 12.03 kB / 1.237 GB, free: 117.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/2.647, allocations: 186.6 kB / 1.237 GB, free: 117.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/2.649, allocations: 0.6601 MB / 1.238 GB, free: 116.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/2.649, allocations: 57.31 kB / 1.238 GB, free: 116.5 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/2.649, allocations: 72.17 kB / 1.238 GB, free: 116.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/2.653, allocations: 0.9909 MB / 1.239 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/2.653, allocations: 3.938 kB / 1.239 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/2.653, allocations: 27.98 kB / 1.239 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/2.653, allocations: 24 kB / 1.239 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/2.656, allocations: 0.6908 MB / 1.24 GB, free: 114.6 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005203/2.661, allocations: 3.534 MB / 1.243 GB, free: 110.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/2.664, allocations: 0.591 MB / 1.244 GB, free: 110.3 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/2.664, allocations: 208.5 kB / 1.244 GB, free: 110.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/2.665, allocations: 113.2 kB / 1.244 GB, free: 109.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002471/2.667, allocations: 0.5501 MB / 1.245 GB, free: 109.4 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 4.399e-06/2.667, allocations: 0 / 1.245 GB, free: 109.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.005033/2.672, allocations: 0.914 MB / 1.246 GB, free: 108.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/2.672, allocations: 298.9 kB / 1.246 GB, free: 108.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/2.673, allocations: 0.7381 MB / 1.247 GB, free: 107.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/2.674, allocations: 41.7 kB / 1.247 GB, free: 107.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/2.674, allocations: 471.8 kB / 1.247 GB, free: 106.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/2.674, allocations: 126.3 kB / 1.247 GB, free: 106.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/2.674, allocations: 12.33 kB / 1.247 GB, free: 106.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/2.674, allocations: 334.1 kB / 1.248 GB, free: 106.3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/2.675, allocations: 241.5 kB / 1.248 GB, free: 106.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/2.675, allocations: 0.4897 MB / 1.248 GB, free: 105.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/2.676, allocations: 315.8 kB / 1.249 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.891e-06/2.676, allocations: 4 kB / 1.249 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001812/2.678, allocations: 0.8152 MB / 1.249 GB, free: 104.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004011/2.678, allocations: 1.953 MB / 1.251 GB, free: 102.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/2.678, allocations: 7.953 kB / 1.251 GB, free: 102.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/2.678, allocations: 8 kB / 1.251 GB, free: 102.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/2.682, allocations: 455.5 kB / 1.252 GB, free: 101.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/2.684, allocations: 1.922 MB / 1.254 GB, free: 99.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/2.686, allocations: 183.1 kB / 1.254 GB, free: 99.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/2.686, allocations: 39.98 kB / 1.254 GB, free: 99.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/2.686, allocations: 4 kB / 1.254 GB, free: 99.57 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/2.687, allocations: 0.6892 MB / 1.255 GB, free: 98.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/2.687, allocations: 4 kB / 1.255 GB, free: 98.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/2.687, allocations: 12 kB / 1.255 GB, free: 98.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/2.688, allocations: 192.4 kB / 1.255 GB, free: 98.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/2.688, allocations: 15.89 kB / 1.255 GB, free: 98.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/2.69, allocations: 163.2 kB / 1.255 GB, free: 98.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/2.69, allocations: 35.98 kB / 1.255 GB, free: 98.46 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * 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.0002886/2.69, allocations: 178.5 kB / 1.255 GB, free: 98.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/2.69, allocations: 98.88 kB / 1.255 GB, free: 98.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/2.692, allocations: 0.5914 MB / 1.256 GB, free: 97.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.409e-06/2.692, allocations: 4 kB / 1.256 GB, free: 97.57 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.594e-06/2.692, allocations: 3.953 kB / 1.256 GB, free: 97.56 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/2.692, allocations: 0 / 1.256 GB, free: 97.56 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/2.695, allocations: 1.741 MB / 1.257 GB, free: 95.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-06/2.695, allocations: 0 / 1.257 GB, free: 95.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/2.698, allocations: 415.7 kB / 1.258 GB, free: 95.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/2.698, allocations: 4 kB / 1.258 GB, free: 95.33 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/2.699, allocations: 15.98 kB / 1.258 GB, free: 95.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005783/2.704, allocations: 4.312 MB / 1.262 GB, free: 90.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.549e-06/2.704, allocations: 4 kB / 1.262 GB, free: 90.61 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/2.706, allocations: 1.044 MB / 1.263 GB, free: 89.51 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/2.707, allocations: 235.7 kB / 1.263 GB, free: 89.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/2.707, allocations: 12 kB / 1.263 GB, free: 89.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/2.708, allocations: 115.9 kB / 1.263 GB, free: 89.13 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/2.709, allocations: 51.86 kB / 1.264 GB, free: 89.08 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/2.709, allocations: 23.98 kB / 1.264 GB, free: 89.06 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008901/2.71, allocations: 0.5633 MB / 1.264 GB, free: 88.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.12e-07/2.71, allocations: 0 / 1.264 GB, free: 88.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001939/2.712, allocations: 0.5073 MB / 1.265 GB, free: 87.97 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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.0008785/2.712, allocations: 398.7 kB / 1.265 GB, free: 87.58 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004476/2.717, allocations: 1.322 MB / 1.266 GB, free: 86.23 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.834e-06/2.717, allocations: 0 / 1.266 GB, free: 86.23 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002931/2.72, allocations: 0.6062 MB / 1.267 GB, free: 85.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/2.722, allocations: 394.8 kB / 1.267 GB, free: 85.22 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/2.725, allocations: 1.102 MB / 1.268 GB, free: 84.08 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/2.726, allocations: 1.015 MB / 1.269 GB, free: 83.04 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001587/2.727, allocations: 229.8 kB / 1.27 GB, free: 82.81 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/2.728, allocations: 67.39 kB / 1.27 GB, free: 82.74 MB / 0.7605 GB Notification: Performance of SimCode: time 1.952e-06/2.728, allocations: 3.938 kB / 1.27 GB, free: 82.74 MB / 0.7605 GB Notification: Performance of Templates: time 0.04194/2.77, allocations: 20.08 MB / 1.289 GB, free: 62.82 MB / 0.7605 GB