Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.119/4.119, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.748e-05/5.787e-05, allocations: 4.594 kB / 0.5338 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2597, allocations: 98.72 MB / 0.6302 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.4945, allocations: 125.2 MB / 0.7525 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.4948, allocations: 71.95 kB / 0.7525 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.506, allocations: 2.276 MB / 0.7548 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.288e-06/0.5061, allocations: 3.984 kB / 0.7548 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.5061, allocations: 0 / 0.7548 GB, free: 6.445 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006158/0.5067, allocations: 400 kB / 0.7551 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5068, allocations: 8.031 kB / 0.7551 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.5068, allocations: 30.56 kB / 0.7552 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.5069, allocations: 11.84 kB / 0.7552 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.5071, allocations: 179 kB / 0.7554 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.5072, allocations: 7.984 kB / 0.7554 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.5072, allocations: 0 / 0.7554 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.5074, allocations: 65.67 kB / 0.7554 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5074, allocations: 0 / 0.7554 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5074, allocations: 4 kB / 0.7554 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5075, allocations: 0 / 0.7554 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.5076, allocations: 27.98 kB / 0.7555 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.5081, allocations: 284.7 kB / 0.7557 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.5082, allocations: 58.56 kB / 0.7558 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.5083, allocations: 28.95 kB / 0.7558 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.5083, allocations: 4 kB / 0.7558 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.5086, allocations: 79.39 kB / 0.7559 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.5086, allocations: 0 / 0.7559 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003471/0.5089, allocations: 117.6 kB / 0.756 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.509, allocations: 55.36 kB / 0.7561 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.5091, allocations: 125 kB / 0.7562 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5092, allocations: 25.7 kB / 0.7562 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.5093, allocations: 96.12 kB / 0.7563 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.5093, allocations: 11.91 kB / 0.7563 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.5093, allocations: 0 / 0.7563 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5094, allocations: 314.8 kB / 0.7566 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.5095, allocations: 27.98 kB / 0.7566 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.5096, allocations: 27.98 kB / 0.7567 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.5097, allocations: 57.69 kB / 0.7567 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.5098, allocations: 4 kB / 0.7567 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003122/0.5101, allocations: 151.2 kB / 0.7569 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.5101, allocations: 33.69 kB / 0.7569 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.5102, allocations: 4 kB / 0.7569 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5102, allocations: 4 kB / 0.7569 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-05/0.5102, allocations: 0 / 0.7569 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.5102, allocations: 0 / 0.7569 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.5103, allocations: 11.89 kB / 0.7569 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.5104, allocations: 4 kB / 0.7569 GB, free: 3.98 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 1 * 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.0001084/0.5105, allocations: 112.3 kB / 0.757 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.5105, allocations: 3.906 kB / 0.757 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.5106, allocations: 20.55 kB / 0.757 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.5106, allocations: 3.984 kB / 0.7571 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.371e-05/0.5106, allocations: 0 / 0.7571 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5106, allocations: 0 / 0.7571 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.5109, allocations: 173.6 kB / 0.7572 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5109, allocations: 0.6562 kB / 0.7572 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.5109, allocations: 8 kB / 0.7572 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5109, allocations: 0 / 0.7572 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.5109, allocations: 7.969 kB / 0.7572 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5109, allocations: 0 / 0.7572 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.511, allocations: 7.938 kB / 0.7572 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.5113, allocations: 145 kB / 0.7574 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.5114, allocations: 77.11 kB / 0.7575 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.5114, allocations: 8 kB / 0.7575 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.5115, allocations: 0 / 0.7575 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.5115, allocations: 7.984 kB / 0.7575 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.5116, allocations: 7.984 kB / 0.7575 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.38e-05/0.5117, allocations: 99.22 kB / 0.7576 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5117, allocations: 3.938 kB / 0.7576 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003528/0.5121, allocations: 31.98 kB / 0.7576 GB, free: 3.184 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.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * 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.0007786/0.5129, allocations: 0.7021 MB / 0.7583 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.5132, allocations: 119.3 kB / 0.7584 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5132, allocations: 4 kB / 0.7584 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.5133, allocations: 35.98 kB / 0.7584 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.5134, allocations: 0 / 0.7584 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.514, allocations: 166.6 kB / 0.7586 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.5143, allocations: 0.6926 MB / 0.7593 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.5144, allocations: 0 / 0.7593 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.5144, allocations: 19.44 kB / 0.7593 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of SimCode: time 1.403e-06/0.5144, allocations: 0 / 0.7593 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.5349, allocations: 1.762 MB / 0.761 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.5352, allocations: 157.3 kB / 0.7612 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.826, allocations: 0 / 0.7612 GB, free: 15.42 MB / 0.6511 GB