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.926/3.926, allocations: 403.9 MB / 411 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.245e-05, allocations: 8 kB / 0.4942 GB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5567, allocations: 92.69 MB / 0.5847 GB, free: 2.246 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/0.77, allocations: 121.3 MB / 0.7031 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004023/0.7705, allocations: 83.94 kB / 0.7032 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005378/0.7759, allocations: 1.382 MB / 0.7046 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.927e-06/0.7759, allocations: 0 / 0.7046 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.776, allocations: 4 kB / 0.7046 GB, free: 7.32 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.0006282/0.7766, allocations: 398.3 kB / 0.705 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7766, allocations: 12.02 kB / 0.705 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.7767, allocations: 15.86 kB / 0.705 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.7769, allocations: 186.8 kB / 0.7052 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.7769, allocations: 0 / 0.7052 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.777, allocations: 8 kB / 0.7052 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000152/0.7771, allocations: 40 kB / 0.7052 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.7773, allocations: 61.67 kB / 0.7053 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.7773, allocations: 3.984 kB / 0.7053 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.7773, allocations: 7.875 kB / 0.7053 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7773, allocations: 3.953 kB / 0.7053 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.778, allocations: 329.3 kB / 0.7056 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.7785, allocations: 122.6 kB / 0.7057 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.7786, allocations: 28.84 kB / 0.7057 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.7786, allocations: 4.188 kB / 0.7057 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.7788, allocations: 91.27 kB / 0.7058 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.511e-06/0.7788, allocations: 0 / 0.7058 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002735/0.7791, allocations: 89.59 kB / 0.7059 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7792, allocations: 55.39 kB / 0.706 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.7793, allocations: 121.1 kB / 0.7061 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.7793, allocations: 25.7 kB / 0.7061 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.7794, allocations: 96.12 kB / 0.7062 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.7795, allocations: 27.56 kB / 0.7062 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-06/0.7795, allocations: 4 kB / 0.7062 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7797, allocations: 322.8 kB / 0.7065 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.7797, allocations: 28 kB / 0.7066 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.7799, allocations: 55.36 kB / 0.7066 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/0.78, allocations: 23.98 kB / 0.7066 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-06/0.78, allocations: 4 kB / 0.7067 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002625/0.7802, allocations: 109.5 kB / 0.7068 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7803, allocations: 4 kB / 0.7068 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-06/0.7803, allocations: 3.938 kB / 0.7068 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7803, allocations: 7.953 kB / 0.7068 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.7805, allocations: 27.97 kB / 0.7068 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.067e-06/0.7805, allocations: 4.031 kB / 0.7068 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.7807, allocations: 27.97 kB / 0.7068 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.7808, allocations: 4 kB / 0.7068 GB, free: 4.797 MB / 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 9.952e-05/0.7809, allocations: 109 kB / 0.7069 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.7809, allocations: 7.906 kB / 0.7069 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.7812, allocations: 118.4 kB / 0.7071 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-06/0.7812, allocations: 0 / 0.7071 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.346e-06/0.7812, allocations: 3.953 kB / 0.7071 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.443e-06/0.7812, allocations: 0 / 0.7071 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.7817, allocations: 351 kB / 0.7074 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-06/0.7817, allocations: 4 kB / 0.7074 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.7819, allocations: 23.92 kB / 0.7074 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.156e-06/0.7819, allocations: 4 kB / 0.7074 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.7819, allocations: 0 / 0.7074 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.782, allocations: 3.953 kB / 0.7074 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-06/0.782, allocations: 0 / 0.7074 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.7822, allocations: 199.3 kB / 0.7076 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.7823, allocations: 88.94 kB / 0.7077 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.7824, allocations: 4 kB / 0.7077 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.7826, allocations: 23.98 kB / 0.7077 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.7827, allocations: 23.91 kB / 0.7078 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.7828, allocations: 4 kB / 0.7078 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001074/0.7829, allocations: 99.78 kB / 0.7079 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.14e-07/0.7829, allocations: 0 / 0.7079 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006277/0.7836, allocations: 19.98 kB / 0.7079 GB, free: 3.637 MB / 0.5886 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.0001906/0.7838, allocations: 111 kB / 0.708 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.7841, allocations: 75.94 kB / 0.708 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7842, allocations: 0 / 0.708 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.7843, allocations: 32 kB / 0.7081 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.7848, allocations: 15.92 kB / 0.7081 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.7855, allocations: 121.2 kB / 0.7082 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.786, allocations: 0.7002 MB / 0.7089 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.7861, allocations: 16.53 kB / 0.7089 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.7862, allocations: 11.44 kB / 0.7089 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of SimCode: time 1.594e-06/0.7862, allocations: 3.938 kB / 0.7089 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.006233/0.7925, allocations: 1.041 MB / 0.7099 GB, free: 1.477 MB / 0.5886 GB