Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadModel(Buildings): time 3.647/3.647, allocations: 402 MB / 415.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.189e-05, allocations: 7.984 kB / 0.5004 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1672, allocations: 92.69 MB / 0.5909 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6377/0.8049, allocations: 121.6 MB / 0.7096 GB, free: 4.816 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.8053, allocations: 87.94 kB / 0.7097 GB, free: 4.73 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.004312/0.8096, allocations: 1.15 MB / 0.7108 GB, free: 3.586 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.654e-06/0.8097, allocations: 0 / 0.7108 GB, free: 3.586 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.245e-06/0.8097, allocations: 0 / 0.7108 GB, free: 3.586 MB / 0.573 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.0005588/0.8102, allocations: 381.3 kB / 0.7112 GB, free: 3.168 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.8103, allocations: 8.031 kB / 0.7112 GB, free: 3.16 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.8103, allocations: 11.86 kB / 0.7112 GB, free: 3.148 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.8105, allocations: 171 kB / 0.7114 GB, free: 2.941 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.8106, allocations: 11.94 kB / 0.7114 GB, free: 2.93 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.8106, allocations: 8 kB / 0.7114 GB, free: 2.922 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.8109, allocations: 74.75 kB / 0.7115 GB, free: 2.844 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.08e-06/0.8109, allocations: 4 kB / 0.7115 GB, free: 2.84 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.8109, allocations: 0 / 0.7115 GB, free: 2.84 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.784e-06/0.8109, allocations: 3.984 kB / 0.7115 GB, free: 2.836 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.8112, allocations: 59.95 kB / 0.7115 GB, free: 2.777 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.8118, allocations: 318.8 kB / 0.7119 GB, free: 2.418 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.812, allocations: 74.53 kB / 0.7119 GB, free: 2.336 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.8121, allocations: 3.938 kB / 0.7119 GB, free: 2.332 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.8124, allocations: 91.45 kB / 0.712 GB, free: 2.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 2.521e-06/0.8124, allocations: 0 / 0.712 GB, free: 2.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.8129, allocations: 165.7 kB / 0.7122 GB, free: 2.062 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.813, allocations: 55.41 kB / 0.7122 GB, free: 1.996 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.8131, allocations: 109.2 kB / 0.7123 GB, free: 1.879 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.8132, allocations: 33.7 kB / 0.7124 GB, free: 1.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.8132, allocations: 84.14 kB / 0.7124 GB, free: 1.754 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.8133, allocations: 23.66 kB / 0.7125 GB, free: 1.73 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.8133, allocations: 0 / 0.7125 GB, free: 1.73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.8135, allocations: 322.8 kB / 0.7128 GB, free: 1.406 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.8136, allocations: 35.97 kB / 0.7128 GB, free: 1.371 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.8138, allocations: 72.31 kB / 0.7129 GB, free: 1.285 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.814, allocations: 35.92 kB / 0.7129 GB, free: 1.25 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.997e-06/0.814, allocations: 4 kB / 0.7129 GB, free: 1.246 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003965/0.8144, allocations: 133.6 kB / 0.713 GB, free: 1.109 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.8144, allocations: 6.5 kB / 0.713 GB, free: 1.105 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.841e-06/0.8145, allocations: 0 / 0.713 GB, free: 1.105 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8145, allocations: 11.89 kB / 0.7131 GB, free: 1.094 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.8146, allocations: 16.86 kB / 0.7131 GB, free: 1.078 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.251e-06/0.8146, allocations: 4 kB / 0.7131 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.8148, allocations: 20.02 kB / 0.7131 GB, free: 1.055 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.8148, allocations: 4 kB / 0.7131 GB, free: 1.051 MB / 0.573 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.0001253/0.8149, allocations: 121.8 kB / 0.7132 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.815, allocations: 11.89 kB / 0.7132 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.8154, allocations: 126 kB / 0.7133 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-06/0.8154, allocations: 3.953 kB / 0.7134 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.791e-06/0.8154, allocations: 0 / 0.7134 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.873e-06/0.8154, allocations: 0 / 0.7134 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.8162, allocations: 414.4 kB / 0.7137 GB, free: 328 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.495e-06/0.8162, allocations: 0 / 0.7137 GB, free: 328 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-05/0.8163, allocations: 11.98 kB / 0.7138 GB, free: 316 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-06/0.8163, allocations: 4.328 kB / 0.7138 GB, free: 312 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.8163, allocations: 0 / 0.7138 GB, free: 312 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.951e-06/0.8164, allocations: 4 kB / 0.7138 GB, free: 308 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.336e-06/0.8164, allocations: 0 / 0.7138 GB, free: 308 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.8168, allocations: 231.3 kB / 0.714 GB, free: 60 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.8169, allocations: 81.02 kB / 0.7141 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.8169, allocations: 7.938 kB / 0.7141 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.8171, allocations: 19.98 kB / 0.7141 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.8172, allocations: 11.98 kB / 0.7141 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.8172, allocations: 4 kB / 0.7141 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.029e-05/0.8173, allocations: 91.27 kB / 0.7142 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.05e-07/0.8173, allocations: 0 / 0.7142 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003252/0.8176, allocations: 12 kB / 0.7142 GB, free: 15.82 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: 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.0001386/0.8178, allocations: 115 kB / 0.7143 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.8181, allocations: 79.89 kB / 0.7144 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.553e-06/0.8181, allocations: 0 / 0.7144 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.8183, allocations: 52.16 kB / 0.7144 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.8186, allocations: 12.53 kB / 0.7145 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.8191, allocations: 183.8 kB / 0.7146 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.8194, allocations: 0.6887 MB / 0.7153 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.425e-05/0.8195, allocations: 7.984 kB / 0.7153 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.8196, allocations: 11.44 kB / 0.7153 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of SimCode: time 1.497e-06/0.8196, allocations: 0 / 0.7153 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of Templates: time 0.003685/0.8233, allocations: 0.7788 MB / 0.7161 GB, free: 13.84 MB / 0.5886 GB