Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadModel(Buildings): time 4.333/4.333, allocations: 464.7 MB / 476.8 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.23e-05/5.248e-05, allocations: 4 kB / 0.5731 GB, free: 5.695 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 107.2 MB / 0.6778 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8161/1.032, allocations: 132.3 MB / 0.8069 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/1.032, allocations: 76.3 kB / 0.807 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005251/1.037, allocations: 1.431 MB / 0.8084 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.12e-06/1.037, allocations: 0 / 0.8084 GB, free: 12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.468e-05/1.037, allocations: 3.844 kB / 0.8084 GB, free: 12 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.0005487/1.038, allocations: 409.1 kB / 0.8088 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/1.038, allocations: 11.34 kB / 0.8088 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/1.038, allocations: 7.781 kB / 0.8088 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/1.038, allocations: 182 kB / 0.809 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/1.038, allocations: 36.25 kB / 0.809 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/1.038, allocations: 12.75 kB / 0.809 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/1.038, allocations: 71.33 kB / 0.8091 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.038, allocations: 0 / 0.8091 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/1.038, allocations: 7.875 kB / 0.8091 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-06/1.038, allocations: 0 / 0.8091 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/1.039, allocations: 44.3 kB / 0.8092 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/1.039, allocations: 360.3 kB / 0.8095 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/1.04, allocations: 133.5 kB / 0.8096 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/1.04, allocations: 30.64 kB / 0.8097 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/1.04, allocations: 0 / 0.8097 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/1.04, allocations: 85.59 kB / 0.8097 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.885e-06/1.04, allocations: 0 / 0.8097 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002658/1.04, allocations: 104.1 kB / 0.8098 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.04, allocations: 69.17 kB / 0.8099 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/1.04, allocations: 118.7 kB / 0.81 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/1.04, allocations: 33.05 kB / 0.8101 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/1.04, allocations: 101.1 kB / 0.8101 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/1.041, allocations: 21.44 kB / 0.8102 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/1.041, allocations: 3.5 kB / 0.8102 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/1.041, allocations: 321.1 kB / 0.8105 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/1.041, allocations: 32.34 kB / 0.8105 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/1.041, allocations: 63.03 kB / 0.8106 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/1.041, allocations: 25.39 kB / 0.8106 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-06/1.041, allocations: 0 / 0.8106 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002706/1.041, allocations: 129.8 kB / 0.8107 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.041, allocations: 3.812 kB / 0.8107 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.985e-06/1.041, allocations: 3.844 kB / 0.8107 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.041, allocations: 4.094 kB / 0.8107 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/1.042, allocations: 32.48 kB / 0.8108 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/1.042, allocations: 0 / 0.8108 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.042, allocations: 35.27 kB / 0.8108 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/1.042, allocations: 11.47 kB / 0.8108 GB, free: 10.23 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 7.076e-05/1.042, allocations: 120.1 kB / 0.8109 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/1.042, allocations: 10.36 kB / 0.8109 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/1.042, allocations: 114.2 kB / 0.811 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/1.042, allocations: 0 / 0.811 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.433e-06/1.042, allocations: 0 / 0.811 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.838e-06/1.042, allocations: 0 / 0.811 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/1.043, allocations: 392 kB / 0.8114 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/1.043, allocations: 0 / 0.8114 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/1.043, allocations: 24.34 kB / 0.8114 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.306e-06/1.043, allocations: 0 / 0.8114 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.043, allocations: 3.875 kB / 0.8114 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.043, allocations: 0 / 0.8114 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.047e-06/1.043, allocations: 3.953 kB / 0.8114 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/1.043, allocations: 206 kB / 0.8116 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/1.043, allocations: 83.55 kB / 0.8117 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/1.043, allocations: 6.344 kB / 0.8117 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/1.043, allocations: 20.92 kB / 0.8117 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/1.043, allocations: 21.73 kB / 0.8118 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/1.044, allocations: 11.14 kB / 0.8118 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.098e-05/1.044, allocations: 92.08 kB / 0.8119 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.7e-07/1.044, allocations: 3.844 kB / 0.8119 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003392/1.044, allocations: 25 kB / 0.8119 GB, free: 9.434 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.0001305/1.044, allocations: 114.2 kB / 0.812 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002359/1.044, allocations: 88.95 kB / 0.8121 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.591e-06/1.044, allocations: 0 / 0.8121 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/1.044, allocations: 40.59 kB / 0.8121 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/1.045, allocations: 21.58 kB / 0.8121 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/1.045, allocations: 121 kB / 0.8123 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/1.046, allocations: 0.6982 MB / 0.8129 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.247e-05/1.046, allocations: 10.8 kB / 0.813 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/1.046, allocations: 15.16 kB / 0.813 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.451e-06/1.046, allocations: 0 / 0.813 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.004073/1.05, allocations: 1.147 MB / 0.8141 GB, free: 24.45 MB / 0.6511 GB