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.556/3.556, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.201e-05, allocations: 4 kB / 0.5004 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1881, allocations: 92.69 MB / 0.5909 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5836/0.7717, allocations: 120.9 MB / 0.7089 GB, free: 5.59 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.772, allocations: 83.94 kB / 0.709 GB, free: 5.508 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.003401/0.7755, allocations: 0.9406 MB / 0.7099 GB, free: 4.57 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.744e-06/0.7755, allocations: 0 / 0.7099 GB, free: 4.57 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.7755, allocations: 0 / 0.7099 GB, free: 4.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005225/0.776, allocations: 360.2 kB / 0.7102 GB, free: 4.172 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7761, allocations: 8.031 kB / 0.7102 GB, free: 4.164 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.7762, allocations: 11.86 kB / 0.7103 GB, free: 4.152 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.7764, allocations: 178.9 kB / 0.7104 GB, free: 3.938 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.7764, allocations: 0 / 0.7104 GB, free: 3.938 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.7764, allocations: 11.92 kB / 0.7104 GB, free: 3.926 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.7766, allocations: 57.66 kB / 0.7105 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7766, allocations: 0 / 0.7105 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.7766, allocations: 1.094 kB / 0.7105 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-06/0.7766, allocations: 0 / 0.7105 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.7767, allocations: 24 kB / 0.7105 GB, free: 3.84 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.7773, allocations: 306.8 kB / 0.7108 GB, free: 3.492 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.7775, allocations: 46.56 kB / 0.7109 GB, free: 3.438 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.7775, allocations: 4 kB / 0.7109 GB, free: 3.434 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.7777, allocations: 75.5 kB / 0.7109 GB, free: 3.348 MB / 0.573 GB Notification: Performance of pre-optimization done (n=9): time 2.627e-06/0.7777, allocations: 3.938 kB / 0.7109 GB, free: 3.344 MB / 0.573 GB Notification: Performance of matching and sorting (n=9): time 0.0003231/0.7781, allocations: 109.5 kB / 0.711 GB, free: 3.23 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.7781, allocations: 61.53 kB / 0.7111 GB, free: 3.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.7782, allocations: 109 kB / 0.7112 GB, free: 3.047 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.7783, allocations: 25.7 kB / 0.7112 GB, free: 3.016 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.7784, allocations: 96.12 kB / 0.7113 GB, free: 2.918 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.7784, allocations: 15.88 kB / 0.7113 GB, free: 2.902 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-06/0.7784, allocations: 0 / 0.7113 GB, free: 2.902 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7786, allocations: 323.6 kB / 0.7116 GB, free: 2.578 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.7787, allocations: 16 kB / 0.7117 GB, free: 2.562 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.548e-05/0.7788, allocations: 52.83 kB / 0.7117 GB, free: 2.496 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.7788, allocations: 16 kB / 0.7117 GB, free: 2.48 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.121e-06/0.7788, allocations: 0 / 0.7117 GB, free: 2.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002205/0.7791, allocations: 105.4 kB / 0.7118 GB, free: 2.371 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7791, allocations: 4 kB / 0.7118 GB, free: 2.367 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.58e-06/0.7791, allocations: 4 kB / 0.7118 GB, free: 2.363 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7791, allocations: 3.938 kB / 0.7118 GB, free: 2.359 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.7792, allocations: 23.88 kB / 0.7119 GB, free: 2.336 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.7792, allocations: 8.078 kB / 0.7119 GB, free: 2.328 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.7794, allocations: 19.89 kB / 0.7119 GB, free: 2.309 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.7794, allocations: 4 kB / 0.7119 GB, free: 2.305 MB / 0.573 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 0.0001224/0.7795, allocations: 118.8 kB / 0.712 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.7796, allocations: 4 kB / 0.712 GB, free: 2.176 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.7796, allocations: 8.375 kB / 0.712 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-06/0.7796, allocations: 0 / 0.712 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.929e-06/0.7796, allocations: 11.95 kB / 0.712 GB, free: 2.156 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.544e-06/0.7797, allocations: 3.984 kB / 0.712 GB, free: 2.152 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/0.7804, allocations: 382.3 kB / 0.7124 GB, free: 1.723 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-06/0.7804, allocations: 0.9688 kB / 0.7124 GB, free: 1.723 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.7804, allocations: 0 / 0.7124 GB, free: 1.723 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.115e-06/0.7804, allocations: 11.98 kB / 0.7124 GB, free: 1.711 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.7804, allocations: 3.953 kB / 0.7124 GB, free: 1.707 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.501e-06/0.7804, allocations: 0 / 0.7124 GB, free: 1.707 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.7805, allocations: 0 / 0.7124 GB, free: 1.707 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.7807, allocations: 191.4 kB / 0.7126 GB, free: 1.504 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.7808, allocations: 77.11 kB / 0.7127 GB, free: 1.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.7808, allocations: 7.984 kB / 0.7127 GB, free: 1.402 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.781, allocations: 23.94 kB / 0.7127 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.7811, allocations: 7.984 kB / 0.7127 GB, free: 1.371 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.7811, allocations: 4 kB / 0.7127 GB, free: 1.367 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.053e-05/0.7812, allocations: 95.39 kB / 0.7128 GB, free: 1.273 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.16e-07/0.7812, allocations: 0 / 0.7128 GB, free: 1.273 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000333/0.7815, allocations: 16 kB / 0.7128 GB, free: 1.258 MB / 0.573 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.0001507/0.7817, allocations: 111 kB / 0.7129 GB, free: 1.137 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.7819, allocations: 59.84 kB / 0.713 GB, free: 1.078 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7819, allocations: 7.938 kB / 0.713 GB, free: 1.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.782, allocations: 24 kB / 0.713 GB, free: 1.047 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.7823, allocations: 18.56 kB / 0.713 GB, free: 1.031 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.7828, allocations: 187.8 kB / 0.7132 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.7832, allocations: 0.6965 MB / 0.7139 GB, free: 100 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.388e-05/0.7833, allocations: 8.656 kB / 0.7139 GB, free: 92 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.7833, allocations: 11.44 kB / 0.7139 GB, free: 80 kB / 0.573 GB Notification: Performance of SimCode: time 1.384e-06/0.7833, allocations: 0 / 0.7139 GB, free: 80 kB / 0.573 GB Notification: Performance of Templates: time 0.004489/0.7878, allocations: 0.8929 MB / 0.7148 GB, free: 15.19 MB / 0.5886 GB