Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadModel(Buildings): time 3.67/3.67, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.193e-05, allocations: 8 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5247, allocations: 92.69 MB / 0.5895 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.7033, allocations: 120.8 MB / 0.7075 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.7037, allocations: 87.94 kB / 0.7076 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003292/0.707, allocations: 0.9447 MB / 0.7086 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.898e-06/0.707, allocations: 0 / 0.7086 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.563e-06/0.707, allocations: 0 / 0.7086 GB, free: 4.496 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004826/0.7075, allocations: 350.5 kB / 0.7089 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7076, allocations: 8.031 kB / 0.7089 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.7076, allocations: 11.86 kB / 0.7089 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.7078, allocations: 178.9 kB / 0.7091 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.7078, allocations: 4 kB / 0.7091 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.7079, allocations: 11.98 kB / 0.7091 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.708, allocations: 53.67 kB / 0.7091 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.863e-06/0.708, allocations: 0 / 0.7091 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.7081, allocations: 4 kB / 0.7091 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-06/0.7081, allocations: 0 / 0.7091 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.7081, allocations: 16 kB / 0.7092 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.7087, allocations: 304.7 kB / 0.7095 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.7088, allocations: 46.52 kB / 0.7095 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.7089, allocations: 20.98 kB / 0.7095 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.7089, allocations: 0 / 0.7095 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.7091, allocations: 79.38 kB / 0.7096 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 4.987e-06/0.7091, allocations: 4 kB / 0.7096 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002419/0.7094, allocations: 97.42 kB / 0.7097 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.7095, allocations: 55.39 kB / 0.7097 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7096, allocations: 108.9 kB / 0.7098 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.7096, allocations: 29.7 kB / 0.7099 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.7097, allocations: 92.19 kB / 0.71 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.7097, allocations: 15.81 kB / 0.71 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-06/0.7097, allocations: 0 / 0.71 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7099, allocations: 322.8 kB / 0.7103 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.71, allocations: 16 kB / 0.7103 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.7101, allocations: 48.3 kB / 0.7103 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.7101, allocations: 23.92 kB / 0.7104 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-06/0.7101, allocations: 0 / 0.7104 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002094/0.7104, allocations: 105.5 kB / 0.7105 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7104, allocations: 4 kB / 0.7105 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.067e-06/0.7104, allocations: 4 kB / 0.7105 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7104, allocations: 7.953 kB / 0.7105 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.7105, allocations: 4 kB / 0.7105 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.7105, allocations: 7.938 kB / 0.7105 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.7107, allocations: 19.89 kB / 0.7105 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.7107, allocations: 8.094 kB / 0.7105 GB, free: 2.246 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,onCounter.reset,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.192e-05/0.7108, allocations: 112 kB / 0.7106 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.7108, allocations: 4 kB / 0.7106 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.7109, allocations: 16.61 kB / 0.7107 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-06/0.7109, allocations: 0 / 0.7107 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.138e-06/0.7109, allocations: 3.953 kB / 0.7107 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-06/0.7109, allocations: 4.078 kB / 0.7107 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.7115, allocations: 390.8 kB / 0.711 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.647e-06/0.7116, allocations: 0 / 0.711 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.7116, allocations: 3.938 kB / 0.711 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-06/0.7116, allocations: 3.953 kB / 0.711 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.7116, allocations: 8 kB / 0.711 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.953e-06/0.7116, allocations: 3.984 kB / 0.7111 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-06/0.7117, allocations: 0 / 0.7111 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.7119, allocations: 183.4 kB / 0.7112 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.712, allocations: 81.09 kB / 0.7113 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.712, allocations: 7.953 kB / 0.7113 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.7122, allocations: 15.98 kB / 0.7113 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.7123, allocations: 7.984 kB / 0.7113 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.7123, allocations: 4 kB / 0.7113 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.563e-05/0.7124, allocations: 95.27 kB / 0.7114 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.11e-07/0.7124, allocations: 0 / 0.7114 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003383/0.7127, allocations: 16 kB / 0.7114 GB, free: 1.211 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: 9 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.000149/0.7129, allocations: 112.3 kB / 0.7116 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.7131, allocations: 55.88 kB / 0.7116 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.64e-06/0.7131, allocations: 4 kB / 0.7116 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.7132, allocations: 32.64 kB / 0.7116 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.7135, allocations: 16.12 kB / 0.7117 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.7138, allocations: 105.4 kB / 0.7118 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.7142, allocations: 0.7004 MB / 0.7124 GB, free: 136 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.477e-05/0.7143, allocations: 8.656 kB / 0.7124 GB, free: 128 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.7143, allocations: 15.44 kB / 0.7125 GB, free: 112 kB / 0.5886 GB Notification: Performance of SimCode: time 1.402e-06/0.7143, allocations: 0 / 0.7125 GB, free: 112 kB / 0.5886 GB Notification: Performance of Templates: time 0.003892/0.7182, allocations: 0.8974 MB / 0.7133 GB, free: 15.23 MB / 0.6042 GB