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.633/3.633, allocations: 402 MB / 416.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.78e-05/4.801e-05, allocations: 4 kB / 0.501 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 92.69 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002453/0.2375, allocations: 1.1 MB / 0.5926 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.2384, allocations: 204.3 kB / 0.5927 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.2385, allocations: 0 / 0.5927 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.2385, allocations: 3.938 kB / 0.5928 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.2387, allocations: 15.95 kB / 0.5928 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.2388, allocations: 15.92 kB / 0.5928 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.239, allocations: 35.91 kB / 0.5928 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2391, allocations: 4 kB / 0.5928 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.2392, allocations: 15.98 kB / 0.5928 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.944e-05/0.2393, allocations: 23.89 kB / 0.5929 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.2394, allocations: 4 kB / 0.5929 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.2394, allocations: 4 kB / 0.5929 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.2394, allocations: 7.938 kB / 0.5929 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.2395, allocations: 4 kB / 0.5929 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.2396, allocations: 40.12 kB / 0.5929 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2397, allocations: 0 / 0.5929 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2397, allocations: 4 kB / 0.5929 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2397, allocations: 4 kB / 0.5929 GB, free: 9.883 MB / 0.4948 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.0009706/0.2407, allocations: 359.5 kB / 0.5933 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.338e-05/0.2408, allocations: 8.031 kB / 0.5933 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.2409, allocations: 11.86 kB / 0.5933 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.2412, allocations: 175.1 kB / 0.5935 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.2412, allocations: 4 kB / 0.5935 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.2413, allocations: 4 kB / 0.5935 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2415, allocations: 57.61 kB / 0.5935 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2416, allocations: 0 / 0.5935 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.2416, allocations: 3.984 kB / 0.5935 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2416, allocations: 3.984 kB / 0.5935 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.2418, allocations: 20 kB / 0.5935 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.2426, allocations: 292.7 kB / 0.5938 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.2428, allocations: 46.56 kB / 0.5939 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2429, allocations: 3.938 kB / 0.5939 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.2432, allocations: 83.5 kB / 0.5939 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 3.586e-06/0.2432, allocations: 0 / 0.5939 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0005895/0.2438, allocations: 113.5 kB / 0.5941 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.2439, allocations: 59.41 kB / 0.5941 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2441, allocations: 101 kB / 0.5942 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.2442, allocations: 33.7 kB / 0.5942 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.2443, allocations: 92.06 kB / 0.5943 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.2444, allocations: 27.72 kB / 0.5944 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.2444, allocations: 0 / 0.5944 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2446, allocations: 322.8 kB / 0.5947 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.2447, allocations: 16 kB / 0.5947 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2449, allocations: 52.22 kB / 0.5947 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.2451, allocations: 20 kB / 0.5947 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2451, allocations: 0 / 0.5947 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003857/0.2455, allocations: 101.6 kB / 0.5948 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.2455, allocations: 4.75 kB / 0.5948 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2455, allocations: 0 / 0.5948 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.2456, allocations: 4 kB / 0.5949 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2457, allocations: 7.984 kB / 0.5949 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.2457, allocations: 7.953 kB / 0.5949 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.246, allocations: 23.89 kB / 0.5949 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.246, allocations: 4 kB / 0.5949 GB, free: 7.633 MB / 0.4948 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,reset.y,$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.000155/0.2462, allocations: 121.8 kB / 0.595 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.2462, allocations: 7.938 kB / 0.595 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.2463, allocations: 8.375 kB / 0.595 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2463, allocations: 0 / 0.595 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2463, allocations: 3.984 kB / 0.595 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.2464, allocations: 88.97 kB / 0.5951 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.2464, allocations: 4 kB / 0.5951 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2467, allocations: 15.98 kB / 0.5951 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.2468, allocations: 11.98 kB / 0.5951 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005389/0.2473, allocations: 176.9 kB / 0.5953 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004399/0.2478, allocations: 266.6 kB / 0.5956 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001325/0.2479, allocations: 31.98 kB / 0.5956 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.279e-05/0.248, allocations: 91.27 kB / 0.5957 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of Backend: time 3.677e-06/0.2481, allocations: 0 / 0.5957 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005774/0.2487, allocations: 122.8 kB / 0.5958 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001027/0.2497, allocations: 0.6249 MB / 0.5964 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of Templates: time 0.004484/0.2542, allocations: 0.9128 MB / 0.5973 GB, free: 5.062 MB / 0.4948 GB