Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(Buildings): time 3.933/3.933, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.401e-05, allocations: 6.266 kB / 0.5337 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1734, allocations: 98.72 MB / 0.6301 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9466/1.12, allocations: 386.1 MB / 1.007 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.12, allocations: 97 kB / 1.007 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.373/2.493, allocations: 290.4 MB / 1.291 GB, free: 129.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.109e-06/2.494, allocations: 0 / 1.291 GB, free: 129.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.934e-05/2.494, allocations: 23.98 kB / 1.291 GB, free: 129.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002332/2.496, allocations: 1.219 MB / 1.292 GB, free: 127.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/2.496, allocations: 8.031 kB / 1.292 GB, free: 127.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/2.496, allocations: 114.7 kB / 1.292 GB, free: 127.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/2.498, allocations: 0.6484 MB / 1.293 GB, free: 127.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/2.498, allocations: 45.31 kB / 1.293 GB, free: 127.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/2.498, allocations: 67.98 kB / 1.293 GB, free: 127 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/2.499, allocations: 0.6147 MB / 1.294 GB, free: 126.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/2.499, allocations: 0 / 1.294 GB, free: 126.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.562e-05/2.499, allocations: 24 kB / 1.294 GB, free: 126.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/2.499, allocations: 15.98 kB / 1.294 GB, free: 126.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008549/2.5, allocations: 398.2 kB / 1.294 GB, free: 125.9 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004251/2.505, allocations: 2.396 MB / 1.296 GB, free: 123.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/2.505, allocations: 309.1 kB / 1.297 GB, free: 123.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/2.506, allocations: 173.1 kB / 1.297 GB, free: 122.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/2.506, allocations: 344.3 kB / 1.297 GB, free: 122.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005168/2.506, allocations: 313.5 kB / 1.297 GB, free: 122.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.766e-06/2.506, allocations: 0 / 1.297 GB, free: 122.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.001187/2.508, allocations: 484.4 kB / 1.298 GB, free: 121.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/2.508, allocations: 239.6 kB / 1.298 GB, free: 121.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/2.509, allocations: 0.7012 MB / 1.299 GB, free: 120.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.622e-05/2.509, allocations: 41.7 kB / 1.299 GB, free: 120.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/2.509, allocations: 440.3 kB / 1.299 GB, free: 120.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/2.509, allocations: 106.5 kB / 1.299 GB, free: 120.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/2.509, allocations: 12 kB / 1.299 GB, free: 120.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/2.51, allocations: 334 kB / 1.3 GB, free: 119.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/2.51, allocations: 185.1 kB / 1.3 GB, free: 119.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/2.51, allocations: 373.3 kB / 1.3 GB, free: 119.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/2.511, allocations: 246.7 kB / 1.3 GB, free: 118.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.756e-06/2.511, allocations: 0 / 1.3 GB, free: 118.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001403/2.512, allocations: 0.6511 MB / 1.301 GB, free: 118.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/2.513, allocations: 0.912 MB / 1.302 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.014e-06/2.513, allocations: 0 / 1.302 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/2.513, allocations: 8 kB / 1.302 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/2.514, allocations: 155.7 kB / 1.302 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008465/2.515, allocations: 1.778 MB / 1.304 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/2.516, allocations: 135.5 kB / 1.304 GB, free: 115.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/2.516, allocations: 31.94 kB / 1.304 GB, free: 115.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/2.516, allocations: 4 kB / 1.304 GB, free: 115.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/2.517, allocations: 0.5528 MB / 1.305 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.835e-06/2.517, allocations: 0 / 1.305 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/2.517, allocations: 4 kB / 1.305 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/2.518, allocations: 136.1 kB / 1.305 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.925e-06/2.518, allocations: 4 kB / 1.305 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/2.519, allocations: 119.3 kB / 1.305 GB, free: 114.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/2.519, allocations: 31.98 kB / 1.305 GB, free: 114.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (64): * Single equations (assignments): 60 * 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.0002469/2.519, allocations: 182.5 kB / 1.305 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/2.519, allocations: 86.97 kB / 1.305 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/2.521, allocations: 0.5538 MB / 1.306 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.835e-06/2.521, allocations: 4 kB / 1.306 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.773e-06/2.521, allocations: 4 kB / 1.306 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.959e-06/2.521, allocations: 0 / 1.306 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/2.523, allocations: 1.204 MB / 1.307 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/2.523, allocations: 0 / 1.307 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/2.524, allocations: 87.81 kB / 1.307 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.084e-06/2.524, allocations: 0 / 1.307 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/2.524, allocations: 15.98 kB / 1.307 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006751/2.524, allocations: 1.766 MB / 1.309 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.603e-06/2.524, allocations: 4.281 kB / 1.309 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/2.526, allocations: 0.7903 MB / 1.309 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/2.526, allocations: 227.8 kB / 1.31 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/2.527, allocations: 12 kB / 1.31 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/2.527, allocations: 75.98 kB / 1.31 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/2.527, allocations: 39.89 kB / 1.31 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/2.528, allocations: 27.98 kB / 1.31 GB, free: 108.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008904/2.528, allocations: 0.5629 MB / 1.31 GB, free: 108.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.3e-07/2.528, allocations: 0 / 1.31 GB, free: 108.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00164/2.53, allocations: 499.2 kB / 1.311 GB, free: 107.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 26 * 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.001004/2.531, allocations: 493.7 kB / 1.311 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002025/2.533, allocations: 0.9064 MB / 1.312 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.017e-06/2.533, allocations: 4.125 kB / 1.312 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005418/2.534, allocations: 279.2 kB / 1.312 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/2.536, allocations: 360.6 kB / 1.313 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/2.538, allocations: 0.9774 MB / 1.314 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/2.539, allocations: 1.007 MB / 1.315 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001137/2.54, allocations: 196.9 kB / 1.315 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/2.54, allocations: 51.42 kB / 1.315 GB, free: 103.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.694e-06/2.54, allocations: 0 / 1.315 GB, free: 103.5 MB / 0.823 GB Notification: Performance of Templates: time 0.03971/2.58, allocations: 18.72 MB / 1.333 GB, free: 84.96 MB / 0.823 GB