Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.332/4.332, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.217e-05/5.237e-05, allocations: 5.562 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2579, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9469/1.205, allocations: 135.8 MB / 0.8104 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.205, allocations: 81.62 kB / 0.8105 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02225/1.228, allocations: 5.367 MB / 0.8157 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.228, allocations: 0 / 0.8157 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.281e-05/1.228, allocations: 3.812 kB / 0.8157 GB, free: 11.52 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006179/1.228, allocations: 468.2 kB / 0.8162 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.228, allocations: 11.47 kB / 0.8162 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/1.228, allocations: 30.56 kB / 0.8162 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/1.228, allocations: 22.75 kB / 0.8162 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/1.229, allocations: 261.2 kB / 0.8165 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/1.229, allocations: 3.625 kB / 0.8165 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/1.229, allocations: 3.234 kB / 0.8165 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/1.229, allocations: 95.53 kB / 0.8166 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.229, allocations: 0 / 0.8166 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/1.229, allocations: 3.5 kB / 0.8166 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.229, allocations: 4 kB / 0.8166 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/1.229, allocations: 29.77 kB / 0.8166 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/1.23, allocations: 378.2 kB / 0.817 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/1.23, allocations: 88.02 kB / 0.8171 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/1.23, allocations: 27.55 kB / 0.8171 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/1.23, allocations: 4 kB / 0.8171 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/1.23, allocations: 82.02 kB / 0.8172 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/1.23, allocations: 0 / 0.8172 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003223/1.231, allocations: 111.5 kB / 0.8173 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/1.231, allocations: 102.8 kB / 0.8174 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/1.231, allocations: 249.9 kB / 0.8176 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/1.231, allocations: 25.7 kB / 0.8177 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/1.231, allocations: 122.7 kB / 0.8178 GB, free: 10 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/1.231, allocations: 19.16 kB / 0.8178 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/1.231, allocations: 3.688 kB / 0.8178 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/1.231, allocations: 332.4 kB / 0.8181 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/1.232, allocations: 18.94 kB / 0.8181 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/1.232, allocations: 76.06 kB / 0.8182 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/1.232, allocations: 37.22 kB / 0.8182 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.232, allocations: 0 / 0.8182 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002361/1.232, allocations: 110 kB / 0.8183 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.232, allocations: 3.844 kB / 0.8183 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.232, allocations: 0 / 0.8183 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.232, allocations: 3.844 kB / 0.8183 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/1.232, allocations: 14.69 kB / 0.8184 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.232, allocations: 3.875 kB / 0.8184 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/1.232, allocations: 15.73 kB / 0.8184 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/1.232, allocations: 2.812 kB / 0.8184 GB, free: 9.574 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 8.234e-05/1.233, allocations: 118.8 kB / 0.8185 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/1.233, allocations: 15.5 kB / 0.8185 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/1.233, allocations: 127.6 kB / 0.8186 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.233, allocations: 6.594 kB / 0.8186 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.233, allocations: 0 / 0.8186 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.233, allocations: 0 / 0.8186 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/1.233, allocations: 238 kB / 0.8189 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.233, allocations: 4.047 kB / 0.8189 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/1.233, allocations: 11.64 kB / 0.8189 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.233, allocations: 0 / 0.8189 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/1.233, allocations: 6.797 kB / 0.8189 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/1.233, allocations: 0 / 0.8189 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.233, allocations: 0 / 0.8189 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/1.234, allocations: 143.8 kB / 0.819 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/1.234, allocations: 105.5 kB / 0.8191 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/1.234, allocations: 4 kB / 0.8191 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/1.234, allocations: 6.938 kB / 0.8191 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/1.234, allocations: 9.344 kB / 0.8191 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/1.234, allocations: 4 kB / 0.8191 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002418/1.234, allocations: 195 kB / 0.8193 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.234, allocations: 3.938 kB / 0.8193 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004023/1.235, allocations: 51.94 kB / 0.8194 GB, free: 8.934 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: 6 ($whenCondition1,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001875/1.237, allocations: 0.9946 MB / 0.8204 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002707/1.237, allocations: 72.98 kB / 0.8204 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.237, allocations: 0 / 0.8204 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/1.237, allocations: 52.48 kB / 0.8205 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/1.237, allocations: 35.47 kB / 0.8205 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/1.238, allocations: 284.2 kB / 0.8208 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/1.239, allocations: 0.7271 MB / 0.8215 GB, free: 23.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001253/1.239, allocations: 30.03 kB / 0.8215 GB, free: 23.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.239, allocations: 53.88 kB / 0.8216 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.239, allocations: 0 / 0.8216 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/1.27, allocations: 4.209 MB / 0.8257 GB, free: 22.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.27, allocations: 197.4 kB / 0.8259 GB, free: 22.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.583, allocations: 3.938 kB / 0.8259 GB, free: 22.21 MB / 0.6511 GB