Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadModel(Buildings): time 4.344/4.344, allocations: 431.3 MB / 445.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.274e-05/5.274e-05, allocations: 8 kB / 0.5354 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6459/0.646, allocations: 98.71 MB / 0.6318 GB, free: 12 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002008/0.6481, allocations: 1.132 MB / 0.6329 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.6487, allocations: 204.3 kB / 0.6331 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.6487, allocations: 4 kB / 0.6331 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.6488, allocations: 3.984 kB / 0.6331 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.6489, allocations: 19.91 kB / 0.6331 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.649, allocations: 19.92 kB / 0.6332 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.768e-05/0.6491, allocations: 39.94 kB / 0.6332 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.6492, allocations: 11.98 kB / 0.6332 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.6493, allocations: 15.94 kB / 0.6332 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.6494, allocations: 27.91 kB / 0.6333 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.6494, allocations: 4 kB / 0.6333 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.6494, allocations: 4 kB / 0.6333 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.6495, allocations: 11.91 kB / 0.6333 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.6495, allocations: 8 kB / 0.6333 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.6496, allocations: 54.28 kB / 0.6333 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6497, allocations: 0 / 0.6333 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6497, allocations: 0 / 0.6333 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.6497, allocations: 0 / 0.6333 GB, free: 10.43 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008013/0.6505, allocations: 391.1 kB / 0.6337 GB, free: 10 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6506, allocations: 8.031 kB / 0.6337 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.6506, allocations: 4 kB / 0.6337 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.6508, allocations: 182.9 kB / 0.6339 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.6508, allocations: 3.984 kB / 0.6339 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.6509, allocations: 4 kB / 0.6339 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.6511, allocations: 69.55 kB / 0.634 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6511, allocations: 0 / 0.634 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.6511, allocations: 0 / 0.634 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.6511, allocations: 8 kB / 0.634 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.6513, allocations: 27.98 kB / 0.634 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005832/0.6519, allocations: 316.6 kB / 0.6343 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.652, allocations: 54.55 kB / 0.6344 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6521, allocations: 0 / 0.6344 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.6523, allocations: 91.34 kB / 0.6344 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.6523, allocations: 0 / 0.6344 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0003656/0.6527, allocations: 113.5 kB / 0.6345 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.6527, allocations: 59.36 kB / 0.6346 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.6529, allocations: 117 kB / 0.6347 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.6529, allocations: 29.7 kB / 0.6347 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.653, allocations: 88.14 kB / 0.6348 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.653, allocations: 27.7 kB / 0.6349 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.6531, allocations: 0 / 0.6349 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6532, allocations: 314.8 kB / 0.6352 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.6533, allocations: 23.98 kB / 0.6352 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.717e-05/0.6534, allocations: 47.42 kB / 0.6352 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.6535, allocations: 28.84 kB / 0.6353 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6535, allocations: 3.938 kB / 0.6353 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002359/0.6538, allocations: 97.53 kB / 0.6353 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6538, allocations: 7.984 kB / 0.6354 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.6538, allocations: 4 kB / 0.6354 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.6538, allocations: 0 / 0.6354 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.6539, allocations: 11.94 kB / 0.6354 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6539, allocations: 0 / 0.6354 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.6542, allocations: 28.03 kB / 0.6354 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.6542, allocations: 11.98 kB / 0.6354 GB, free: 8.074 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.6544, allocations: 118.3 kB / 0.6355 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.6544, allocations: 11.84 kB / 0.6355 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.6545, allocations: 8.375 kB / 0.6355 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6545, allocations: 4 kB / 0.6355 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6545, allocations: 0 / 0.6355 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6545, allocations: 4 kB / 0.6355 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.6548, allocations: 197.7 kB / 0.6357 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6548, allocations: 0 / 0.6357 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.6548, allocations: 4 kB / 0.6357 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.6548, allocations: 7.984 kB / 0.6357 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.6548, allocations: 0 / 0.6357 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6548, allocations: 3.938 kB / 0.6358 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6549, allocations: 0 / 0.6358 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.6551, allocations: 124.9 kB / 0.6359 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.6552, allocations: 89.02 kB / 0.636 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.6552, allocations: 0 / 0.636 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.6554, allocations: 23.97 kB / 0.636 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.6555, allocations: 11.98 kB / 0.636 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.6555, allocations: 4 kB / 0.636 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.417e-05/0.6556, allocations: 99.45 kB / 0.6361 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6556, allocations: 4 kB / 0.6361 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002818/0.6559, allocations: 19.94 kB / 0.6361 GB, free: 7.254 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.6561, allocations: 111.7 kB / 0.6362 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.6564, allocations: 59.92 kB / 0.6363 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6564, allocations: 0 / 0.6363 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.6565, allocations: 35.98 kB / 0.6363 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.6568, allocations: 25.69 kB / 0.6363 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.6573, allocations: 198.9 kB / 0.6365 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.6577, allocations: 0.7004 MB / 0.6372 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.234e-05/0.6577, allocations: 4.562 kB / 0.6372 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.6578, allocations: 15.44 kB / 0.6372 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/0.6578, allocations: 0 / 0.6372 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of Templates: time 0.004846/0.6627, allocations: 1.058 MB / 0.6383 GB, free: 5.008 MB / 0.5105 GB