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 4.395/4.395, allocations: 431.3 MB / 445.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.946e-05, allocations: 4 kB / 0.5354 GB, free: 14.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7224, allocations: 98.72 MB / 0.6318 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002146/0.7246, allocations: 1.219 MB / 0.633 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007004/0.7254, allocations: 256.6 kB / 0.6333 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.7255, allocations: 7.938 kB / 0.6333 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.7255, allocations: 3.984 kB / 0.6333 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.012e-05/0.7256, allocations: 15.92 kB / 0.6333 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.7258, allocations: 27.95 kB / 0.6333 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.7259, allocations: 39.89 kB / 0.6333 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.726, allocations: 15.98 kB / 0.6334 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.164e-05/0.7261, allocations: 31.91 kB / 0.6334 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.7262, allocations: 39.83 kB / 0.6334 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.369e-05/0.7263, allocations: 4 kB / 0.6334 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.7263, allocations: 4 kB / 0.6334 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.7263, allocations: 15.92 kB / 0.6335 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.7264, allocations: 8 kB / 0.6335 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.7265, allocations: 62.23 kB / 0.6335 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7265, allocations: 0 / 0.6335 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7265, allocations: 3.938 kB / 0.6335 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7265, allocations: 0 / 0.6335 GB, free: 10.19 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008679/0.7274, allocations: 403.1 kB / 0.6339 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.7275, allocations: 8.031 kB / 0.6339 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.7275, allocations: 7.906 kB / 0.6339 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.7277, allocations: 183 kB / 0.6341 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.7278, allocations: 0 / 0.6341 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.7278, allocations: 12 kB / 0.6341 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.7283, allocations: 113.6 kB / 0.6342 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7283, allocations: 0 / 0.6342 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.7283, allocations: 0 / 0.6342 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.7284, allocations: 0 / 0.6342 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.729, allocations: 115.9 kB / 0.6343 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.7299, allocations: 368.5 kB / 0.6347 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009122/0.7308, allocations: 162.6 kB / 0.6348 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.7309, allocations: 7.984 kB / 0.6348 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004729/0.7313, allocations: 119.5 kB / 0.635 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 3.937e-06/0.7314, allocations: 0 / 0.635 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.001144/0.7325, allocations: 237.3 kB / 0.6352 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.7326, allocations: 55.41 kB / 0.6352 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.7327, allocations: 117.1 kB / 0.6353 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.7328, allocations: 33.7 kB / 0.6354 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.7329, allocations: 100.1 kB / 0.6355 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.7329, allocations: 27.56 kB / 0.6355 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.733, allocations: 0 / 0.6355 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7331, allocations: 322.8 kB / 0.6358 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.7335, allocations: 63.95 kB / 0.6359 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.7339, allocations: 99.31 kB / 0.636 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.7343, allocations: 59.97 kB / 0.636 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7343, allocations: 0 / 0.636 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008316/0.7351, allocations: 193.4 kB / 0.6362 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.7352, allocations: 4 kB / 0.6362 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7352, allocations: 4.094 kB / 0.6362 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.7352, allocations: 4 kB / 0.6362 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.7355, allocations: 35.84 kB / 0.6363 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.7355, allocations: 3.953 kB / 0.6363 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.7357, allocations: 31.97 kB / 0.6363 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.7358, allocations: 8 kB / 0.6363 GB, free: 7.121 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 ($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.0001488/0.7359, allocations: 121.8 kB / 0.6364 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.736, allocations: 7.906 kB / 0.6364 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008228/0.7368, allocations: 189.8 kB / 0.6366 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.7368, allocations: 4 kB / 0.6366 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7368, allocations: 0 / 0.6366 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.7369, allocations: 3.953 kB / 0.6366 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.7379, allocations: 454.3 kB / 0.637 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.738, allocations: 7.984 kB / 0.637 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.7382, allocations: 23.98 kB / 0.6371 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.7382, allocations: 0 / 0.6371 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.7383, allocations: 4 kB / 0.6371 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.7383, allocations: 3.953 kB / 0.6371 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7383, allocations: 7.938 kB / 0.6371 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.7391, allocations: 272.1 kB / 0.6373 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.7392, allocations: 81.02 kB / 0.6374 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.7393, allocations: 4 kB / 0.6374 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.7395, allocations: 27.97 kB / 0.6375 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.7396, allocations: 23.91 kB / 0.6375 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.7397, allocations: 4 kB / 0.6375 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.436e-05/0.7398, allocations: 103.8 kB / 0.6376 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7398, allocations: 0 / 0.6376 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003334/0.7401, allocations: 20 kB / 0.6376 GB, free: 5.68 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: 8 (zeroCrossing.y,$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.0001924/0.7403, allocations: 107.2 kB / 0.6377 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008096/0.7412, allocations: 155.8 kB / 0.6379 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7412, allocations: 0 / 0.6379 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.7416, allocations: 76.41 kB / 0.6379 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.7419, allocations: 20.14 kB / 0.6379 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.7427, allocations: 231.4 kB / 0.6382 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.7431, allocations: 0.7004 MB / 0.6388 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.7432, allocations: 12.5 kB / 0.6389 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.7433, allocations: 19.42 kB / 0.6389 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/0.7433, allocations: 0 / 0.6389 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of Templates: time 0.005287/0.7486, allocations: 1.129 MB / 0.64 GB, free: 3.191 MB / 0.5105 GB