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.793/3.793, allocations: 403.9 MB / 411 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.186e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5648, allocations: 92.69 MB / 0.5847 GB, free: 2.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9775/1.542, allocations: 376.9 MB / 0.9527 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.543, allocations: 90.88 kB / 0.9528 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.326/2.869, allocations: 282 MB / 1.228 GB, free: 131.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.446e-06/2.869, allocations: 0 / 1.228 GB, free: 131.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.883e-05/2.869, allocations: 24.22 kB / 1.228 GB, free: 131.6 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.002239/2.871, allocations: 1.241 MB / 1.229 GB, free: 130.4 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/2.871, allocations: 12.02 kB / 1.229 GB, free: 130.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/2.873, allocations: 182.6 kB / 1.23 GB, free: 130.2 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/2.874, allocations: 0.6679 MB / 1.23 GB, free: 129.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/2.874, allocations: 24 kB / 1.23 GB, free: 129.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/2.874, allocations: 47.95 kB / 1.23 GB, free: 129.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009772/2.875, allocations: 434.5 kB / 1.231 GB, free: 129 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/2.876, allocations: 0.6807 MB / 1.231 GB, free: 128.2 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/2.877, allocations: 0 / 1.231 GB, free: 128.2 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/2.877, allocations: 4 kB / 1.231 GB, free: 128.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/2.877, allocations: 16 kB / 1.231 GB, free: 128.2 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004638/2.881, allocations: 3.395 MB / 1.235 GB, free: 124.6 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/2.882, allocations: 397.1 kB / 1.235 GB, free: 124.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/2.882, allocations: 204.5 kB / 1.235 GB, free: 124 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/2.883, allocations: 105.3 kB / 1.235 GB, free: 123.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005326/2.883, allocations: 339.6 kB / 1.236 GB, free: 123.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 4.374e-06/2.883, allocations: 4 kB / 1.236 GB, free: 123.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.003815/2.887, allocations: 0.7602 MB / 1.237 GB, free: 122.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/2.887, allocations: 295 kB / 1.237 GB, free: 122.4 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/2.888, allocations: 0.5943 MB / 1.237 GB, free: 121.8 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/2.888, allocations: 29.7 kB / 1.237 GB, free: 121.7 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/2.889, allocations: 471.2 kB / 1.238 GB, free: 121.3 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/2.889, allocations: 118.3 kB / 1.238 GB, free: 121.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/2.889, allocations: 0 / 1.238 GB, free: 121.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.921e-05/2.889, allocations: 333.9 kB / 1.238 GB, free: 120.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/2.889, allocations: 237.5 kB / 1.239 GB, free: 120.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/2.89, allocations: 484 kB / 1.239 GB, free: 120 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/2.892, allocations: 389.8 kB / 1.239 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.087e-06/2.892, allocations: 11.94 kB / 1.239 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002545/2.894, allocations: 0.8329 MB / 1.24 GB, free: 118.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004035/2.895, allocations: 1.957 MB / 1.242 GB, free: 116.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/2.895, allocations: 8 kB / 1.242 GB, free: 116.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/2.895, allocations: 8 kB / 1.242 GB, free: 116.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/2.898, allocations: 451.4 kB / 1.243 GB, free: 116.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/2.9, allocations: 1.941 MB / 1.244 GB, free: 114.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/2.902, allocations: 155.4 kB / 1.245 GB, free: 114 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/2.902, allocations: 39.98 kB / 1.245 GB, free: 114 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/2.902, allocations: 4 kB / 1.245 GB, free: 114 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002127/2.904, allocations: 0.6957 MB / 1.245 GB, free: 113.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/2.904, allocations: 4 kB / 1.245 GB, free: 113.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/2.904, allocations: 8 kB / 1.245 GB, free: 113.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009868/2.905, allocations: 180 kB / 1.245 GB, free: 113.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/2.905, allocations: 15.94 kB / 1.245 GB, free: 113.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/2.906, allocations: 131.4 kB / 1.246 GB, free: 113 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/2.907, allocations: 39.98 kB / 1.246 GB, free: 112.9 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 (74): * Single equations (assignments): 70 * 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.0002797/2.907, allocations: 171 kB / 1.246 GB, free: 112.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/2.907, allocations: 82.97 kB / 1.246 GB, free: 112.7 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/2.909, allocations: 0.6396 MB / 1.247 GB, free: 112 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/2.909, allocations: 4 kB / 1.247 GB, free: 112 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/2.909, allocations: 0 / 1.247 GB, free: 112 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/2.909, allocations: 7.984 kB / 1.247 GB, free: 112 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/2.913, allocations: 1.715 MB / 1.248 GB, free: 110.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.364e-06/2.913, allocations: 4 kB / 1.248 GB, free: 110.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/2.916, allocations: 415.6 kB / 1.249 GB, free: 109.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/2.916, allocations: 3.953 kB / 1.249 GB, free: 109.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/2.916, allocations: 19.98 kB / 1.249 GB, free: 109.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005676/2.922, allocations: 4.162 MB / 1.253 GB, free: 105.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.818e-06/2.922, allocations: 4.031 kB / 1.253 GB, free: 105.3 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/2.925, allocations: 1.08 MB / 1.254 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/2.925, allocations: 216 kB / 1.254 GB, free: 103.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/2.926, allocations: 8 kB / 1.254 GB, free: 103.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/2.927, allocations: 119.8 kB / 1.254 GB, free: 103.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/2.927, allocations: 47.81 kB / 1.254 GB, free: 103.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/2.927, allocations: 23.98 kB / 1.254 GB, free: 103.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006499/2.928, allocations: 459.1 kB / 1.255 GB, free: 103.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.43e-07/2.928, allocations: 0 / 1.255 GB, free: 103.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001864/2.93, allocations: 491.2 kB / 1.255 GB, free: 102.8 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.000878/2.931, allocations: 418.3 kB / 1.255 GB, free: 102.4 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004283/2.935, allocations: 1.255 MB / 1.257 GB, free: 101.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.705e-06/2.935, allocations: 4 kB / 1.257 GB, free: 101.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002911/2.938, allocations: 0.589 MB / 1.257 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/2.94, allocations: 302.9 kB / 1.258 GB, free: 100.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/2.943, allocations: 1.059 MB / 1.259 GB, free: 99.11 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/2.943, allocations: 1.014 MB / 1.26 GB, free: 98.07 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001421/2.944, allocations: 196.2 kB / 1.26 GB, free: 97.87 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/2.945, allocations: 55.41 kB / 1.26 GB, free: 97.82 MB / 0.7605 GB Notification: Performance of SimCode: time 1.301e-06/2.945, allocations: 4 kB / 1.26 GB, free: 97.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.03402/2.979, allocations: 16.05 MB / 1.275 GB, free: 81.89 MB / 0.7605 GB