Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadModel(Buildings): time 3.928/3.928, allocations: 432.8 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.2e-05, allocations: 8.984 kB / 0.5337 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1718, allocations: 98.71 MB / 0.6301 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.3691, allocations: 124.9 MB / 0.7521 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.3694, allocations: 75.94 kB / 0.7522 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005193/0.3746, allocations: 1.356 MB / 0.7535 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.958e-06/0.3746, allocations: 0 / 0.7535 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.944e-06/0.3746, allocations: 0 / 0.7535 GB, free: 7.68 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000655/0.3753, allocations: 406.2 kB / 0.7539 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3753, allocations: 8.031 kB / 0.7539 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.3754, allocations: 7.906 kB / 0.7539 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.3756, allocations: 178.9 kB / 0.7541 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3756, allocations: 8 kB / 0.7541 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3757, allocations: 8 kB / 0.7541 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3759, allocations: 73.67 kB / 0.7542 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3759, allocations: 4 kB / 0.7542 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3759, allocations: 0 / 0.7542 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.311e-06/0.3759, allocations: 4 kB / 0.7542 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3761, allocations: 43.98 kB / 0.7542 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.3769, allocations: 360.6 kB / 0.7546 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.3773, allocations: 122.6 kB / 0.7547 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.935e-05/0.3775, allocations: 32.98 kB / 0.7547 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.3775, allocations: 7.984 kB / 0.7547 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.3777, allocations: 87.3 kB / 0.7548 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.829e-06/0.3777, allocations: 0 / 0.7548 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003156/0.3781, allocations: 105.5 kB / 0.7549 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.3781, allocations: 59.41 kB / 0.755 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3783, allocations: 117.2 kB / 0.7551 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3783, allocations: 29.7 kB / 0.7551 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.3784, allocations: 95.98 kB / 0.7552 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.3785, allocations: 27.7 kB / 0.7552 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.3785, allocations: 0 / 0.7552 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3787, allocations: 326.8 kB / 0.7555 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.3788, allocations: 31.94 kB / 0.7556 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3789, allocations: 59.44 kB / 0.7556 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.379, allocations: 27.92 kB / 0.7557 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.149e-06/0.379, allocations: 4 kB / 0.7557 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003114/0.3794, allocations: 117.5 kB / 0.7558 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3794, allocations: 5.094 kB / 0.7558 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3794, allocations: 12.09 kB / 0.7558 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3794, allocations: 0 / 0.7558 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3797, allocations: 35.86 kB / 0.7558 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3797, allocations: 4 kB / 0.7558 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3799, allocations: 35.83 kB / 0.7559 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3799, allocations: 4 kB / 0.7559 GB, free: 5.051 MB / 0.6355 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,triggeredSampler.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000114/0.38, allocations: 109 kB / 0.756 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.3801, allocations: 11.89 kB / 0.756 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.3804, allocations: 118.4 kB / 0.7561 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.361e-06/0.3804, allocations: 0 / 0.7561 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.489e-06/0.3805, allocations: 3.953 kB / 0.7561 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.042e-06/0.3805, allocations: 0 / 0.7561 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.3811, allocations: 394.5 kB / 0.7565 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.3811, allocations: 0 / 0.7565 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3813, allocations: 23.92 kB / 0.7565 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.516e-06/0.3813, allocations: 0 / 0.7565 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3813, allocations: 11.94 kB / 0.7565 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.991e-06/0.3814, allocations: 0 / 0.7565 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.81e-06/0.3814, allocations: 0 / 0.7565 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.3817, allocations: 195.4 kB / 0.7567 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.3817, allocations: 85.02 kB / 0.7568 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.3818, allocations: 4 kB / 0.7568 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.382, allocations: 27.92 kB / 0.7568 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.3821, allocations: 19.97 kB / 0.7568 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3822, allocations: 11.94 kB / 0.7568 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000119/0.3823, allocations: 99.27 kB / 0.7569 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.211e-06/0.3823, allocations: 0 / 0.7569 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006513/0.383, allocations: 19.94 kB / 0.7569 GB, free: 3.832 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.trigger,$whenCondition2,$whenCondition1,booPul1.pulseStart,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000218/0.3832, allocations: 104.1 kB / 0.757 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.3836, allocations: 83.92 kB / 0.7571 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3837, allocations: 0 / 0.7571 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3839, allocations: 36.19 kB / 0.7572 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3843, allocations: 18.17 kB / 0.7572 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.3847, allocations: 129.5 kB / 0.7573 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.3851, allocations: 0.7043 MB / 0.758 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.134e-05/0.3852, allocations: 8.562 kB / 0.758 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.3853, allocations: 15.42 kB / 0.758 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of SimCode: time 1.454e-06/0.3853, allocations: 0 / 0.758 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of Templates: time 0.004472/0.3898, allocations: 1.102 MB / 0.7591 GB, free: 1.598 MB / 0.6355 GB