Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadModel(Buildings): time 4.685/4.685, allocations: 458.9 MB / 473.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.915e-05, allocations: 4.156 kB / 0.5697 GB, free: 9.793 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2747, allocations: 106.2 MB / 0.6734 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002095/0.2769, allocations: 1.184 MB / 0.6746 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0006087/0.2775, allocations: 216.2 kB / 0.6748 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.2776, allocations: 4 kB / 0.6748 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2776, allocations: 7.922 kB / 0.6748 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.2777, allocations: 3.984 kB / 0.6748 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.2779, allocations: 15.98 kB / 0.6748 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.278, allocations: 39.88 kB / 0.6749 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.2781, allocations: 11.98 kB / 0.6749 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.2782, allocations: 12 kB / 0.6749 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.2783, allocations: 27.91 kB / 0.6749 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.2783, allocations: 4 kB / 0.6749 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2783, allocations: 7.938 kB / 0.6749 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.2783, allocations: 7.984 kB / 0.6749 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.2784, allocations: 4 kB / 0.6749 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.367e-05/0.2785, allocations: 47.89 kB / 0.675 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2785, allocations: 0 / 0.675 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2785, allocations: 0 / 0.675 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.2785, allocations: 0 / 0.675 GB, free: 0.9766 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006852/0.2792, allocations: 375.5 kB / 0.6754 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2793, allocations: 12.03 kB / 0.6754 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.2793, allocations: 7.906 kB / 0.6754 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.2795, allocations: 178.8 kB / 0.6755 GB, free: 336 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2795, allocations: 11.92 kB / 0.6756 GB, free: 324 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.2796, allocations: 4 kB / 0.6756 GB, free: 320 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2799, allocations: 85.59 kB / 0.6756 GB, free: 228 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2799, allocations: 0 / 0.6756 GB, free: 228 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2799, allocations: 0 / 0.6756 GB, free: 228 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.28, allocations: 4 kB / 0.6756 GB, free: 224 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.2803, allocations: 59.95 kB / 0.6757 GB, free: 164 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.281, allocations: 316.9 kB / 0.676 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.2813, allocations: 74.53 kB / 0.6761 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2813, allocations: 0 / 0.6761 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.2816, allocations: 95.41 kB / 0.6762 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/0.2817, allocations: 0 / 0.6762 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0007033/0.2824, allocations: 157.6 kB / 0.6763 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2824, allocations: 51.41 kB / 0.6764 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.2826, allocations: 109.1 kB / 0.6765 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2826, allocations: 33.7 kB / 0.6765 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.2827, allocations: 95.98 kB / 0.6766 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2827, allocations: 19.72 kB / 0.6766 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.2827, allocations: 0 / 0.6766 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2829, allocations: 322.8 kB / 0.6769 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.2831, allocations: 32.09 kB / 0.6769 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2833, allocations: 84.08 kB / 0.677 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.2835, allocations: 35.97 kB / 0.6771 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2835, allocations: 0 / 0.6771 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004925/0.284, allocations: 125.5 kB / 0.6772 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2841, allocations: 11.98 kB / 0.6772 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2841, allocations: 4.125 kB / 0.6772 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.2841, allocations: 4 kB / 0.6772 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2843, allocations: 15.98 kB / 0.6772 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2843, allocations: 3.953 kB / 0.6772 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.2845, allocations: 23.83 kB / 0.6772 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2845, allocations: 4 kB / 0.6772 GB, free: 14.43 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000142/0.2847, allocations: 130.2 kB / 0.6774 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.2847, allocations: 0 / 0.6774 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.2852, allocations: 137.9 kB / 0.6775 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2853, allocations: 0 / 0.6775 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2853, allocations: 7.938 kB / 0.6775 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2853, allocations: 7.953 kB / 0.6775 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.2861, allocations: 402.5 kB / 0.6779 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2862, allocations: 0 / 0.6779 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.2863, allocations: 15.98 kB / 0.6779 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2863, allocations: 0 / 0.6779 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2863, allocations: 0 / 0.6779 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2864, allocations: 3.953 kB / 0.6779 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2864, allocations: 0 / 0.6779 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.2869, allocations: 227.8 kB / 0.6781 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.2869, allocations: 81.11 kB / 0.6782 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.287, allocations: 0 / 0.6782 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2872, allocations: 15.98 kB / 0.6782 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.2873, allocations: 19.94 kB / 0.6782 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2873, allocations: 0 / 0.6782 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.65e-05/0.2874, allocations: 91.27 kB / 0.6783 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.689e-06/0.2874, allocations: 0 / 0.6783 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003157/0.2877, allocations: 19.84 kB / 0.6784 GB, free: 13.2 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001452/0.2879, allocations: 107.2 kB / 0.6785 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.2884, allocations: 87.89 kB / 0.6785 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2884, allocations: 0 / 0.6785 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.2886, allocations: 51.89 kB / 0.6786 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2889, allocations: 8.25 kB / 0.6786 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.2895, allocations: 187.2 kB / 0.6788 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2898, allocations: 0.6965 MB / 0.6795 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.997e-05/0.2898, allocations: 7.953 kB / 0.6795 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.2899, allocations: 11.72 kB / 0.6795 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/0.2899, allocations: 0 / 0.6795 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of Templates: time 0.004128/0.294, allocations: 0.7837 MB / 0.6802 GB, free: 11.21 MB / 0.5573 GB