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.682/3.682, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.925e-05, allocations: 8 kB / 0.4991 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4838, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8814/1.365, allocations: 377.5 MB / 0.9582 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.366, allocations: 93.48 kB / 0.9583 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.293/2.659, allocations: 284.4 MB / 1.236 GB, free: 118.5 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.581e-06/2.659, allocations: 0 / 1.236 GB, free: 118.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.405e-05/2.659, allocations: 24 kB / 1.236 GB, free: 118.5 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.002375/2.661, allocations: 1.241 MB / 1.237 GB, free: 117.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/2.662, allocations: 8.031 kB / 1.237 GB, free: 117.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/2.663, allocations: 190.6 kB / 1.237 GB, free: 117 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/2.664, allocations: 0.6603 MB / 1.238 GB, free: 116.3 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/2.664, allocations: 57.25 kB / 1.238 GB, free: 116.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/2.665, allocations: 71.95 kB / 1.238 GB, free: 116.2 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/2.668, allocations: 0.9845 MB / 1.239 GB, free: 115.1 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/2.668, allocations: 0 / 1.239 GB, free: 115.1 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/2.668, allocations: 24 kB / 1.239 GB, free: 115.1 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/2.668, allocations: 28 kB / 1.239 GB, free: 115.1 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/2.671, allocations: 0.6694 MB / 1.24 GB, free: 114.4 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/2.676, allocations: 3.538 MB / 1.243 GB, free: 110.7 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/2.679, allocations: 0.5917 MB / 1.244 GB, free: 110.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/2.679, allocations: 208.5 kB / 1.244 GB, free: 109.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/2.68, allocations: 101.3 kB / 1.244 GB, free: 109.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00238/2.682, allocations: 0.5579 MB / 1.245 GB, free: 109.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 3.861e-06/2.682, allocations: 4 kB / 1.245 GB, free: 109.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.004926/2.687, allocations: 0.913 MB / 1.246 GB, free: 108.2 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/2.687, allocations: 291 kB / 1.246 GB, free: 107.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/2.688, allocations: 0.7458 MB / 1.247 GB, free: 107.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/2.689, allocations: 41.7 kB / 1.247 GB, free: 107 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/2.689, allocations: 468 kB / 1.247 GB, free: 106.6 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/2.689, allocations: 126.6 kB / 1.247 GB, free: 106.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/2.689, allocations: 15.94 kB / 1.247 GB, free: 106.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/2.689, allocations: 330 kB / 1.248 GB, free: 106.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/2.69, allocations: 241.5 kB / 1.248 GB, free: 105.9 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/2.691, allocations: 496 kB / 1.248 GB, free: 105.3 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/2.691, allocations: 319.8 kB / 1.249 GB, free: 105 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.419e-06/2.691, allocations: 0 / 1.249 GB, free: 105 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00189/2.693, allocations: 0.7993 MB / 1.249 GB, free: 104.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004056/2.694, allocations: 1.951 MB / 1.251 GB, free: 102.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/2.694, allocations: 8 kB / 1.251 GB, free: 102 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/2.694, allocations: 11.95 kB / 1.251 GB, free: 102 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/2.697, allocations: 455.4 kB / 1.252 GB, free: 101.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/2.699, allocations: 1.914 MB / 1.254 GB, free: 99.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/2.701, allocations: 183.2 kB / 1.254 GB, free: 99.42 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/2.701, allocations: 43.98 kB / 1.254 GB, free: 99.38 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/2.701, allocations: 5.188 kB / 1.254 GB, free: 99.38 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00153/2.702, allocations: 0.6814 MB / 1.255 GB, free: 98.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.832e-06/2.703, allocations: 4.656 kB / 1.255 GB, free: 98.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/2.703, allocations: 8 kB / 1.255 GB, free: 98.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/2.704, allocations: 191.7 kB / 1.255 GB, free: 98.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/2.704, allocations: 11.95 kB / 1.255 GB, free: 98.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/2.705, allocations: 159.2 kB / 1.255 GB, free: 98.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/2.705, allocations: 43.92 kB / 1.255 GB, free: 98.27 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.0002807/2.705, allocations: 179.2 kB / 1.255 GB, free: 98.09 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/2.706, allocations: 106.8 kB / 1.255 GB, free: 97.98 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/2.707, allocations: 0.5798 MB / 1.256 GB, free: 97.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.6e-06/2.707, allocations: 4 kB / 1.256 GB, free: 97.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-06/2.707, allocations: 4 kB / 1.256 GB, free: 97.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/2.707, allocations: 3.953 kB / 1.256 GB, free: 97.37 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/2.71, allocations: 1.74 MB / 1.257 GB, free: 95.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.092e-06/2.71, allocations: 4 kB / 1.257 GB, free: 95.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003145/2.714, allocations: 407.7 kB / 1.258 GB, free: 95.15 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/2.714, allocations: 0 / 1.258 GB, free: 95.15 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/2.714, allocations: 15.98 kB / 1.258 GB, free: 95.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005791/2.72, allocations: 4.316 MB / 1.262 GB, free: 90.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.212e-06/2.72, allocations: 0 / 1.262 GB, free: 90.43 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/2.722, allocations: 1.048 MB / 1.263 GB, free: 89.32 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/2.722, allocations: 231.8 kB / 1.263 GB, free: 89.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/2.722, allocations: 12 kB / 1.263 GB, free: 89.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/2.724, allocations: 123.9 kB / 1.263 GB, free: 88.94 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/2.724, allocations: 43.92 kB / 1.263 GB, free: 88.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/2.724, allocations: 23.98 kB / 1.264 GB, free: 88.87 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009341/2.725, allocations: 0.5711 MB / 1.264 GB, free: 88.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.04e-07/2.725, allocations: 0 / 1.264 GB, free: 88.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001967/2.727, allocations: 0.4956 MB / 1.265 GB, free: 87.79 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.0009133/2.728, allocations: 423.1 kB / 1.265 GB, free: 87.38 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004493/2.732, allocations: 1.308 MB / 1.266 GB, free: 86.04 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.31e-06/2.732, allocations: 0 / 1.266 GB, free: 86.04 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002946/2.735, allocations: 0.5987 MB / 1.267 GB, free: 85.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/2.738, allocations: 393.3 kB / 1.267 GB, free: 85.05 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/2.741, allocations: 1.091 MB / 1.268 GB, free: 83.92 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/2.741, allocations: 1.019 MB / 1.269 GB, free: 82.87 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001572/2.743, allocations: 233.8 kB / 1.269 GB, free: 82.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/2.743, allocations: 63.39 kB / 1.27 GB, free: 82.57 MB / 0.7605 GB Notification: Performance of SimCode: time 1.837e-06/2.743, allocations: 3.938 kB / 1.27 GB, free: 82.57 MB / 0.7605 GB Notification: Performance of Templates: time 0.04217/2.785, allocations: 20.04 MB / 1.289 GB, free: 62.69 MB / 0.7605 GB