Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(BuildSysPro): time 3.096/3.096, allocations: 325.3 MB / 337.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.892e-05, allocations: 7.984 kB / 414.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 74.42 MB / 489.2 MB, free: 11.56 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.352, allocations: 362.5 MB / 0.8318 GB, free: 148.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.353, allocations: 93.88 kB / 0.8318 GB, free: 148.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.204/2.556, allocations: 297.1 MB / 1.122 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.207e-06/2.556, allocations: 0 / 1.122 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.537e-05/2.556, allocations: 39.92 kB / 1.122 GB, free: 103.6 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002275/2.559, allocations: 1.217 MB / 1.123 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/2.559, allocations: 12.03 kB / 1.123 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009039/2.56, allocations: 194.5 kB / 1.123 GB, free: 102.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/2.561, allocations: 0.6562 MB / 1.124 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.123e-05/2.561, allocations: 45.31 kB / 1.124 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/2.561, allocations: 68 kB / 1.124 GB, free: 101.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/2.565, allocations: 0.87 MB / 1.125 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/2.565, allocations: 0 / 1.125 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.991e-05/2.565, allocations: 24 kB / 1.125 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/2.565, allocations: 15.95 kB / 1.125 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/2.568, allocations: 0.6346 MB / 1.126 GB, free: 99.7 MB / 0.6198 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.004468/2.572, allocations: 2.599 MB / 1.128 GB, free: 96.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/2.575, allocations: 0.5314 MB / 1.129 GB, free: 96.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/2.575, allocations: 181.1 kB / 1.129 GB, free: 96.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004303/2.576, allocations: 441.5 kB / 1.129 GB, free: 95.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002373/2.578, allocations: 0.519 MB / 1.13 GB, free: 95.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 3.876e-06/2.578, allocations: 0 / 1.13 GB, free: 95.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.004975/2.583, allocations: 0.9764 MB / 1.131 GB, free: 94.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/2.583, allocations: 192.2 kB / 1.131 GB, free: 93.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/2.584, allocations: 0.7016 MB / 1.132 GB, free: 93.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/2.584, allocations: 41.7 kB / 1.132 GB, free: 93.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/2.585, allocations: 448.3 kB / 1.132 GB, free: 92.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/2.585, allocations: 110.8 kB / 1.132 GB, free: 92.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/2.585, allocations: 11.94 kB / 1.132 GB, free: 92.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/2.585, allocations: 333.9 kB / 1.133 GB, free: 92.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/2.586, allocations: 237.3 kB / 1.133 GB, free: 92.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/2.586, allocations: 426.7 kB / 1.133 GB, free: 91.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/2.587, allocations: 295.9 kB / 1.133 GB, free: 91.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.944e-06/2.587, allocations: 0 / 1.133 GB, free: 91.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001857/2.589, allocations: 0.8112 MB / 1.134 GB, free: 90.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/2.589, allocations: 1.074 MB / 1.135 GB, free: 89.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/2.589, allocations: 7.938 kB / 1.135 GB, free: 89.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/2.589, allocations: 4 kB / 1.135 GB, free: 89.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/2.592, allocations: 431.5 kB / 1.136 GB, free: 88.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/2.594, allocations: 1.922 MB / 1.138 GB, free: 86.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/2.596, allocations: 171.3 kB / 1.138 GB, free: 86.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/2.596, allocations: 39.97 kB / 1.138 GB, free: 86.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/2.596, allocations: 4 kB / 1.138 GB, free: 86.66 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001572/2.598, allocations: 0.6975 MB / 1.139 GB, free: 85.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.413e-06/2.598, allocations: 3.984 kB / 1.139 GB, free: 85.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/2.598, allocations: 11.94 kB / 1.139 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/2.599, allocations: 163.8 kB / 1.139 GB, free: 85.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/2.599, allocations: 8 kB / 1.139 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/2.6, allocations: 147.5 kB / 1.139 GB, free: 85.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/2.6, allocations: 27.98 kB / 1.139 GB, free: 85.6 MB / 0.6198 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.0002753/2.601, allocations: 182.5 kB / 1.139 GB, free: 85.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/2.601, allocations: 94.83 kB / 1.139 GB, free: 85.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/2.603, allocations: 0.7021 MB / 1.14 GB, free: 84.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.097e-06/2.603, allocations: 4 kB / 1.14 GB, free: 84.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.388e-06/2.603, allocations: 0 / 1.14 GB, free: 84.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.429e-06/2.603, allocations: 4 kB / 1.14 GB, free: 84.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/2.606, allocations: 1.434 MB / 1.141 GB, free: 83.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/2.606, allocations: 8 kB / 1.141 GB, free: 83.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/2.609, allocations: 399.6 kB / 1.142 GB, free: 82.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/2.609, allocations: 0 / 1.142 GB, free: 82.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/2.609, allocations: 27.91 kB / 1.142 GB, free: 82.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005742/2.615, allocations: 4.296 MB / 1.146 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.578e-06/2.615, allocations: 0 / 1.146 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/2.617, allocations: 1.001 MB / 1.147 GB, free: 76.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/2.618, allocations: 231.8 kB / 1.147 GB, free: 76.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/2.618, allocations: 8 kB / 1.147 GB, free: 76.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/2.619, allocations: 120 kB / 1.147 GB, free: 76.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/2.619, allocations: 51.86 kB / 1.147 GB, free: 76.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/2.619, allocations: 23.97 kB / 1.147 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000924/2.62, allocations: 0.5787 MB / 1.148 GB, free: 75.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.37e-07/2.62, allocations: 0 / 1.148 GB, free: 75.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001809/2.622, allocations: 487.3 kB / 1.148 GB, free: 75.43 MB / 0.6198 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.0009973/2.623, allocations: 456.8 kB / 1.149 GB, free: 74.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004292/2.627, allocations: 1.242 MB / 1.15 GB, free: 73.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.95e-06/2.627, allocations: 7.938 kB / 1.15 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002797/2.63, allocations: 0.558 MB / 1.15 GB, free: 73.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/2.633, allocations: 357 kB / 1.151 GB, free: 72.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/2.635, allocations: 1.043 MB / 1.152 GB, free: 71.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/2.636, allocations: 1.007 MB / 1.153 GB, free: 70.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001392/2.637, allocations: 213.1 kB / 1.153 GB, free: 70.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/2.637, allocations: 55.41 kB / 1.153 GB, free: 70.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.841e-06/2.637, allocations: 0 / 1.153 GB, free: 70.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.04205/2.679, allocations: 19.87 MB / 1.172 GB, free: 50.7 MB / 0.6198 GB