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.66/3.66, allocations: 402 MB / 416.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.347e-05, allocations: 7.984 kB / 0.501 GB, free: 8.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.246, allocations: 92.69 MB / 0.5915 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.00216/0.2482, allocations: 1.226 MB / 0.5927 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00073/0.249, allocations: 268.4 kB / 0.5929 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.249, allocations: 0 / 0.5929 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.2491, allocations: 3.984 kB / 0.5929 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.2492, allocations: 15.92 kB / 0.593 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.2494, allocations: 27.91 kB / 0.593 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2495, allocations: 43.88 kB / 0.593 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2496, allocations: 15.98 kB / 0.593 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.2497, allocations: 31.92 kB / 0.5931 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.2498, allocations: 35.89 kB / 0.5931 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.51e-05/0.2498, allocations: 0 / 0.5931 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.2499, allocations: 4 kB / 0.5931 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.2499, allocations: 19.91 kB / 0.5931 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.25, allocations: 4 kB / 0.5931 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2501, allocations: 68.08 kB / 0.5932 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2501, allocations: 0 / 0.5932 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2501, allocations: 0 / 0.5932 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.2501, allocations: 0 / 0.5932 GB, free: 9.598 MB / 0.4948 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.0008344/0.251, allocations: 395.1 kB / 0.5936 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.251, allocations: 8.031 kB / 0.5936 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.2511, allocations: 11.86 kB / 0.5936 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.2513, allocations: 183 kB / 0.5938 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2513, allocations: 15.94 kB / 0.5938 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.2514, allocations: 15.94 kB / 0.5938 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.2518, allocations: 101.6 kB / 0.5939 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2518, allocations: 0 / 0.5939 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.2519, allocations: 4 kB / 0.5939 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2519, allocations: 4 kB / 0.5939 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.2526, allocations: 111.9 kB / 0.594 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.2534, allocations: 364.6 kB / 0.5944 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/0.2543, allocations: 158.6 kB / 0.5945 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.2543, allocations: 0 / 0.5945 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004695/0.2548, allocations: 127.4 kB / 0.5946 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 2.113e-06/0.2548, allocations: 3.938 kB / 0.5946 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001124/0.2559, allocations: 229.7 kB / 0.5948 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.256, allocations: 55.41 kB / 0.5949 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2561, allocations: 125.1 kB / 0.595 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.2562, allocations: 33.7 kB / 0.5951 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.2563, allocations: 104.1 kB / 0.5952 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.2563, allocations: 27.61 kB / 0.5952 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.2564, allocations: 0 / 0.5952 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2565, allocations: 318.8 kB / 0.5955 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.2569, allocations: 71.89 kB / 0.5955 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.2572, allocations: 99.33 kB / 0.5956 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.2576, allocations: 64 kB / 0.5957 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2576, allocations: 4 kB / 0.5957 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007834/0.2584, allocations: 189.5 kB / 0.5959 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2584, allocations: 8 kB / 0.5959 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2585, allocations: 0 / 0.5959 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2585, allocations: 3.953 kB / 0.5959 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2587, allocations: 31.91 kB / 0.5959 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.2587, allocations: 4 kB / 0.5959 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.259, allocations: 24.02 kB / 0.596 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.259, allocations: 11.98 kB / 0.596 GB, free: 6.52 MB / 0.4948 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,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * 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.0001289/0.2592, allocations: 121.8 kB / 0.5961 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.2592, allocations: 7.906 kB / 0.5961 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/0.26, allocations: 182 kB / 0.5963 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.26, allocations: 3.938 kB / 0.5963 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.26, allocations: 7.953 kB / 0.5963 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.2601, allocations: 88.95 kB / 0.5964 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.2602, allocations: 0 / 0.5964 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.2604, allocations: 27.97 kB / 0.5964 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.2605, allocations: 15.97 kB / 0.5964 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009673/0.2615, allocations: 272.8 kB / 0.5967 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008425/0.2624, allocations: 346.5 kB / 0.597 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003534/0.2627, allocations: 71.95 kB / 0.5971 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.434e-05/0.2628, allocations: 95.27 kB / 0.5972 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of Backend: time 7.91e-07/0.2628, allocations: 0 / 0.5972 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007142/0.2636, allocations: 174.7 kB / 0.5973 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0008116/0.2644, allocations: 0.6455 MB / 0.598 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of Templates: time 0.009231/0.2737, allocations: 1.308 MB / 0.5992 GB, free: 3.078 MB / 0.4948 GB