Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(Buildings): time 4.224/4.224, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.62e-05, allocations: 4 kB / 0.5681 GB, free: 10.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1933, allocations: 106.2 MB / 0.6718 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.332, allocations: 394.8 MB / 1.057 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/1.332, allocations: 95.56 kB / 1.057 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.358/2.69, allocations: 293.3 MB / 1.344 GB, free: 94.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.881e-06/2.69, allocations: 0 / 1.344 GB, free: 94.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001202/2.69, allocations: 24 kB / 1.344 GB, free: 94.14 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003685/2.694, allocations: 1.24 MB / 1.345 GB, free: 92.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/2.694, allocations: 12.03 kB / 1.345 GB, free: 92.83 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/2.694, allocations: 118.6 kB / 1.345 GB, free: 92.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/2.697, allocations: 0.66 MB / 1.346 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/2.697, allocations: 49.31 kB / 1.346 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/2.697, allocations: 64 kB / 1.346 GB, free: 91.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/2.699, allocations: 0.6443 MB / 1.347 GB, free: 91.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/2.699, allocations: 7.891 kB / 1.347 GB, free: 91.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/2.699, allocations: 28 kB / 1.347 GB, free: 91.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/2.699, allocations: 12 kB / 1.347 GB, free: 91.17 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008874/2.7, allocations: 418.5 kB / 1.347 GB, free: 90.76 MB / 0.8698 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.004372/2.704, allocations: 2.593 MB / 1.35 GB, free: 88.04 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/2.705, allocations: 334.5 kB / 1.35 GB, free: 87.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/2.706, allocations: 192.8 kB / 1.35 GB, free: 87.51 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/2.706, allocations: 344.9 kB / 1.35 GB, free: 87.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/2.706, allocations: 325.4 kB / 1.351 GB, free: 86.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 3.277e-06/2.706, allocations: 0 / 1.351 GB, free: 86.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001339/2.708, allocations: 0.5629 MB / 1.351 GB, free: 86.17 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/2.708, allocations: 243.5 kB / 1.351 GB, free: 85.88 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/2.709, allocations: 0.7221 MB / 1.352 GB, free: 85.13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/2.709, allocations: 41.7 kB / 1.352 GB, free: 85.08 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/2.709, allocations: 428.4 kB / 1.353 GB, free: 84.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/2.71, allocations: 118.3 kB / 1.353 GB, free: 84.54 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/2.71, allocations: 15.94 kB / 1.353 GB, free: 84.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/2.71, allocations: 334 kB / 1.353 GB, free: 84.19 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/2.71, allocations: 197.3 kB / 1.353 GB, free: 84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/2.711, allocations: 393.8 kB / 1.354 GB, free: 83.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/2.711, allocations: 258.6 kB / 1.354 GB, free: 83.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.111e-06/2.711, allocations: 0 / 1.354 GB, free: 83.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001586/2.713, allocations: 0.7332 MB / 1.355 GB, free: 82.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000243/2.713, allocations: 1.082 MB / 1.356 GB, free: 81.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/2.713, allocations: 4 kB / 1.356 GB, free: 81.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/2.713, allocations: 4 kB / 1.356 GB, free: 81.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/2.714, allocations: 163.8 kB / 1.356 GB, free: 81.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008364/2.715, allocations: 1.778 MB / 1.358 GB, free: 79.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/2.716, allocations: 135.3 kB / 1.358 GB, free: 79.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/2.716, allocations: 28 kB / 1.358 GB, free: 79.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/2.716, allocations: 4 kB / 1.358 GB, free: 79.19 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/2.718, allocations: 0.6504 MB / 1.358 GB, free: 78.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.15e-06/2.718, allocations: 4 kB / 1.358 GB, free: 78.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/2.718, allocations: 11.94 kB / 1.358 GB, free: 78.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/2.718, allocations: 127.9 kB / 1.359 GB, free: 78.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/2.718, allocations: 11.94 kB / 1.359 GB, free: 78.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009807/2.719, allocations: 127.5 kB / 1.359 GB, free: 78.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/2.72, allocations: 28 kB / 1.359 GB, free: 78.23 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($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,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * 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.0002139/2.72, allocations: 177.3 kB / 1.359 GB, free: 78.04 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/2.72, allocations: 98.88 kB / 1.359 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/2.722, allocations: 0.6961 MB / 1.36 GB, free: 77.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/2.722, allocations: 4 kB / 1.36 GB, free: 77.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.138e-06/2.722, allocations: 96 / 1.36 GB, free: 77.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.052e-06/2.722, allocations: 7.984 kB / 1.36 GB, free: 77.22 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/2.724, allocations: 1.56 MB / 1.361 GB, free: 75.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/2.724, allocations: 0 / 1.361 GB, free: 75.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/2.725, allocations: 95.81 kB / 1.361 GB, free: 75.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/2.725, allocations: 8.125 kB / 1.361 GB, free: 75.49 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/2.725, allocations: 19.98 kB / 1.361 GB, free: 75.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006382/2.726, allocations: 1.762 MB / 1.363 GB, free: 73.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.963e-06/2.726, allocations: 0 / 1.363 GB, free: 73.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/2.727, allocations: 1.2 MB / 1.364 GB, free: 72.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/2.728, allocations: 231.7 kB / 1.364 GB, free: 72.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/2.728, allocations: 16 kB / 1.364 GB, free: 72.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008339/2.729, allocations: 67.98 kB / 1.364 GB, free: 72.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/2.729, allocations: 51.92 kB / 1.365 GB, free: 72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/2.729, allocations: 27.98 kB / 1.365 GB, free: 71.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000837/2.73, allocations: 0.5475 MB / 1.365 GB, free: 71.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.6e-07/2.73, allocations: 0 / 1.365 GB, free: 71.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001744/2.732, allocations: 0.4952 MB / 1.366 GB, free: 70.92 MB / 0.8698 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.000997/2.733, allocations: 0.4898 MB / 1.366 GB, free: 70.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00209/2.735, allocations: 0.9496 MB / 1.367 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.953e-06/2.735, allocations: 8.062 kB / 1.367 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/2.735, allocations: 323.2 kB / 1.367 GB, free: 69.12 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/2.738, allocations: 373 kB / 1.368 GB, free: 68.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/2.74, allocations: 1.062 MB / 1.369 GB, free: 67.66 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/2.741, allocations: 1.015 MB / 1.37 GB, free: 66.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001235/2.742, allocations: 213 kB / 1.37 GB, free: 66.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/2.742, allocations: 59.41 kB / 1.37 GB, free: 66.34 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/2.742, allocations: 0 / 1.37 GB, free: 66.34 MB / 0.8698 GB Notification: Performance of Templates: time 0.04162/2.784, allocations: 19.03 MB / 1.389 GB, free: 47.47 MB / 0.8698 GB