Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(IBPSA): time 2.858/2.858, allocations: 288.1 MB / 300.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.402e-05, allocations: 7.156 kB / 370.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 67.02 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.322, allocations: 362.4 MB / 0.7813 GB, free: 198.4 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.322, allocations: 96.08 kB / 0.7814 GB, free: 198.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.262/2.584, allocations: 301.3 MB / 1.076 GB, free: 128.8 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.314e-06/2.584, allocations: 11.19 kB / 1.076 GB, free: 128.8 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.29e-05/2.584, allocations: 27.14 kB / 1.076 GB, free: 128.7 MB / 0.573 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.002616/2.587, allocations: 1.249 MB / 1.077 GB, free: 127.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/2.587, allocations: 8.031 kB / 1.077 GB, free: 127.4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003608/2.587, allocations: 118.6 kB / 1.077 GB, free: 127.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/2.589, allocations: 0.6568 MB / 1.078 GB, free: 126.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/2.589, allocations: 61.2 kB / 1.078 GB, free: 126.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/2.589, allocations: 64 kB / 1.078 GB, free: 126.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/2.59, allocations: 0.6432 MB / 1.078 GB, free: 125.9 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/2.59, allocations: 0 / 1.078 GB, free: 125.9 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/2.591, allocations: 24 kB / 1.078 GB, free: 125.8 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/2.591, allocations: 16 kB / 1.078 GB, free: 125.8 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/2.591, allocations: 422.3 kB / 1.079 GB, free: 125.4 MB / 0.573 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.004769/2.596, allocations: 2.596 MB / 1.081 GB, free: 122.7 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007795/2.597, allocations: 345.1 kB / 1.082 GB, free: 122.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/2.598, allocations: 188.3 kB / 1.082 GB, free: 122.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/2.598, allocations: 344.7 kB / 1.082 GB, free: 121.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/2.598, allocations: 332.2 kB / 1.082 GB, free: 121.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=37): time 4.287e-06/2.598, allocations: 0 / 1.082 GB, free: 121.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=37): time 0.001438/2.6, allocations: 0.5628 MB / 1.083 GB, free: 120.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/2.6, allocations: 242.2 kB / 1.083 GB, free: 120.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/2.601, allocations: 0.7104 MB / 1.084 GB, free: 119.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/2.601, allocations: 41.7 kB / 1.084 GB, free: 119.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/2.602, allocations: 444.3 kB / 1.084 GB, free: 119.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/2.602, allocations: 123 kB / 1.085 GB, free: 119.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/2.602, allocations: 10.84 kB / 1.085 GB, free: 119.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/2.602, allocations: 326 kB / 1.085 GB, free: 118.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/2.602, allocations: 197.3 kB / 1.085 GB, free: 118.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/2.603, allocations: 394.4 kB / 1.085 GB, free: 118.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/2.604, allocations: 263.1 kB / 1.086 GB, free: 118 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.942e-06/2.604, allocations: 0 / 1.086 GB, free: 118 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00166/2.605, allocations: 0.7361 MB / 1.086 GB, free: 117.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/2.606, allocations: 1.079 MB / 1.087 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/2.606, allocations: 7.938 kB / 1.087 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/2.606, allocations: 4 kB / 1.087 GB, free: 116.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/2.607, allocations: 159.7 kB / 1.088 GB, free: 115.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008647/2.608, allocations: 1.779 MB / 1.089 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/2.609, allocations: 133.5 kB / 1.089 GB, free: 113.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/2.609, allocations: 35.61 kB / 1.089 GB, free: 113.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/2.609, allocations: 4 kB / 1.089 GB, free: 113.9 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001433/2.611, allocations: 0.6499 MB / 1.09 GB, free: 113.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.222e-06/2.611, allocations: 3.984 kB / 1.09 GB, free: 113.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/2.611, allocations: 8 kB / 1.09 GB, free: 113.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/2.611, allocations: 131.8 kB / 1.09 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/2.611, allocations: 4 kB / 1.09 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/2.613, allocations: 126.2 kB / 1.09 GB, free: 113 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/2.613, allocations: 39.94 kB / 1.09 GB, free: 113 MB / 0.573 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.0002539/2.613, allocations: 170.5 kB / 1.091 GB, free: 112.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/2.613, allocations: 98.12 kB / 1.091 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/2.615, allocations: 0.6941 MB / 1.091 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/2.615, allocations: 7.984 kB / 1.091 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-06/2.615, allocations: 4 kB / 1.091 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-06/2.615, allocations: 0 / 1.091 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/2.618, allocations: 1.558 MB / 1.093 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/2.618, allocations: 3.609 kB / 1.093 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/2.618, allocations: 102.3 kB / 1.093 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/2.618, allocations: 4 kB / 1.093 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/2.619, allocations: 18.7 kB / 1.093 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006691/2.619, allocations: 1.765 MB / 1.095 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.451e-06/2.619, allocations: 11.86 kB / 1.095 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/2.621, allocations: 1.19 MB / 1.096 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/2.622, allocations: 231.8 kB / 1.096 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/2.622, allocations: 16 kB / 1.096 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/2.623, allocations: 78.77 kB / 1.096 GB, free: 106.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/2.623, allocations: 55.81 kB / 1.096 GB, free: 106.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.409e-05/2.623, allocations: 20 kB / 1.096 GB, free: 106.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009503/2.624, allocations: 0.5436 MB / 1.097 GB, free: 106.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.58e-07/2.624, allocations: 0 / 1.097 GB, free: 106.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002233/2.626, allocations: 0.4915 MB / 1.097 GB, free: 105.7 MB / 0.573 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.001179/2.628, allocations: 497.1 kB / 1.098 GB, free: 105.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002391/2.63, allocations: 0.9534 MB / 1.099 GB, free: 104.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.165e-06/2.63, allocations: 0 / 1.099 GB, free: 104.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/2.631, allocations: 339.8 kB / 1.099 GB, free: 103.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/2.633, allocations: 378.1 kB / 1.099 GB, free: 103.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/2.636, allocations: 1.065 MB / 1.1 GB, free: 102.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/2.637, allocations: 1.011 MB / 1.101 GB, free: 101.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001241/2.638, allocations: 211.6 kB / 1.102 GB, free: 101.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/2.638, allocations: 63.34 kB / 1.102 GB, free: 101.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.66e-06/2.638, allocations: 0 / 1.102 GB, free: 101.2 MB / 0.573 GB Notification: Performance of Templates: time 0.04048/2.679, allocations: 19.07 MB / 1.12 GB, free: 82.44 MB / 0.573 GB