Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.931/3.931, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.729e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6559/0.656, allocations: 92.7 MB / 0.5897 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/0.9059, allocations: 120.8 MB / 0.7077 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004709/0.9065, allocations: 79.95 kB / 0.7078 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004992/0.9115, allocations: 0.9372 MB / 0.7087 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9116, allocations: 0 / 0.7087 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.9116, allocations: 0 / 0.7087 GB, free: 4.379 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.0007263/0.9123, allocations: 370.4 kB / 0.709 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.9124, allocations: 8.031 kB / 0.709 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.9125, allocations: 46.48 kB / 0.7091 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.9125, allocations: 7.953 kB / 0.7091 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.9127, allocations: 170.9 kB / 0.7092 GB, free: 3.695 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.9128, allocations: 4 kB / 0.7092 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.9128, allocations: 12 kB / 0.7093 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.913, allocations: 49.67 kB / 0.7093 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.913, allocations: 0 / 0.7093 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.9131, allocations: 0 / 0.7093 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.9131, allocations: 0 / 0.7093 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.9132, allocations: 23.95 kB / 0.7093 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.914, allocations: 300.8 kB / 0.7096 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.9142, allocations: 46.56 kB / 0.7097 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.9143, allocations: 16.98 kB / 0.7097 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.9144, allocations: 4 kB / 0.7097 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.9146, allocations: 83.38 kB / 0.7098 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 3.286e-06/0.9147, allocations: 4 kB / 0.7098 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003592/0.915, allocations: 89.48 kB / 0.7099 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.9151, allocations: 63.34 kB / 0.7099 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.9153, allocations: 105 kB / 0.71 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.9153, allocations: 29.7 kB / 0.71 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.9154, allocations: 88.14 kB / 0.7101 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.9155, allocations: 23.7 kB / 0.7101 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.9155, allocations: 0 / 0.7101 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.9157, allocations: 318.8 kB / 0.7105 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.9158, allocations: 19.94 kB / 0.7105 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.9159, allocations: 52.22 kB / 0.7105 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.822e-05/0.916, allocations: 19.98 kB / 0.7105 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.916, allocations: 0 / 0.7105 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003089/0.9164, allocations: 93.56 kB / 0.7106 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.9164, allocations: 4 kB / 0.7106 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.9164, allocations: 4 kB / 0.7106 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.9165, allocations: 7.938 kB / 0.7106 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.9166, allocations: 12 kB / 0.7107 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.9166, allocations: 3.984 kB / 0.7107 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.9169, allocations: 19.89 kB / 0.7107 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.9169, allocations: 8.094 kB / 0.7107 GB, free: 2.074 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 0.0001263/0.9171, allocations: 116 kB / 0.7108 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.9171, allocations: 4 kB / 0.7108 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.9172, allocations: 8.625 kB / 0.7108 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.9172, allocations: 7.938 kB / 0.7108 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9172, allocations: 0 / 0.7108 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.9172, allocations: 0 / 0.7108 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.9182, allocations: 394.8 kB / 0.7112 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9183, allocations: 0 / 0.7112 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.9183, allocations: 0 / 0.7112 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.9183, allocations: 7.953 kB / 0.7112 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.9184, allocations: 0 / 0.7112 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9184, allocations: 0 / 0.7112 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.9184, allocations: 0 / 0.7112 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.9188, allocations: 191.4 kB / 0.7114 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.9189, allocations: 85.11 kB / 0.7115 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.9189, allocations: 7.938 kB / 0.7115 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.9192, allocations: 16.02 kB / 0.7115 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.9193, allocations: 15.97 kB / 0.7115 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.9193, allocations: 8 kB / 0.7115 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.443e-05/0.9194, allocations: 91.22 kB / 0.7116 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.61e-07/0.9195, allocations: 0 / 0.7116 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005489/0.92, allocations: 12 kB / 0.7116 GB, free: 1.035 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.0008061/0.9209, allocations: 0.736 MB / 0.7123 GB, free: 280 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.9211, allocations: 52.03 kB / 0.7124 GB, free: 228 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9212, allocations: 3.938 kB / 0.7124 GB, free: 224 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.9213, allocations: 28 kB / 0.7124 GB, free: 196 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.9218, allocations: 15.94 kB / 0.7124 GB, free: 180 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008651/0.9227, allocations: 143.1 kB / 0.7126 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.9231, allocations: 0.6967 MB / 0.7132 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.499e-05/0.9232, allocations: 4.672 kB / 0.7132 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.9233, allocations: 23.36 kB / 0.7133 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.373e-06/0.9233, allocations: 0 / 0.7133 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.9687, allocations: 1.777 MB / 0.715 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/0.9691, allocations: 169.6 kB / 0.7152 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/3.214, allocations: 0 / 0.7152 GB, free: 13.31 MB / 0.6042 GB