Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadModel(Buildings): time 4.405/4.405, allocations: 464.7 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.389e-05, allocations: 7.984 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1974, allocations: 107.2 MB / 0.6778 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6997/0.8972, allocations: 132.1 MB / 0.8068 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.8974, allocations: 74.7 kB / 0.8068 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005786/0.9032, allocations: 1.53 MB / 0.8083 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.138e-06/0.9033, allocations: 0 / 0.8083 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.9033, allocations: 0 / 0.8083 GB, free: 12.33 MB / 0.6355 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.0004773/0.9038, allocations: 383.7 kB / 0.8087 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9039, allocations: 11.66 kB / 0.8087 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.9039, allocations: 10.59 kB / 0.8087 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.541e-05/0.904, allocations: 171.2 kB / 0.8089 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.9041, allocations: 37.61 kB / 0.8089 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.9041, allocations: 6.516 kB / 0.8089 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.9043, allocations: 57.27 kB / 0.809 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.734e-06/0.9043, allocations: 0 / 0.809 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.9043, allocations: 0 / 0.809 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-06/0.9043, allocations: 7.812 kB / 0.809 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.9044, allocations: 17.81 kB / 0.809 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.9048, allocations: 295.9 kB / 0.8093 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.905, allocations: 42.08 kB / 0.8093 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.905, allocations: 16.14 kB / 0.8093 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.905, allocations: 3.75 kB / 0.8093 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.9052, allocations: 77.78 kB / 0.8094 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.754e-06/0.9052, allocations: 0 / 0.8094 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002134/0.9054, allocations: 76.84 kB / 0.8095 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.9055, allocations: 55.22 kB / 0.8095 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.9056, allocations: 110.4 kB / 0.8097 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.9056, allocations: 29.48 kB / 0.8097 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.9056, allocations: 86.98 kB / 0.8098 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.9057, allocations: 22.27 kB / 0.8098 GB, free: 11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-06/0.9057, allocations: 0 / 0.8098 GB, free: 11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.9058, allocations: 316.6 kB / 0.8101 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.9058, allocations: 22.31 kB / 0.8101 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.9059, allocations: 37.05 kB / 0.8101 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.906, allocations: 18.38 kB / 0.8102 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.415e-06/0.906, allocations: 0 / 0.8102 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000203/0.9062, allocations: 89.27 kB / 0.8102 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9062, allocations: 3.844 kB / 0.8102 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.408e-06/0.9063, allocations: 3.844 kB / 0.8103 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.9063, allocations: 4.031 kB / 0.8103 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.9065, allocations: 20.61 kB / 0.8103 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.126e-06/0.9065, allocations: 0 / 0.8103 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.9066, allocations: 25.22 kB / 0.8103 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.9067, allocations: 0 / 0.8103 GB, free: 10.61 MB / 0.6355 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 6.276e-05/0.9067, allocations: 116.6 kB / 0.8104 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.9068, allocations: 10.88 kB / 0.8104 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.907, allocations: 78.84 kB / 0.8105 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.718e-06/0.907, allocations: 7.219 kB / 0.8105 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.889e-06/0.907, allocations: 192 / 0.8105 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-06/0.907, allocations: 96 / 0.8105 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.9075, allocations: 358 kB / 0.8108 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.544e-06/0.9075, allocations: 7.984 kB / 0.8109 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.9076, allocations: 14.23 kB / 0.8109 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.402e-06/0.9076, allocations: 0 / 0.8109 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.9077, allocations: 0 / 0.8109 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.402e-06/0.9077, allocations: 0 / 0.8109 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.414e-06/0.9077, allocations: 3.953 kB / 0.8109 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.9079, allocations: 174.8 kB / 0.811 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.9079, allocations: 83.88 kB / 0.8111 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.9079, allocations: 0 / 0.8111 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.9081, allocations: 16.31 kB / 0.8111 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.9082, allocations: 8.781 kB / 0.8111 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.9082, allocations: 10.36 kB / 0.8112 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.9082, allocations: 86.91 kB / 0.8112 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.15e-07/0.9083, allocations: 3.938 kB / 0.8112 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003336/0.9086, allocations: 19.56 kB / 0.8113 GB, free: 9.816 MB / 0.6355 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.0001131/0.9087, allocations: 104.2 kB / 0.8114 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.9089, allocations: 46.19 kB / 0.8114 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.602e-06/0.9089, allocations: 0 / 0.8114 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.909, allocations: 28.45 kB / 0.8114 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.9093, allocations: 8.297 kB / 0.8114 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.9096, allocations: 108.8 kB / 0.8115 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.9101, allocations: 0.6882 MB / 0.8122 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.9102, allocations: 6.422 kB / 0.8122 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.9102, allocations: 7.438 kB / 0.8122 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of SimCode: time 1.701e-06/0.9102, allocations: 0 / 0.8122 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of Templates: time 0.003541/0.9138, allocations: 0.7882 MB / 0.813 GB, free: 24.86 MB / 0.6511 GB