Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadModel(BuildSysPro): time 2.857/2.857, allocations: 325.3 MB / 337.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.047e-05, allocations: 7.984 kB / 414.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.197, allocations: 74.4 MB / 489.2 MB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.425, allocations: 360.8 MB / 0.8301 GB, free: 150.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/1.425, allocations: 100.4 kB / 0.8302 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.467/2.892, allocations: 356.5 MB / 1.178 GB, free: 45.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/2.892, allocations: 192 / 1.178 GB, free: 45.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.068e-05/2.892, allocations: 39.86 kB / 1.178 GB, free: 45.36 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001907/2.894, allocations: 1.138 MB / 1.18 GB, free: 44.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/2.894, allocations: 12.03 kB / 1.18 GB, free: 44.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/2.895, allocations: 182.7 kB / 1.18 GB, free: 43.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/2.896, allocations: 0.6607 MB / 1.18 GB, free: 43.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/2.896, allocations: 57 kB / 1.18 GB, free: 43.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/2.896, allocations: 84 kB / 1.18 GB, free: 43.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/2.899, allocations: 0.7579 MB / 1.181 GB, free: 42.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/2.9, allocations: 0 / 1.181 GB, free: 42.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/2.9, allocations: 20 kB / 1.181 GB, free: 42.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/2.9, allocations: 15.98 kB / 1.181 GB, free: 42.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/2.902, allocations: 0.5874 MB / 1.182 GB, free: 41.74 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.004319/2.907, allocations: 2.53 MB / 1.184 GB, free: 39.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/2.909, allocations: 466.6 kB / 1.185 GB, free: 38.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/2.91, allocations: 112.8 kB / 1.185 GB, free: 38.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000417/2.91, allocations: 441.4 kB / 1.185 GB, free: 37.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/2.91, allocations: 38.55 kB / 1.185 GB, free: 37.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.99e-06/2.91, allocations: 0 / 1.185 GB, free: 37.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.00486/2.915, allocations: 0.7779 MB / 1.186 GB, free: 37.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/2.915, allocations: 51.41 kB / 1.186 GB, free: 37.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/2.916, allocations: 0.6374 MB / 1.187 GB, free: 36.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/2.916, allocations: 49.7 kB / 1.187 GB, free: 36.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/2.917, allocations: 431.8 kB / 1.187 GB, free: 35.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/2.917, allocations: 86.75 kB / 1.187 GB, free: 35.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/2.917, allocations: 8 kB / 1.187 GB, free: 35.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.979e-05/2.917, allocations: 326 kB / 1.188 GB, free: 35.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/2.917, allocations: 181.1 kB / 1.188 GB, free: 35.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009485/2.918, allocations: 0.8003 MB / 1.189 GB, free: 34.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/2.919, allocations: 249.1 kB / 1.189 GB, free: 34.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/2.919, allocations: 4 kB / 1.189 GB, free: 34.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001353/2.92, allocations: 0.577 MB / 1.189 GB, free: 33.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/2.92, allocations: 0.794 MB / 1.19 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/2.92, allocations: 0 / 1.19 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/2.92, allocations: 8 kB / 1.19 GB, free: 32.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004145/2.925, allocations: 0.515 MB / 1.191 GB, free: 32.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/2.927, allocations: 2.551 MB / 1.193 GB, free: 29.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/2.929, allocations: 439.5 kB / 1.194 GB, free: 29.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/2.93, allocations: 31.97 kB / 1.194 GB, free: 29.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/2.93, allocations: 6.5 kB / 1.194 GB, free: 29.01 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/2.931, allocations: 426.2 kB / 1.194 GB, free: 28.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/2.931, allocations: 8 kB / 1.194 GB, free: 28.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.511e-06/2.931, allocations: 4 kB / 1.194 GB, free: 28.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/2.932, allocations: 172 kB / 1.194 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.841e-06/2.932, allocations: 4 kB / 1.194 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/2.934, allocations: 407.6 kB / 1.195 GB, free: 28.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/2.934, allocations: 27.94 kB / 1.195 GB, free: 27.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002282/2.934, allocations: 149.4 kB / 1.195 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/2.934, allocations: 75.06 kB / 1.195 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/2.935, allocations: 446.6 kB / 1.195 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.815e-06/2.935, allocations: 7.938 kB / 1.195 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.025e-06/2.935, allocations: 0 / 1.195 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.652e-06/2.935, allocations: 0 / 1.195 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/2.938, allocations: 1.09 MB / 1.196 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.026e-06/2.938, allocations: 4 kB / 1.196 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004812/2.942, allocations: 0.4955 MB / 1.197 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.852e-06/2.942, allocations: 0 / 1.197 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/2.943, allocations: 15.94 kB / 1.197 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008523/2.951, allocations: 5.731 MB / 1.202 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.839e-06/2.951, allocations: 0 / 1.202 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/2.952, allocations: 470.2 kB / 1.203 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/2.953, allocations: 207.9 kB / 1.203 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/2.953, allocations: 4 kB / 1.203 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/2.954, allocations: 108 kB / 1.203 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/2.954, allocations: 19.95 kB / 1.203 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/2.954, allocations: 15.98 kB / 1.203 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008678/2.955, allocations: 0.5187 MB / 1.204 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.47e-07/2.955, allocations: 4 kB / 1.204 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001711/2.957, allocations: 499.4 kB / 1.204 GB, free: 17.53 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008154/2.957, allocations: 466.7 kB / 1.205 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004718/2.962, allocations: 0.9897 MB / 1.206 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.871e-06/2.962, allocations: 0 / 1.206 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003456/2.966, allocations: 0.5141 MB / 1.206 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/2.968, allocations: 410.7 kB / 1.206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/2.97, allocations: 0.8956 MB / 1.207 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/2.971, allocations: 0.9678 MB / 1.208 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001575/2.973, allocations: 221.8 kB / 1.209 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/2.973, allocations: 55.41 kB / 1.209 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.018e-06/2.973, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.4122/3.385, allocations: 23.19 MB / 1.231 GB, free: 119.9 MB / 0.6198 GB