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.601/3.601, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.969e-05, allocations: 18.69 kB / 0.4991 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.482, allocations: 92.67 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.6709, allocations: 121.6 MB / 0.7084 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.6712, allocations: 83.94 kB / 0.7084 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005819/0.6771, allocations: 1.498 MB / 0.7099 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.895e-06/0.6771, allocations: 0 / 0.7099 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.6771, allocations: 0 / 0.7099 GB, free: 3.121 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005333/0.6777, allocations: 378.3 kB / 0.7103 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6777, allocations: 8.031 kB / 0.7103 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.6778, allocations: 11.86 kB / 0.7103 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.6779, allocations: 171 kB / 0.7104 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.678, allocations: 8 kB / 0.7104 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.678, allocations: 0 / 0.7104 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.6782, allocations: 61.67 kB / 0.7105 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.08e-06/0.6782, allocations: 0 / 0.7105 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6782, allocations: 0 / 0.7105 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-06/0.6782, allocations: 0 / 0.7105 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.6783, allocations: 27.89 kB / 0.7105 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.6788, allocations: 284.8 kB / 0.7108 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.679, allocations: 46.56 kB / 0.7108 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.6791, allocations: 24.98 kB / 0.7109 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.6791, allocations: 0 / 0.7109 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.6793, allocations: 75.28 kB / 0.7109 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.757e-06/0.6793, allocations: 4 kB / 0.7109 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002365/0.6795, allocations: 73.66 kB / 0.711 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.6796, allocations: 63.39 kB / 0.7111 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.6797, allocations: 101 kB / 0.7112 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.6797, allocations: 25.7 kB / 0.7112 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.6798, allocations: 92.12 kB / 0.7113 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.6799, allocations: 15.81 kB / 0.7113 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-06/0.6799, allocations: 0 / 0.7113 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.68, allocations: 314.8 kB / 0.7116 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.6801, allocations: 12 kB / 0.7116 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.6802, allocations: 42.56 kB / 0.7117 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.6803, allocations: 15.94 kB / 0.7117 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-06/0.6803, allocations: 4 kB / 0.7117 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000191/0.6805, allocations: 73.58 kB / 0.7117 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6805, allocations: 11.94 kB / 0.7118 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6805, allocations: 3.953 kB / 0.7118 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.6805, allocations: 0 / 0.7118 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.6807, allocations: 24.02 kB / 0.7118 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.6807, allocations: 0 / 0.7118 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.6809, allocations: 23.86 kB / 0.7118 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.6809, allocations: 4 kB / 0.7118 GB, free: 0.9375 MB / 0.5886 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 9.33e-05/0.681, allocations: 112.7 kB / 0.7119 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.681, allocations: 3.906 kB / 0.7119 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.6813, allocations: 102.2 kB / 0.712 GB, free: 0.7148 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.641e-06/0.6813, allocations: 3.953 kB / 0.712 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-06/0.6813, allocations: 3.984 kB / 0.712 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-06/0.6813, allocations: 0 / 0.712 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.6818, allocations: 339 kB / 0.7123 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6819, allocations: 0 / 0.7123 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.682, allocations: 23.92 kB / 0.7124 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.682, allocations: 7.953 kB / 0.7124 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.682, allocations: 0 / 0.7124 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.571e-06/0.682, allocations: 0 / 0.7124 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-06/0.682, allocations: 0 / 0.7124 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.6823, allocations: 179.5 kB / 0.7125 GB, free: 100 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.6824, allocations: 81.11 kB / 0.7126 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.6824, allocations: 4.141 kB / 0.7126 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.6826, allocations: 23.98 kB / 0.7127 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.6827, allocations: 3.984 kB / 0.7127 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.6827, allocations: 4 kB / 0.7127 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.842e-05/0.6828, allocations: 87.28 kB / 0.7127 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.37e-07/0.6828, allocations: 0 / 0.7127 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003133/0.6831, allocations: 8 kB / 0.7128 GB, free: 15.87 MB / 0.6042 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.0001419/0.6833, allocations: 124.2 kB / 0.7129 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.6834, allocations: 36 kB / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.682e-06/0.6835, allocations: 4 kB / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.6835, allocations: 23.94 kB / 0.7129 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.6838, allocations: 15.92 kB / 0.7129 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.6842, allocations: 104.8 kB / 0.713 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.6845, allocations: 0.6927 MB / 0.7137 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.581e-05/0.6846, allocations: 4 kB / 0.7137 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.6847, allocations: 11.44 kB / 0.7137 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.531e-06/0.6847, allocations: 0 / 0.7137 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.003559/0.6882, allocations: 0.7471 MB / 0.7145 GB, free: 14.06 MB / 0.6042 GB