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.54/3.54, allocations: 403.3 MB / 415.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.056e-05, allocations: 4 kB / 0.499 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.4771, allocations: 92.68 MB / 0.5895 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.6711, allocations: 122 MB / 0.7087 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.6714, allocations: 91.92 kB / 0.7087 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005516/0.6769, allocations: 1.378 MB / 0.7101 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.006e-06/0.677, allocations: 4 kB / 0.7101 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.677, allocations: 0 / 0.7101 GB, free: 2.883 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.0006487/0.6777, allocations: 406.2 kB / 0.7105 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.6777, allocations: 8.031 kB / 0.7105 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.6778, allocations: 15.86 kB / 0.7105 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.678, allocations: 167 kB / 0.7107 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.678, allocations: 8 kB / 0.7107 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.678, allocations: 4 kB / 0.7107 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.6782, allocations: 77.67 kB / 0.7107 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6783, allocations: 4 kB / 0.7107 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.6783, allocations: 11.91 kB / 0.7108 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.6783, allocations: 0 / 0.7108 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.6785, allocations: 47.94 kB / 0.7108 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.6792, allocations: 360.6 kB / 0.7111 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.6797, allocations: 130.6 kB / 0.7113 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.6798, allocations: 28.86 kB / 0.7113 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.6799, allocations: 4 kB / 0.7113 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.6801, allocations: 83.52 kB / 0.7114 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 5.031e-06/0.6801, allocations: 0 / 0.7114 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002876/0.6804, allocations: 101.5 kB / 0.7115 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.6805, allocations: 63.34 kB / 0.7115 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.6806, allocations: 117.1 kB / 0.7117 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.6807, allocations: 29.7 kB / 0.7117 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.6807, allocations: 92.12 kB / 0.7118 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.6808, allocations: 35.62 kB / 0.7118 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-06/0.6808, allocations: 0 / 0.7118 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.681, allocations: 322.8 kB / 0.7121 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.6811, allocations: 28 kB / 0.7121 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.6812, allocations: 63.42 kB / 0.7122 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.6813, allocations: 35.97 kB / 0.7122 GB, free: 472 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.64e-06/0.6813, allocations: 0 / 0.7122 GB, free: 472 kB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002944/0.6816, allocations: 121.4 kB / 0.7123 GB, free: 344 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.6817, allocations: 12.09 kB / 0.7124 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.717e-06/0.6817, allocations: 3.953 kB / 0.7124 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6817, allocations: 4 kB / 0.7124 GB, free: 324 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.6819, allocations: 31.91 kB / 0.7124 GB, free: 292 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.6819, allocations: 0 / 0.7124 GB, free: 292 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.6821, allocations: 31.97 kB / 0.7124 GB, free: 260 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.6822, allocations: 4 kB / 0.7124 GB, free: 256 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.0001017/0.6823, allocations: 109.7 kB / 0.7125 GB, free: 140 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.6823, allocations: 7.906 kB / 0.7125 GB, free: 132 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.6826, allocations: 118.2 kB / 0.7127 GB, free: 8 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.958e-06/0.6826, allocations: 3.953 kB / 0.7127 GB, free: 4 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.677e-06/0.6826, allocations: 4 kB / 0.7127 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/0.6827, allocations: 8.047 kB / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.6833, allocations: 378.4 kB / 0.713 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-06/0.6833, allocations: 4 kB / 0.713 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.6834, allocations: 23.97 kB / 0.7131 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.959e-06/0.6835, allocations: 7.938 kB / 0.7131 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.6835, allocations: 4 kB / 0.7131 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.42e-06/0.6835, allocations: 3.984 kB / 0.7131 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.602e-06/0.6835, allocations: 0 / 0.7131 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.6838, allocations: 203.4 kB / 0.7133 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.6839, allocations: 84.95 kB / 0.7134 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.684, allocations: 11.94 kB / 0.7134 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.6842, allocations: 23.98 kB / 0.7134 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.439e-05/0.6843, allocations: 27.89 kB / 0.7134 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.6843, allocations: 4 kB / 0.7134 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.949e-05/0.6844, allocations: 95.78 kB / 0.7135 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.38e-07/0.6844, allocations: 0 / 0.7135 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003675/0.6848, allocations: 20 kB / 0.7135 GB, free: 15.03 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.0001575/0.685, allocations: 111.7 kB / 0.7136 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.6852, allocations: 79.94 kB / 0.7137 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.375e-06/0.6852, allocations: 8.125 kB / 0.7137 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.6854, allocations: 39.94 kB / 0.7138 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.6857, allocations: 22.83 kB / 0.7138 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.6861, allocations: 127.9 kB / 0.7139 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.6865, allocations: 0.7004 MB / 0.7146 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.399e-05/0.6866, allocations: 12.55 kB / 0.7146 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.6866, allocations: 11.44 kB / 0.7146 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of SimCode: time 1.538e-06/0.6867, allocations: 0 / 0.7146 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.004347/0.691, allocations: 1.102 MB / 0.7157 GB, free: 12.78 MB / 0.6042 GB