Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.031/4.031, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.068e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6439, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.8693, allocations: 120.8 MB / 0.7076 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.8697, allocations: 71.95 kB / 0.7077 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.8804, allocations: 2.282 MB / 0.7099 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8805, allocations: 0 / 0.7099 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.8805, allocations: 0 / 0.7099 GB, free: 3.121 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005352/0.881, allocations: 386.3 kB / 0.7103 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.8811, allocations: 12.03 kB / 0.7103 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.8812, allocations: 34.5 kB / 0.7103 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.8812, allocations: 11.86 kB / 0.7104 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.8814, allocations: 182.9 kB / 0.7105 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.8815, allocations: 0 / 0.7105 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.8815, allocations: 8 kB / 0.7105 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.8817, allocations: 65.66 kB / 0.7106 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.8817, allocations: 0 / 0.7106 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.8817, allocations: 4 kB / 0.7106 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.8818, allocations: 0 / 0.7106 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.8819, allocations: 27.89 kB / 0.7106 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.8823, allocations: 280.9 kB / 0.7109 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.8825, allocations: 58.56 kB / 0.7109 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.8826, allocations: 32.95 kB / 0.711 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.8826, allocations: 0 / 0.711 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.8828, allocations: 83.33 kB / 0.7111 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.8828, allocations: 0 / 0.7111 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003619/0.8832, allocations: 121.5 kB / 0.7112 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.8832, allocations: 55.41 kB / 0.7112 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.8834, allocations: 117.2 kB / 0.7113 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.8834, allocations: 25.7 kB / 0.7114 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.8835, allocations: 96.5 kB / 0.7115 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.8836, allocations: 7.906 kB / 0.7115 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.8836, allocations: 3.938 kB / 0.7115 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8837, allocations: 314.8 kB / 0.7118 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.8838, allocations: 35.92 kB / 0.7118 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.8839, allocations: 23.98 kB / 0.7118 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.884, allocations: 65.62 kB / 0.7119 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.884, allocations: 0 / 0.7119 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003216/0.8844, allocations: 151.3 kB / 0.712 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.8844, allocations: 29.7 kB / 0.7121 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8845, allocations: 192 / 0.7121 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.8845, allocations: 7.984 kB / 0.7121 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.001e-05/0.8845, allocations: 11.89 kB / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8845, allocations: 0 / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.8846, allocations: 4 kB / 0.7121 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.8847, allocations: 4 kB / 0.7121 GB, free: 0.6562 MB / 0.5886 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.0001122/0.8848, allocations: 113 kB / 0.7122 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.8848, allocations: 3.906 kB / 0.7122 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.8849, allocations: 12.61 kB / 0.7122 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.8849, allocations: 0 / 0.7122 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.8849, allocations: 3.953 kB / 0.7122 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8849, allocations: 0 / 0.7122 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.8851, allocations: 173.6 kB / 0.7124 GB, free: 308 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8852, allocations: 0 / 0.7124 GB, free: 308 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.8852, allocations: 4 kB / 0.7124 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8852, allocations: 4 kB / 0.7124 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.8852, allocations: 3.984 kB / 0.7124 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.8852, allocations: 0 / 0.7124 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8852, allocations: 3.938 kB / 0.7124 GB, free: 292 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.8856, allocations: 152.9 kB / 0.7125 GB, free: 120 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.8856, allocations: 85.05 kB / 0.7126 GB, free: 16 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.8857, allocations: 7.938 kB / 0.7126 GB, free: 8 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.8858, allocations: 4 kB / 0.7126 GB, free: 4 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.8858, allocations: 8.031 kB / 0.7126 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.8859, allocations: 4 kB / 0.7126 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.181e-05/0.886, allocations: 95.22 kB / 0.7127 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.886, allocations: 0 / 0.7127 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003452/0.8864, allocations: 39.94 kB / 0.7128 GB, free: 15.86 MB / 0.6042 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.0008662/0.8872, allocations: 0.7121 MB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.8875, allocations: 119.4 kB / 0.7136 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8876, allocations: 0 / 0.7136 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.8877, allocations: 31.98 kB / 0.7136 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.8878, allocations: 3.938 kB / 0.7136 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.8884, allocations: 170.6 kB / 0.7138 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.8888, allocations: 0.6965 MB / 0.7145 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.8888, allocations: 3.984 kB / 0.7145 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.8889, allocations: 15.44 kB / 0.7145 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/0.8889, allocations: 0 / 0.7145 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.9144, allocations: 1.768 MB / 0.7162 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/0.9148, allocations: 151.1 kB / 0.7164 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/3.138, allocations: 8 kB / 0.7164 GB, free: 12.08 MB / 0.6042 GB