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.557/3.557, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.797e-05, allocations: 4 kB / 0.5003 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1614, allocations: 92.69 MB / 0.5909 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.517, allocations: 377.6 MB / 0.9596 GB, free: 187 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.518, allocations: 98.12 kB / 0.9597 GB, free: 186.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.236/2.754, allocations: 286 MB / 1.239 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.454e-06/2.754, allocations: 0 / 1.239 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.3e-05/2.754, allocations: 26.56 kB / 1.239 GB, free: 201.8 MB / 0.7761 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.002402/2.756, allocations: 1.239 MB / 1.24 GB, free: 201.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/2.756, allocations: 7.688 kB / 1.24 GB, free: 201.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/2.757, allocations: 197.9 kB / 1.24 GB, free: 201.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/2.759, allocations: 0.6728 MB / 1.241 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/2.759, allocations: 53.59 kB / 1.241 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/2.759, allocations: 75.95 kB / 1.241 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/2.763, allocations: 1.084 MB / 1.242 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/2.763, allocations: 3.812 kB / 1.242 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/2.763, allocations: 25.69 kB / 1.242 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/2.763, allocations: 17.22 kB / 1.242 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004027/2.768, allocations: 0.8169 MB / 1.243 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005114/2.773, allocations: 3.549 MB / 1.247 GB, free: 198.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/2.776, allocations: 0.7291 MB / 1.247 GB, free: 198.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/2.777, allocations: 109.2 kB / 1.247 GB, free: 198.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0035/2.78, allocations: 0.6438 MB / 1.248 GB, free: 198.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 4.174e-06/2.78, allocations: 0 / 1.248 GB, free: 198.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.007463/2.788, allocations: 1.365 MB / 1.249 GB, free: 197.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/2.788, allocations: 297.2 kB / 1.25 GB, free: 197.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/2.789, allocations: 0.7504 MB / 1.25 GB, free: 197.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/2.789, allocations: 36.27 kB / 1.25 GB, free: 197.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/2.79, allocations: 473.8 kB / 1.251 GB, free: 197.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/2.79, allocations: 119.7 kB / 1.251 GB, free: 197.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/2.79, allocations: 14.03 kB / 1.251 GB, free: 197.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/2.79, allocations: 329.7 kB / 1.251 GB, free: 196.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/2.791, allocations: 341.2 kB / 1.252 GB, free: 196.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/2.793, allocations: 0.5712 MB / 1.252 GB, free: 196.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/2.794, allocations: 406.6 kB / 1.253 GB, free: 196.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.419e-06/2.794, allocations: 0 / 1.253 GB, free: 196.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00333/2.797, allocations: 1.002 MB / 1.254 GB, free: 196.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000429/2.798, allocations: 1.953 MB / 1.255 GB, free: 194.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/2.798, allocations: 7.125 kB / 1.255 GB, free: 194.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/2.798, allocations: 11.73 kB / 1.255 GB, free: 194.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/2.802, allocations: 452 kB / 1.256 GB, free: 194.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/2.805, allocations: 1.98 MB / 1.258 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/2.807, allocations: 188.1 kB / 1.258 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/2.807, allocations: 40.28 kB / 1.258 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/2.807, allocations: 3.875 kB / 1.258 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002693/2.81, allocations: 0.8426 MB / 1.259 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/2.81, allocations: 10.23 kB / 1.259 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/2.81, allocations: 7.156 kB / 1.259 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/2.811, allocations: 185.3 kB / 1.259 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/2.811, allocations: 15.14 kB / 1.259 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/2.813, allocations: 157.4 kB / 1.259 GB, free: 192.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/2.813, allocations: 35.64 kB / 1.259 GB, free: 192.5 MB / 0.7761 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.0006418/2.813, allocations: 282.2 kB / 1.26 GB, free: 192.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/2.814, allocations: 95.81 kB / 1.26 GB, free: 192.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/2.816, allocations: 0.7648 MB / 1.26 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.864e-06/2.816, allocations: 3.656 kB / 1.26 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/2.816, allocations: 3.625 kB / 1.26 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/2.817, allocations: 11.27 kB / 1.26 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/2.821, allocations: 1.922 MB / 1.262 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/2.821, allocations: 2.062 kB / 1.262 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/2.825, allocations: 414.9 kB / 1.263 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/2.825, allocations: 3.797 kB / 1.263 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/2.825, allocations: 15.17 kB / 1.263 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/2.834, allocations: 4.554 MB / 1.267 GB, free: 187.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.834, allocations: 0 / 1.267 GB, free: 187.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/2.838, allocations: 1.308 MB / 1.268 GB, free: 187.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/2.839, allocations: 236.2 kB / 1.269 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/2.839, allocations: 11.41 kB / 1.269 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/2.84, allocations: 119.6 kB / 1.269 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/2.841, allocations: 50.33 kB / 1.269 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/2.841, allocations: 22.91 kB / 1.269 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009548/2.842, allocations: 0.5724 MB / 1.269 GB, free: 187 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.63e-07/2.842, allocations: 0 / 1.269 GB, free: 187 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001996/2.844, allocations: 0.4919 MB / 1.27 GB, free: 186.9 MB / 0.7761 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.0008848/2.845, allocations: 423.8 kB / 1.27 GB, free: 186.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006996/2.852, allocations: 1.587 MB / 1.272 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.56e-06/2.852, allocations: 0 / 1.272 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/2.856, allocations: 0.6879 MB / 1.272 GB, free: 186.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/2.859, allocations: 394.1 kB / 1.273 GB, free: 186.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/2.863, allocations: 1.832 MB / 1.275 GB, free: 185.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/2.863, allocations: 1.018 MB / 1.276 GB, free: 185 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001651/2.865, allocations: 236.2 kB / 1.276 GB, free: 185 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/2.865, allocations: 61.03 kB / 1.276 GB, free: 185 MB / 0.7761 GB Notification: Performance of SimCode: time 1.601e-06/2.865, allocations: 0 / 1.276 GB, free: 185 MB / 0.7761 GB Notification: Performance of Templates: time 0.04459/2.91, allocations: 20.08 MB / 1.296 GB, free: 183.9 MB / 0.7761 GB