Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(Buildings): time 4.57/4.57, allocations: 464.7 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.434e-05, allocations: 4 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.198, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.219, allocations: 395.2 MB / 1.064 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.219, allocations: 94.81 kB / 1.064 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.352/2.571, allocations: 293.3 MB / 1.35 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.955e-06/2.571, allocations: 0 / 1.35 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.176e-05/2.571, allocations: 31.98 kB / 1.35 GB, free: 111.5 MB / 0.8855 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.002503/2.574, allocations: 1.232 MB / 1.351 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/2.574, allocations: 8.031 kB / 1.351 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/2.574, allocations: 126.6 kB / 1.352 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/2.576, allocations: 0.6562 MB / 1.352 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/2.576, allocations: 49.31 kB / 1.352 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/2.576, allocations: 72 kB / 1.352 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/2.578, allocations: 0.6366 MB / 1.353 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/2.578, allocations: 7.938 kB / 1.353 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/2.578, allocations: 24 kB / 1.353 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/2.578, allocations: 12 kB / 1.353 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000918/2.579, allocations: 422.4 kB / 1.353 GB, free: 108.1 MB / 0.8855 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.00465/2.583, allocations: 2.608 MB / 1.356 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/2.584, allocations: 327.7 kB / 1.356 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/2.584, allocations: 196.8 kB / 1.356 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/2.585, allocations: 348.4 kB / 1.357 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007642/2.586, allocations: 325.2 kB / 1.357 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 8.636e-06/2.586, allocations: 4.047 kB / 1.357 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.002524/2.588, allocations: 0.5668 MB / 1.358 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/2.588, allocations: 239.6 kB / 1.358 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/2.591, allocations: 0.7181 MB / 1.359 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/2.591, allocations: 41.7 kB / 1.359 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/2.591, allocations: 436.5 kB / 1.359 GB, free: 102 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/2.592, allocations: 122.3 kB / 1.359 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/2.592, allocations: 12 kB / 1.359 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/2.592, allocations: 329.9 kB / 1.359 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/2.593, allocations: 197.3 kB / 1.36 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/2.594, allocations: 396.4 kB / 1.36 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/2.595, allocations: 255 kB / 1.36 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.893e-06/2.595, allocations: 4 kB / 1.36 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002743/2.597, allocations: 0.7407 MB / 1.361 GB, free: 99.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003564/2.598, allocations: 1.082 MB / 1.362 GB, free: 98.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/2.598, allocations: 4 kB / 1.362 GB, free: 98.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.421e-05/2.598, allocations: 8 kB / 1.362 GB, free: 98.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/2.6, allocations: 163.7 kB / 1.362 GB, free: 98.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/2.601, allocations: 1.774 MB / 1.364 GB, free: 96.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/2.603, allocations: 131.5 kB / 1.364 GB, free: 96.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/2.604, allocations: 28 kB / 1.364 GB, free: 96.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/2.604, allocations: 7.953 kB / 1.364 GB, free: 96.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002592/2.606, allocations: 0.6542 MB / 1.365 GB, free: 95.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/2.606, allocations: 4 kB / 1.365 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/2.607, allocations: 4 kB / 1.365 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/2.608, allocations: 127.9 kB / 1.365 GB, free: 95.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/2.608, allocations: 16.28 kB / 1.365 GB, free: 95.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/2.61, allocations: 115.4 kB / 1.365 GB, free: 95.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/2.61, allocations: 28 kB / 1.365 GB, free: 95.55 MB / 0.8855 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.0003861/2.611, allocations: 187 kB / 1.365 GB, free: 95.35 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/2.611, allocations: 94.83 kB / 1.365 GB, free: 95.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/2.614, allocations: 0.7042 MB / 1.366 GB, free: 94.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/2.614, allocations: 8 kB / 1.366 GB, free: 94.53 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/2.614, allocations: 0 / 1.366 GB, free: 94.53 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/2.614, allocations: 3.984 kB / 1.366 GB, free: 94.53 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004834/2.619, allocations: 1.56 MB / 1.368 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/2.619, allocations: 0 / 1.368 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/2.62, allocations: 99.94 kB / 1.368 GB, free: 92.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/2.62, allocations: 4 kB / 1.368 GB, free: 92.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.844e-05/2.62, allocations: 16 kB / 1.368 GB, free: 92.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/2.621, allocations: 1.766 MB / 1.369 GB, free: 90.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/2.622, allocations: 0 / 1.369 GB, free: 90.94 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/2.625, allocations: 1.192 MB / 1.371 GB, free: 89.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008512/2.626, allocations: 231.8 kB / 1.371 GB, free: 89.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/2.626, allocations: 19.95 kB / 1.371 GB, free: 89.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/2.628, allocations: 79.92 kB / 1.371 GB, free: 89.35 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/2.629, allocations: 47.92 kB / 1.371 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/2.629, allocations: 24.08 kB / 1.371 GB, free: 89.28 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001671/2.63, allocations: 0.5436 MB / 1.371 GB, free: 88.72 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.754e-06/2.63, allocations: 0 / 1.371 GB, free: 88.72 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003698/2.634, allocations: 0.503 MB / 1.372 GB, free: 88.22 MB / 0.8855 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.001847/2.636, allocations: 0.4944 MB / 1.372 GB, free: 87.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00407/2.64, allocations: 0.9566 MB / 1.373 GB, free: 86.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/2.64, allocations: 0 / 1.373 GB, free: 86.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/2.642, allocations: 331.2 kB / 1.374 GB, free: 86.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/2.646, allocations: 367.7 kB / 1.374 GB, free: 86.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/2.651, allocations: 1.071 MB / 1.375 GB, free: 84.95 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008394/2.652, allocations: 1.018 MB / 1.376 GB, free: 83.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002241/2.654, allocations: 213.1 kB / 1.376 GB, free: 83.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/2.655, allocations: 55.42 kB / 1.376 GB, free: 83.63 MB / 0.8855 GB Notification: Performance of SimCode: time 4.443e-06/2.655, allocations: 0 / 1.376 GB, free: 83.63 MB / 0.8855 GB Notification: Performance of Templates: time 0.07429/2.729, allocations: 19.07 MB / 1.395 GB, free: 64.73 MB / 0.8855 GB