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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.48/4.48, allocations: 404.1 MB / 411.3 MB, free: 368 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.967e-05, allocations: 4 kB / 0.4946 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6844, allocations: 92.68 MB / 0.5851 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2464/0.9308, allocations: 120.2 MB / 0.7024 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/0.9313, allocations: 99.91 kB / 0.7025 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004247/0.9356, allocations: 0.9293 MB / 0.7034 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9356, allocations: 4 kB / 0.7034 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.9356, allocations: 0 / 0.7034 GB, free: 9.008 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.0006246/0.9363, allocations: 362.4 kB / 0.7038 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.9364, allocations: 12.03 kB / 0.7038 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.9364, allocations: 7.953 kB / 0.7038 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.9366, allocations: 174.9 kB / 0.704 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.9366, allocations: 4 kB / 0.704 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.9367, allocations: 4 kB / 0.704 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001128/0.9368, allocations: 19.98 kB / 0.704 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.9369, allocations: 57.62 kB / 0.704 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.937, allocations: 0 / 0.704 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.937, allocations: 0 / 0.704 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.937, allocations: 3.953 kB / 0.704 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.9377, allocations: 273.4 kB / 0.7043 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.9378, allocations: 46.56 kB / 0.7043 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.9379, allocations: 16.98 kB / 0.7044 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.9379, allocations: 0 / 0.7044 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.9382, allocations: 83.31 kB / 0.7044 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.325e-06/0.9382, allocations: 0 / 0.7044 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002966/0.9385, allocations: 85.48 kB / 0.7045 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.9386, allocations: 55.41 kB / 0.7046 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.9387, allocations: 109 kB / 0.7047 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.9387, allocations: 29.64 kB / 0.7047 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.9388, allocations: 88.61 kB / 0.7048 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.9389, allocations: 15.72 kB / 0.7048 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.9389, allocations: 0 / 0.7048 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.939, allocations: 322.8 kB / 0.7051 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.9391, allocations: 12 kB / 0.7051 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.9392, allocations: 52.23 kB / 0.7052 GB, free: 7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.9393, allocations: 19.92 kB / 0.7052 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9393, allocations: 4 kB / 0.7052 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002269/0.9395, allocations: 81.61 kB / 0.7053 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.9396, allocations: 12.09 kB / 0.7053 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9396, allocations: 0 / 0.7053 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9396, allocations: 0 / 0.7053 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.9398, allocations: 8 kB / 0.7053 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.9398, allocations: 7.891 kB / 0.7053 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.94, allocations: 19.89 kB / 0.7053 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.94, allocations: 4 kB / 0.7053 GB, free: 6.84 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.0001141/0.9401, allocations: 118.1 kB / 0.7054 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002113/0.9404, allocations: 81.62 kB / 0.7055 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.9404, allocations: 7.906 kB / 0.7055 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.9404, allocations: 12.58 kB / 0.7055 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9405, allocations: 0 / 0.7055 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.9405, allocations: 3.984 kB / 0.7055 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.9405, allocations: 0 / 0.7055 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.9413, allocations: 355 kB / 0.7059 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.9413, allocations: 0 / 0.7059 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.9413, allocations: 11.92 kB / 0.7059 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.9413, allocations: 3.953 kB / 0.7059 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.9414, allocations: 4 kB / 0.7059 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.9414, allocations: 0 / 0.7059 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.9414, allocations: 0 / 0.7059 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.9417, allocations: 183.6 kB / 0.7061 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.9417, allocations: 81.02 kB / 0.7062 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.9418, allocations: 7.953 kB / 0.7062 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.942, allocations: 15.98 kB / 0.7062 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.9421, allocations: 7.984 kB / 0.7062 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.9421, allocations: 11.94 kB / 0.7062 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.9422, allocations: 91.27 kB / 0.7063 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.62e-07/0.9422, allocations: 4 kB / 0.7063 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004318/0.9427, allocations: 12 kB / 0.7063 GB, free: 5.758 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.000665/0.9433, allocations: 0.716 MB / 0.707 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.9436, allocations: 52.06 kB / 0.707 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9436, allocations: 0 / 0.707 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.9437, allocations: 35.92 kB / 0.7071 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.9441, allocations: 11.95 kB / 0.7071 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.9447, allocations: 130.8 kB / 0.7072 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.9451, allocations: 0.6885 MB / 0.7079 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.392e-05/0.9451, allocations: 8.734 kB / 0.7079 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.9452, allocations: 27.42 kB / 0.7079 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/0.9452, allocations: 0 / 0.7079 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04144/0.9867, allocations: 1.459 MB / 0.7093 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003734/0.9871, allocations: 154.4 kB / 0.7095 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.524/3.511, allocations: 4.156 kB / 0.7095 GB, free: 2.363 MB / 0.5886 GB