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.831/3.831, allocations: 403.9 MB / 411 MB, free: 352 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.592e-05, allocations: 4 kB / 0.4942 GB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.6171, allocations: 92.7 MB / 0.5847 GB, free: 2.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.7931, allocations: 121 MB / 0.7028 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.7934, allocations: 87.94 kB / 0.7029 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005548/0.799, allocations: 1.483 MB / 0.7044 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.015e-06/0.799, allocations: 0 / 0.7044 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.869e-06/0.7991, allocations: 4 kB / 0.7044 GB, free: 7.691 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.0005087/0.7996, allocations: 366.4 kB / 0.7047 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.7996, allocations: 16.02 kB / 0.7047 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.7997, allocations: 7.859 kB / 0.7047 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.7999, allocations: 174.9 kB / 0.7049 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.7999, allocations: 11.98 kB / 0.7049 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.7999, allocations: 0 / 0.7049 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.853e-05/0.8, allocations: 20 kB / 0.7049 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.8001, allocations: 45.69 kB / 0.705 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.8002, allocations: 0 / 0.705 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8002, allocations: 4 kB / 0.705 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.8002, allocations: 3.953 kB / 0.705 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.8007, allocations: 273.3 kB / 0.7052 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.8008, allocations: 42.52 kB / 0.7053 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.8009, allocations: 16.98 kB / 0.7053 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.8009, allocations: 0 / 0.7053 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.8011, allocations: 67.39 kB / 0.7054 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.198e-06/0.8011, allocations: 0 / 0.7054 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002199/0.8013, allocations: 81.55 kB / 0.7054 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.8014, allocations: 55.34 kB / 0.7055 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.8015, allocations: 101 kB / 0.7056 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.8015, allocations: 25.7 kB / 0.7056 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.8016, allocations: 88.14 kB / 0.7057 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.8016, allocations: 19.8 kB / 0.7057 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-06/0.8016, allocations: 0 / 0.7057 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8018, allocations: 310.8 kB / 0.706 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.8018, allocations: 16 kB / 0.706 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.36e-05/0.8019, allocations: 38.56 kB / 0.7061 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.519e-05/0.8019, allocations: 8 kB / 0.7061 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.633e-06/0.802, allocations: 4 kB / 0.7061 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001719/0.8021, allocations: 73.7 kB / 0.7061 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8022, allocations: 8 kB / 0.7062 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.409e-06/0.8022, allocations: 4.031 kB / 0.7062 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8022, allocations: 11.97 kB / 0.7062 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.8024, allocations: 15.98 kB / 0.7062 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.8024, allocations: 7.938 kB / 0.7062 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.8025, allocations: 23.86 kB / 0.7062 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.8025, allocations: 4 kB / 0.7062 GB, free: 5.574 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 8.644e-05/0.8026, allocations: 105 kB / 0.7063 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.8027, allocations: 7.906 kB / 0.7063 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.8029, allocations: 82.36 kB / 0.7064 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.504e-06/0.8029, allocations: 0 / 0.7064 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.435e-06/0.8029, allocations: 3.953 kB / 0.7064 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8029, allocations: 4 kB / 0.7064 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.8034, allocations: 319.1 kB / 0.7067 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-06/0.8034, allocations: 4 kB / 0.7067 GB, free: 5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.8035, allocations: 15.98 kB / 0.7067 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.71e-06/0.8035, allocations: 0 / 0.7067 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.8035, allocations: 0 / 0.7067 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.582e-06/0.8035, allocations: 3.953 kB / 0.7067 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.684e-06/0.8036, allocations: 0 / 0.7067 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.8038, allocations: 179.9 kB / 0.7069 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.8038, allocations: 77.11 kB / 0.707 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.8039, allocations: 4 kB / 0.707 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.8041, allocations: 15.98 kB / 0.707 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.8041, allocations: 11.94 kB / 0.707 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.8041, allocations: 4 kB / 0.707 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.8042, allocations: 91.33 kB / 0.7071 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.52e-07/0.8042, allocations: 0 / 0.7071 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003113/0.8045, allocations: 12 kB / 0.7071 GB, free: 4.559 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.0001263/0.8047, allocations: 109.1 kB / 0.7072 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.8048, allocations: 39.94 kB / 0.7073 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8049, allocations: 0 / 0.7073 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.8049, allocations: 20 kB / 0.7073 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.8052, allocations: 11.98 kB / 0.7073 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.8055, allocations: 103.9 kB / 0.7074 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.8059, allocations: 0.6923 MB / 0.7081 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.82e-05/0.8059, allocations: 7.938 kB / 0.7081 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.806, allocations: 11.44 kB / 0.7081 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of SimCode: time 5.375e-06/0.806, allocations: 0 / 0.7081 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of Templates: time 0.003254/0.8093, allocations: 0.6934 MB / 0.7088 GB, free: 2.82 MB / 0.5886 GB