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.983/3.983, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.956e-05/4.982e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6005, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.8248, allocations: 120.8 MB / 0.7076 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.8252, allocations: 83.94 kB / 0.7077 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003689/0.8289, allocations: 0.9411 MB / 0.7086 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/0.829, allocations: 0 / 0.7086 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.829, allocations: 0 / 0.7086 GB, free: 4.48 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.0006064/0.8296, allocations: 362.4 kB / 0.709 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.8297, allocations: 11.86 kB / 0.709 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.8297, allocations: 38.55 kB / 0.709 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.8298, allocations: 7.953 kB / 0.709 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.83, allocations: 174.9 kB / 0.7092 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.83, allocations: 4 kB / 0.7092 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.83, allocations: 12 kB / 0.7092 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.8302, allocations: 53.61 kB / 0.7093 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8302, allocations: 0 / 0.7093 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.8302, allocations: 4 kB / 0.7093 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.8302, allocations: 0 / 0.7093 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.8303, allocations: 19.95 kB / 0.7093 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.831, allocations: 304.8 kB / 0.7096 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.8311, allocations: 42.58 kB / 0.7096 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.8312, allocations: 20.98 kB / 0.7097 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.8312, allocations: 0 / 0.7097 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.8314, allocations: 87.31 kB / 0.7097 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.8314, allocations: 0 / 0.7097 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002825/0.8317, allocations: 89.55 kB / 0.7098 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.8318, allocations: 55.34 kB / 0.7099 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.8319, allocations: 109 kB / 0.71 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.8319, allocations: 29.7 kB / 0.71 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.832, allocations: 84.14 kB / 0.7101 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.8321, allocations: 27.77 kB / 0.7101 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.8321, allocations: 0 / 0.7101 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8322, allocations: 322.8 kB / 0.7104 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.8323, allocations: 12.47 kB / 0.7104 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.8324, allocations: 56.22 kB / 0.7105 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.713e-05/0.8324, allocations: 19.98 kB / 0.7105 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8325, allocations: 0 / 0.7105 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002186/0.8327, allocations: 97.56 kB / 0.7106 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8327, allocations: 7.938 kB / 0.7106 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8327, allocations: 0 / 0.7106 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.8328, allocations: 12.03 kB / 0.7106 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.8329, allocations: 11.94 kB / 0.7106 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.8329, allocations: 7.984 kB / 0.7106 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.8331, allocations: 23.97 kB / 0.7107 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.8331, allocations: 8 kB / 0.7107 GB, free: 2.172 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.694e-05/0.8332, allocations: 109 kB / 0.7108 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.8332, allocations: 4 kB / 0.7108 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.8333, allocations: 12.62 kB / 0.7108 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.8333, allocations: 7.938 kB / 0.7108 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8333, allocations: 0 / 0.7108 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.8333, allocations: 0 / 0.7108 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.8341, allocations: 386.3 kB / 0.7112 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8341, allocations: 0 / 0.7112 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.8341, allocations: 0 / 0.7112 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.8341, allocations: 3.953 kB / 0.7112 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.8342, allocations: 8 kB / 0.7112 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8342, allocations: 0 / 0.7112 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8342, allocations: 4 kB / 0.7112 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.8344, allocations: 183.4 kB / 0.7114 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.8345, allocations: 77.11 kB / 0.7114 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.8345, allocations: 11.94 kB / 0.7114 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.8347, allocations: 15.98 kB / 0.7115 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.8348, allocations: 7.984 kB / 0.7115 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.8348, allocations: 11.94 kB / 0.7115 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.8349, allocations: 91.41 kB / 0.7116 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8349, allocations: 0 / 0.7116 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002999/0.8352, allocations: 16 kB / 0.7116 GB, free: 1.145 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.0005995/0.8358, allocations: 0.7316 MB / 0.7123 GB, free: 396 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.836, allocations: 59.88 kB / 0.7123 GB, free: 336 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8361, allocations: 0 / 0.7123 GB, free: 336 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/0.8362, allocations: 28 kB / 0.7124 GB, free: 308 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.8365, allocations: 17.14 kB / 0.7124 GB, free: 292 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.8371, allocations: 143 kB / 0.7125 GB, free: 108 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.8374, allocations: 0.6967 MB / 0.7132 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.974e-05/0.8375, allocations: 4.672 kB / 0.7132 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.8376, allocations: 23.42 kB / 0.7132 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/0.8376, allocations: 0.5625 kB / 0.7132 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.8609, allocations: 1.789 MB / 0.715 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/0.8613, allocations: 172.7 kB / 0.7151 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.054, allocations: 0 / 0.7151 GB, free: 13.41 MB / 0.6042 GB