Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadModel(Buildings): time 3.552/3.552, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.043e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.473, allocations: 92.7 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.6766, allocations: 122 MB / 0.7087 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.6769, allocations: 87.94 kB / 0.7088 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005454/0.6824, allocations: 1.382 MB / 0.7101 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.322e-06/0.6824, allocations: 4 kB / 0.7101 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.852e-06/0.6824, allocations: 0 / 0.7101 GB, free: 2.902 MB / 0.5886 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.0006482/0.6831, allocations: 398.3 kB / 0.7105 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6832, allocations: 8.031 kB / 0.7105 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.6832, allocations: 15.86 kB / 0.7105 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.6834, allocations: 171 kB / 0.7107 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.6834, allocations: 12 kB / 0.7107 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.6835, allocations: 4 kB / 0.7107 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.6837, allocations: 77.61 kB / 0.7108 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.24e-06/0.6837, allocations: 0 / 0.7108 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.6837, allocations: 0 / 0.7108 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.6837, allocations: 0 / 0.7108 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.6839, allocations: 55.92 kB / 0.7108 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.6847, allocations: 364.6 kB / 0.7112 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.6851, allocations: 122.6 kB / 0.7113 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.6853, allocations: 28.86 kB / 0.7113 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.6853, allocations: 0 / 0.7113 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.6855, allocations: 91.33 kB / 0.7114 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.678e-06/0.6855, allocations: 192 / 0.7114 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003046/0.6858, allocations: 105.5 kB / 0.7115 GB, free: 1.309 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.6859, allocations: 51.41 kB / 0.7116 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.686, allocations: 117.1 kB / 0.7117 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.6861, allocations: 37.64 kB / 0.7117 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.6862, allocations: 88.14 kB / 0.7118 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.6862, allocations: 35.62 kB / 0.7118 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-06/0.6862, allocations: 0 / 0.7118 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6864, allocations: 322.8 kB / 0.7121 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.6865, allocations: 32 kB / 0.7122 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.6866, allocations: 51.44 kB / 0.7122 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.183e-05/0.6867, allocations: 32.03 kB / 0.7122 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.335e-06/0.6868, allocations: 0 / 0.7122 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002945/0.6871, allocations: 133.4 kB / 0.7124 GB, free: 376 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6871, allocations: 4 kB / 0.7124 GB, free: 372 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6871, allocations: 3.953 kB / 0.7124 GB, free: 368 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6871, allocations: 7.938 kB / 0.7124 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.6873, allocations: 27.97 kB / 0.7124 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.281e-06/0.6874, allocations: 0 / 0.7124 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6876, allocations: 32.02 kB / 0.7124 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.6876, allocations: 4 kB / 0.7125 GB, free: 296 kB / 0.5886 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.0001084/0.6877, allocations: 128.4 kB / 0.7126 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.6877, allocations: 7.906 kB / 0.7126 GB, free: 156 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.688, allocations: 106.3 kB / 0.7127 GB, free: 44 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.727e-06/0.6881, allocations: 3.953 kB / 0.7127 GB, free: 40 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.6881, allocations: 12 kB / 0.7127 GB, free: 28 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.463e-06/0.6881, allocations: 0 / 0.7127 GB, free: 28 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.6887, allocations: 390.4 kB / 0.7131 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6887, allocations: 0 / 0.7131 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.6889, allocations: 19.98 kB / 0.7131 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.729e-06/0.6889, allocations: 3.953 kB / 0.7131 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.6889, allocations: 3.984 kB / 0.7131 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.6889, allocations: 4 kB / 0.7131 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.588e-06/0.6889, allocations: 0 / 0.7131 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.6893, allocations: 203.3 kB / 0.7133 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.6893, allocations: 88.95 kB / 0.7134 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.6894, allocations: 7.953 kB / 0.7134 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.6896, allocations: 27.97 kB / 0.7134 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.6897, allocations: 19.97 kB / 0.7134 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.6897, allocations: 0 / 0.7134 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.455e-05/0.6898, allocations: 103.8 kB / 0.7135 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.82e-07/0.6898, allocations: 0 / 0.7135 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003311/0.6902, allocations: 20 kB / 0.7136 GB, free: 15.06 MB / 0.6042 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.0001533/0.6903, allocations: 109.1 kB / 0.7137 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.6906, allocations: 87.92 kB / 0.7137 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.58e-06/0.6906, allocations: 0 / 0.7137 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.6907, allocations: 35.94 kB / 0.7138 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.691, allocations: 16.86 kB / 0.7138 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.6914, allocations: 129.5 kB / 0.7139 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.6918, allocations: 0.7006 MB / 0.7146 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.994e-05/0.6919, allocations: 8.562 kB / 0.7146 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.692, allocations: 15.42 kB / 0.7146 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.37e-06/0.692, allocations: 0 / 0.7146 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.004397/0.6964, allocations: 1.113 MB / 0.7157 GB, free: 12.81 MB / 0.6042 GB