Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.358/4.358, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.985e-05, allocations: 4 kB / 0.5732 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2295, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8689/1.098, allocations: 131.7 MB / 0.8065 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.099, allocations: 76.91 kB / 0.8065 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004306/1.103, allocations: 1.04 MB / 0.8075 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.103, allocations: 0 / 0.8075 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.714e-06/1.103, allocations: 0 / 0.8075 GB, free: 12.14 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.0006393/1.104, allocations: 382 kB / 0.8079 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.104, allocations: 9.984 kB / 0.8079 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/1.104, allocations: 33.94 kB / 0.8079 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/1.104, allocations: 10.75 kB / 0.808 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.104, allocations: 166.8 kB / 0.8081 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.104, allocations: 69.52 kB / 0.8082 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/1.104, allocations: 8 kB / 0.8082 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.104, allocations: 53.98 kB / 0.8082 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.104, allocations: 3.938 kB / 0.8082 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.104, allocations: 0 / 0.8082 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/1.104, allocations: 0 / 0.8082 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/1.105, allocations: 21.91 kB / 0.8083 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/1.105, allocations: 304.3 kB / 0.8086 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/1.105, allocations: 51.55 kB / 0.8086 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/1.105, allocations: 19.2 kB / 0.8086 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/1.105, allocations: 0 / 0.8086 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/1.106, allocations: 81.5 kB / 0.8087 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/1.106, allocations: 0 / 0.8087 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002445/1.106, allocations: 95.98 kB / 0.8088 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/1.106, allocations: 52.06 kB / 0.8088 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/1.106, allocations: 114.7 kB / 0.809 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/1.106, allocations: 29.39 kB / 0.809 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/1.106, allocations: 83.83 kB / 0.8091 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/1.106, allocations: 26.42 kB / 0.8091 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/1.106, allocations: 3.188 kB / 0.8091 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/1.106, allocations: 320.7 kB / 0.8094 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/1.106, allocations: 22.09 kB / 0.8094 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/1.106, allocations: 46.98 kB / 0.8095 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.298e-05/1.106, allocations: 27.48 kB / 0.8095 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.106, allocations: 0 / 0.8095 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002252/1.107, allocations: 104.5 kB / 0.8096 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.107, allocations: 7.656 kB / 0.8096 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/1.107, allocations: 0 / 0.8096 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.107, allocations: 4.312 kB / 0.8096 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/1.107, allocations: 10.56 kB / 0.8096 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.107, allocations: 7.781 kB / 0.8096 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/1.107, allocations: 25.73 kB / 0.8096 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/1.107, allocations: 11.33 kB / 0.8096 GB, free: 10.34 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 7.295e-05/1.107, allocations: 116 kB / 0.8098 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/1.107, allocations: 14.88 kB / 0.8098 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/1.107, allocations: 8.438 kB / 0.8098 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.107, allocations: 0 / 0.8098 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.107, allocations: 0 / 0.8098 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.107, allocations: 3.844 kB / 0.8098 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/1.108, allocations: 387.3 kB / 0.8102 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.108, allocations: 0 / 0.8102 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/1.108, allocations: 3.938 kB / 0.8102 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.108, allocations: 3.906 kB / 0.8102 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.108, allocations: 0 / 0.8102 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.108, allocations: 4 kB / 0.8102 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.108, allocations: 7.891 kB / 0.8102 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/1.108, allocations: 181.2 kB / 0.8103 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/1.108, allocations: 84.98 kB / 0.8104 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/1.108, allocations: 6.125 kB / 0.8104 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.109, allocations: 14.02 kB / 0.8104 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/1.109, allocations: 13.27 kB / 0.8105 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.109, allocations: 11.83 kB / 0.8105 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.009e-05/1.109, allocations: 97.16 kB / 0.8106 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/1.109, allocations: 0 / 0.8106 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003616/1.109, allocations: 15.38 kB / 0.8106 GB, free: 9.562 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.0007724/1.11, allocations: 0.7243 MB / 0.8113 GB, free: 24.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003022/1.11, allocations: 55.92 kB / 0.8113 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.11, allocations: 0 / 0.8113 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/1.11, allocations: 26.5 kB / 0.8114 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/1.111, allocations: 14.25 kB / 0.8114 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/1.112, allocations: 146.3 kB / 0.8115 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/1.112, allocations: 0.6926 MB / 0.8122 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.053e-05/1.112, allocations: 7.188 kB / 0.8122 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/1.112, allocations: 25.59 kB / 0.8122 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.183e-06/1.112, allocations: 0 / 0.8122 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/1.135, allocations: 1.876 MB / 0.8141 GB, free: 23.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.135, allocations: 159.5 kB / 0.8142 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.424, allocations: 0 / 0.8142 GB, free: 23.57 MB / 0.6511 GB