Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.954/3.954, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.788e-05/4.792e-05, allocations: 5.016 kB / 0.5338 GB, free: 12.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 98.73 MB / 0.6302 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.451, allocations: 124.3 MB / 0.7516 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.4513, allocations: 67.95 kB / 0.7517 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00366/0.455, allocations: 0.9269 MB / 0.7526 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.455, allocations: 4 kB / 0.7526 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4551, allocations: 0 / 0.7526 GB, free: 8.598 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005509/0.4556, allocations: 354.5 kB / 0.7529 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4557, allocations: 12.03 kB / 0.753 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.4557, allocations: 38.55 kB / 0.753 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.4558, allocations: 7.906 kB / 0.753 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.456, allocations: 179 kB / 0.7532 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.456, allocations: 0 / 0.7532 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.456, allocations: 4 kB / 0.7532 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.4562, allocations: 53.67 kB / 0.7532 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4562, allocations: 0 / 0.7532 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4562, allocations: 0 / 0.7532 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4562, allocations: 4 kB / 0.7532 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.4563, allocations: 20 kB / 0.7532 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.4569, allocations: 308.6 kB / 0.7535 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4571, allocations: 46.58 kB / 0.7536 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.4572, allocations: 16.98 kB / 0.7536 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.4572, allocations: 4 kB / 0.7536 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.4574, allocations: 79.38 kB / 0.7537 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.967e-06/0.4574, allocations: 3.984 kB / 0.7537 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002759/0.4577, allocations: 93.48 kB / 0.7538 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4578, allocations: 51.41 kB / 0.7538 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4579, allocations: 113 kB / 0.7539 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.4579, allocations: 33.7 kB / 0.754 GB, free: 7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.458, allocations: 88.14 kB / 0.754 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.458, allocations: 23.8 kB / 0.7541 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.458, allocations: 4 kB / 0.7541 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4582, allocations: 318.8 kB / 0.7544 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.4582, allocations: 19.94 kB / 0.7544 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.4583, allocations: 48.28 kB / 0.7544 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.172e-05/0.4584, allocations: 20 kB / 0.7545 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4584, allocations: 0 / 0.7545 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002092/0.4586, allocations: 89.52 kB / 0.7545 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4587, allocations: 8 kB / 0.7546 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4587, allocations: 0 / 0.7546 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4587, allocations: 4 kB / 0.7546 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.4588, allocations: 12.02 kB / 0.7546 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.4588, allocations: 11.95 kB / 0.7546 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.459, allocations: 15.98 kB / 0.7546 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.459, allocations: 7.938 kB / 0.7546 GB, free: 6.309 MB / 0.6355 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.199e-05/0.4591, allocations: 109 kB / 0.7547 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.4592, allocations: 11.84 kB / 0.7547 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.4592, allocations: 8.625 kB / 0.7547 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.4592, allocations: 8 kB / 0.7547 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4592, allocations: 3.984 kB / 0.7547 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4593, allocations: 3.953 kB / 0.7547 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.46, allocations: 382.4 kB / 0.7551 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.46, allocations: 0 / 0.7551 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.46, allocations: 8.469 kB / 0.7551 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.46, allocations: 0 / 0.7551 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.46, allocations: 7.953 kB / 0.7551 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4601, allocations: 0 / 0.7551 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4601, allocations: 0 / 0.7551 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.4603, allocations: 183.4 kB / 0.7553 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4604, allocations: 81.02 kB / 0.7554 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4604, allocations: 7.984 kB / 0.7554 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4606, allocations: 23.94 kB / 0.7554 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.4607, allocations: 7.984 kB / 0.7554 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4607, allocations: 4 kB / 0.7554 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.901e-05/0.4608, allocations: 91.28 kB / 0.7555 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4608, allocations: 0 / 0.7555 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003176/0.4611, allocations: 12 kB / 0.7555 GB, free: 5.27 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: 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.0005828/0.4617, allocations: 0.7247 MB / 0.7562 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.4619, allocations: 55.88 kB / 0.7563 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4619, allocations: 0 / 0.7563 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.462, allocations: 28.47 kB / 0.7563 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4624, allocations: 31.42 kB / 0.7563 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.463, allocations: 139.1 kB / 0.7565 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4632, allocations: 0.6926 MB / 0.7571 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.9e-05/0.4633, allocations: 4.953 kB / 0.7572 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.4634, allocations: 31.36 kB / 0.7572 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of SimCode: time 9.41e-07/0.4634, allocations: 0 / 0.7572 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.4867, allocations: 1.778 MB / 0.7589 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/0.4871, allocations: 171.5 kB / 0.7591 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.634, allocations: 3.938 kB / 0.7591 GB, free: 1.535 MB / 0.6355 GB