Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadModel(Buildings): time 4.528/4.528, allocations: 458.9 MB / 473.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.19e-05, allocations: 8.109 kB / 0.5697 GB, free: 9.797 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 106.2 MB / 0.6734 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002916/0.2655, allocations: 1.23 MB / 0.6747 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.000876/0.2664, allocations: 252.4 kB / 0.6749 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.2666, allocations: 3.938 kB / 0.6749 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.2666, allocations: 7.984 kB / 0.6749 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2667, allocations: 15.92 kB / 0.6749 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.267, allocations: 27.95 kB / 0.6749 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.2671, allocations: 39.89 kB / 0.675 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2672, allocations: 15.98 kB / 0.675 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.2674, allocations: 35.89 kB / 0.675 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2675, allocations: 31.91 kB / 0.6751 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.2675, allocations: 0 / 0.6751 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2676, allocations: 4 kB / 0.6751 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.2676, allocations: 19.92 kB / 0.6751 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.2677, allocations: 4 kB / 0.6751 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.2679, allocations: 76 kB / 0.6752 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2679, allocations: 0 / 0.6752 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2679, allocations: 0 / 0.6752 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.2679, allocations: 0 / 0.6752 GB, free: 0.8398 MB / 0.5417 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.001071/0.269, allocations: 407 kB / 0.6755 GB, free: 404 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.2691, allocations: 8.031 kB / 0.6756 GB, free: 396 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.2692, allocations: 7.906 kB / 0.6756 GB, free: 388 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.2694, allocations: 183 kB / 0.6757 GB, free: 164 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.2695, allocations: 4 kB / 0.6757 GB, free: 160 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.2695, allocations: 12 kB / 0.6758 GB, free: 148 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.2701, allocations: 105.6 kB / 0.6759 GB, free: 36 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2701, allocations: 0 / 0.6759 GB, free: 36 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.2702, allocations: 11.98 kB / 0.6759 GB, free: 24 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2702, allocations: 0 / 0.6759 GB, free: 24 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.271, allocations: 112 kB / 0.676 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2721, allocations: 368.6 kB / 0.6763 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2732, allocations: 162.6 kB / 0.6765 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.2732, allocations: 0 / 0.6765 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005687/0.2738, allocations: 119.5 kB / 0.6766 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 2.756e-06/0.2738, allocations: 0 / 0.6766 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.001345/0.2752, allocations: 233.4 kB / 0.6768 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.2753, allocations: 59.39 kB / 0.6769 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.2755, allocations: 113.1 kB / 0.677 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.2756, allocations: 33.7 kB / 0.677 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2757, allocations: 100.1 kB / 0.6771 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.2758, allocations: 31.56 kB / 0.6771 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.2758, allocations: 0 / 0.6771 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.276, allocations: 322.8 kB / 0.6774 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.2764, allocations: 63.95 kB / 0.6775 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.2769, allocations: 99.31 kB / 0.6776 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.2774, allocations: 59.97 kB / 0.6777 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2774, allocations: 0 / 0.6777 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001021/0.2785, allocations: 189.4 kB / 0.6778 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.2785, allocations: 8 kB / 0.6778 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2786, allocations: 4.094 kB / 0.6779 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.2786, allocations: 4 kB / 0.6779 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.2789, allocations: 31.91 kB / 0.6779 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.2789, allocations: 7.953 kB / 0.6779 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.2792, allocations: 31.91 kB / 0.6779 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.2793, allocations: 8 kB / 0.6779 GB, free: 13.77 MB / 0.5573 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.0002002/0.2795, allocations: 118.5 kB / 0.678 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.2796, allocations: 15.78 kB / 0.6781 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.2806, allocations: 186.4 kB / 0.6782 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.2806, allocations: 4 kB / 0.6782 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2806, allocations: 0 / 0.6782 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.2807, allocations: 3.953 kB / 0.6782 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.2821, allocations: 462.3 kB / 0.6787 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2822, allocations: 4 kB / 0.6787 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.2824, allocations: 19.98 kB / 0.6787 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.2824, allocations: 0 / 0.6787 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.2825, allocations: 7.938 kB / 0.6787 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.2825, allocations: 3.953 kB / 0.6787 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2825, allocations: 0 / 0.6787 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/0.2835, allocations: 275.3 kB / 0.679 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.2836, allocations: 88.89 kB / 0.6791 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.2837, allocations: 4 kB / 0.6791 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.284, allocations: 23.97 kB / 0.6791 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.2842, allocations: 27.91 kB / 0.6791 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.2842, allocations: 4 kB / 0.6791 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001188/0.2843, allocations: 103.8 kB / 0.6792 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2843, allocations: 0 / 0.6792 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005354/0.2849, allocations: 20 kB / 0.6792 GB, free: 12.33 MB / 0.5573 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.0002608/0.2852, allocations: 104.8 kB / 0.6793 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009419/0.2861, allocations: 151.8 kB / 0.6795 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2861, allocations: 0 / 0.6795 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.2866, allocations: 80.08 kB / 0.6796 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.287, allocations: 11.98 kB / 0.6796 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009382/0.288, allocations: 239.5 kB / 0.6798 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.2885, allocations: 0.7004 MB / 0.6805 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.2886, allocations: 8.562 kB / 0.6805 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.2887, allocations: 15.42 kB / 0.6805 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/0.2888, allocations: 0 / 0.6805 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of Templates: time 0.006557/0.2953, allocations: 1.137 MB / 0.6816 GB, free: 9.836 MB / 0.5573 GB