Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadModel(Buildings): time 3.787/3.787, allocations: 402 MB / 416.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.143e-05, allocations: 7.938 kB / 0.501 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2253, allocations: 92.69 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.5357/0.761, allocations: 18.47 MB / 0.6095 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.7774, allocations: 7.218 MB / 0.6166 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.779, allocations: 35.84 kB / 0.6166 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.7811, allocations: 431.2 kB / 0.617 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.7853, allocations: 0.8298 MB / 0.6178 GB, free: 12 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.009739/0.7951, allocations: 2.022 MB / 0.6198 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002873/0.798, allocations: 0.8326 MB / 0.6206 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.799, allocations: 384.5 kB / 0.621 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.801, allocations: 0.5532 MB / 0.6215 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.8024, allocations: 386.1 kB / 0.6219 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.8053, allocations: 0.769 MB / 0.6226 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004134/0.8058, allocations: 47.34 kB / 0.6227 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.806, allocations: 138.2 kB / 0.6228 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.8065, allocations: 79.81 kB / 0.6229 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.8089, allocations: 0.8642 MB / 0.6237 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.809, allocations: 1.031 kB / 0.6237 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.621e-06/0.809, allocations: 0 / 0.6237 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.808e-05/0.8091, allocations: 3.938 kB / 0.6237 GB, free: 13.62 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003063/0.8121, allocations: 0.9062 MB / 0.6246 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.8122, allocations: 7.719 kB / 0.6246 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.8147, allocations: 187.8 kB / 0.6248 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.8165, allocations: 0.5048 MB / 0.6253 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.818e-05/0.8166, allocations: 39.34 kB / 0.6253 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.8168, allocations: 57.67 kB / 0.6254 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007948/0.8248, allocations: 0.9232 MB / 0.6263 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.8249, allocations: 1.828 kB / 0.6263 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.825, allocations: 22.47 kB / 0.6263 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.8251, allocations: 19.11 kB / 0.6263 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008262/0.8334, allocations: 0.7312 MB / 0.627 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009116/0.8425, allocations: 3.196 MB / 0.6302 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/0.8495, allocations: 0.5784 MB / 0.6307 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.85, allocations: 105 kB / 0.6308 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.8501, allocations: 44.02 kB / 0.6309 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 4.188e-06/0.8501, allocations: 0 / 0.6309 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.01403/0.8642, allocations: 1.018 MB / 0.6319 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.8644, allocations: 157.4 kB / 0.632 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.8661, allocations: 0.601 MB / 0.6326 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.8663, allocations: 32.39 kB / 0.6326 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.8669, allocations: 384.2 kB / 0.633 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.8671, allocations: 81.7 kB / 0.6331 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.8672, allocations: 10 kB / 0.6331 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002865/0.8675, allocations: 381 kB / 0.6334 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.8695, allocations: 246.3 kB / 0.6337 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.8714, allocations: 437.3 kB / 0.6341 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.8732, allocations: 281.2 kB / 0.6344 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.8732, allocations: 2.156 kB / 0.6344 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003957/0.8772, allocations: 0.7509 MB / 0.6351 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009015/0.8781, allocations: 1.838 MB / 0.6369 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.8782, allocations: 4.562 kB / 0.6369 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.8782, allocations: 7.75 kB / 0.6369 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/0.8848, allocations: 454.6 kB / 0.6373 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.8905, allocations: 1.98 MB / 0.6393 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/0.8939, allocations: 151.5 kB / 0.6394 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.8943, allocations: 33.97 kB / 0.6395 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8943, allocations: 11 kB / 0.6395 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004469/0.8988, allocations: 0.5918 MB / 0.64 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.8989, allocations: 5.438 kB / 0.64 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.899, allocations: 7.625 kB / 0.6401 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.9015, allocations: 170.2 kB / 0.6402 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.502e-05/0.9016, allocations: 17.89 kB / 0.6402 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.9043, allocations: 121.5 kB / 0.6403 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.9046, allocations: 28 kB / 0.6404 GB, free: 2.758 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * 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.0009202/0.9055, allocations: 198.1 kB / 0.6406 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/0.9061, allocations: 72.17 kB / 0.6406 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/0.9107, allocations: 0.5182 MB / 0.6411 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/0.9108, allocations: 4.531 kB / 0.6411 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.9108, allocations: 0 / 0.6411 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006788/0.9115, allocations: 193.6 kB / 0.6413 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.9117, allocations: 6.75 kB / 0.6413 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/0.9143, allocations: 97.8 kB / 0.6414 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.9146, allocations: 23.41 kB / 0.6414 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01095/0.9256, allocations: 1.259 MB / 0.6427 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006108/0.9317, allocations: 1.272 MB / 0.6439 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001814/0.9336, allocations: 212.9 kB / 0.6441 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001421/0.9351, allocations: 464.6 kB / 0.6446 GB, free: 364 kB / 0.5105 GB Notification: Performance of Backend: time 1.092e-06/0.9351, allocations: 0 / 0.6446 GB, free: 364 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02333/0.9584, allocations: 0.8718 MB / 0.6454 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of SimCode: time 0.01135/0.9698, allocations: 1.954 MB / 0.6473 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.06379/1.034, allocations: 14.45 MB / 0.6614 GB, free: 6.352 MB / 0.5261 GB