Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadModel(Buildings): time 3.593/3.593, allocations: 402 MB / 416 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.41e-05, allocations: 4 kB / 0.5003 GB, free: 8.207 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1883, allocations: 92.68 MB / 0.5909 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6114/0.7997, allocations: 121.7 MB / 0.7097 GB, free: 4.625 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005093/0.8003, allocations: 91.94 kB / 0.7098 GB, free: 4.535 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.01012/0.8104, allocations: 1.506 MB / 0.7112 GB, free: 3.039 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.697e-06/0.8105, allocations: 0 / 0.7112 GB, free: 3.039 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.8105, allocations: 0 / 0.7112 GB, free: 3.039 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008256/0.8113, allocations: 371.3 kB / 0.7116 GB, free: 2.629 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.8114, allocations: 8.031 kB / 0.7116 GB, free: 2.621 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.8115, allocations: 11.86 kB / 0.7116 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.8117, allocations: 175 kB / 0.7118 GB, free: 2.398 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.8118, allocations: 0 / 0.7118 GB, free: 2.398 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.8118, allocations: 8 kB / 0.7118 GB, free: 2.391 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.8123, allocations: 81.58 kB / 0.7119 GB, free: 2.305 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.8123, allocations: 0 / 0.7119 GB, free: 2.305 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.8123, allocations: 0 / 0.7119 GB, free: 2.305 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.8124, allocations: 4 kB / 0.7119 GB, free: 2.301 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.8128, allocations: 63.84 kB / 0.7119 GB, free: 2.238 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.8136, allocations: 284.8 kB / 0.7122 GB, free: 1.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.814, allocations: 62.55 kB / 0.7122 GB, free: 1.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.8141, allocations: 0 / 0.7122 GB, free: 1.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.8145, allocations: 83.44 kB / 0.7123 GB, free: 1.746 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 4.601e-06/0.8145, allocations: 3.938 kB / 0.7123 GB, free: 1.742 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0009378/0.8155, allocations: 153.5 kB / 0.7125 GB, free: 1.586 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.8156, allocations: 55.41 kB / 0.7125 GB, free: 1.52 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.8158, allocations: 105 kB / 0.7126 GB, free: 1.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.8158, allocations: 29.7 kB / 0.7127 GB, free: 1.375 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.8159, allocations: 88.14 kB / 0.7127 GB, free: 1.285 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.816, allocations: 15.8 kB / 0.7128 GB, free: 1.27 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.816, allocations: 7.938 kB / 0.7128 GB, free: 1.262 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.8163, allocations: 310.8 kB / 0.7131 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.8165, allocations: 35.97 kB / 0.7131 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.8168, allocations: 54.53 kB / 0.7131 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.8171, allocations: 31.98 kB / 0.7132 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.765e-06/0.8171, allocations: 4 kB / 0.7132 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000679/0.8178, allocations: 117.5 kB / 0.7133 GB, free: 0.6953 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.8179, allocations: 4 kB / 0.7133 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.877e-06/0.8179, allocations: 0 / 0.7133 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.8179, allocations: 3.953 kB / 0.7133 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.8182, allocations: 27.95 kB / 0.7133 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.232e-06/0.8182, allocations: 4 kB / 0.7133 GB, free: 0.6562 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.8185, allocations: 19.92 kB / 0.7134 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.8185, allocations: 0 / 0.7134 GB, free: 0.6367 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001651/0.8187, allocations: 114.8 kB / 0.7135 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.8187, allocations: 7.906 kB / 0.7135 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/0.8194, allocations: 126 kB / 0.7136 GB, free: 392 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.8194, allocations: 3.953 kB / 0.7136 GB, free: 388 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.871e-06/0.8195, allocations: 3.938 kB / 0.7136 GB, free: 384 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8195, allocations: 0 / 0.7136 GB, free: 384 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.8207, allocations: 382.5 kB / 0.714 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.8208, allocations: 7.984 kB / 0.714 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.8209, allocations: 12 kB / 0.714 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.821, allocations: 7.953 kB / 0.714 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.821, allocations: 3.984 kB / 0.714 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.375e-06/0.821, allocations: 0 / 0.714 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.468e-06/0.8211, allocations: 3.938 kB / 0.714 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.8218, allocations: 212.2 kB / 0.7142 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.8219, allocations: 81.09 kB / 0.7143 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.822, allocations: 12.14 kB / 0.7143 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.8223, allocations: 11.98 kB / 0.7143 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.8224, allocations: 11.92 kB / 0.7143 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.8224, allocations: 4 kB / 0.7143 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001145/0.8226, allocations: 95.33 kB / 0.7144 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.25e-06/0.8226, allocations: 0 / 0.7144 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000625/0.8232, allocations: 16 kB / 0.7144 GB, free: 15.44 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: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0002008/0.8235, allocations: 103 kB / 0.7145 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005966/0.8241, allocations: 79.89 kB / 0.7146 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.951e-06/0.8241, allocations: 0 / 0.7146 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.8244, allocations: 43.91 kB / 0.7146 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.8249, allocations: 11.98 kB / 0.7146 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.8256, allocations: 171.2 kB / 0.7148 GB, free: 15 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.8261, allocations: 0.6887 MB / 0.7155 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.442e-05/0.8262, allocations: 4 kB / 0.7155 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.8263, allocations: 15.42 kB / 0.7155 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of SimCode: time 2.361e-06/0.8263, allocations: 3.938 kB / 0.7155 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of Templates: time 0.005923/0.8322, allocations: 0.7477 MB / 0.7162 GB, free: 13.52 MB / 0.5886 GB