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.222/4.222, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.859e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6591, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.8911, allocations: 120.9 MB / 0.7077 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/0.8916, allocations: 67.97 kB / 0.7077 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01924/0.9109, allocations: 2.27 MB / 0.7099 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.665e-06/0.9109, allocations: 0 / 0.7099 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.911, allocations: 11.88 kB / 0.71 GB, free: 3.117 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.0007337/0.9117, allocations: 388.1 kB / 0.7103 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/0.9118, allocations: 8.031 kB / 0.7103 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.608e-05/0.9119, allocations: 34.55 kB / 0.7104 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.912, allocations: 15.84 kB / 0.7104 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.9123, allocations: 182.9 kB / 0.7106 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.9124, allocations: 4 kB / 0.7106 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.9124, allocations: 4 kB / 0.7106 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.9127, allocations: 61.67 kB / 0.7106 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.9127, allocations: 8 kB / 0.7106 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.9128, allocations: 0 / 0.7106 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.9128, allocations: 4 kB / 0.7106 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.913, allocations: 31.88 kB / 0.7107 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.9137, allocations: 273 kB / 0.7109 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.9238, allocations: 58.56 kB / 0.711 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.924, allocations: 28.95 kB / 0.711 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.9241, allocations: 4 kB / 0.711 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.9244, allocations: 79.33 kB / 0.7111 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 5.501e-06/0.9244, allocations: 0 / 0.7111 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005458/0.925, allocations: 117.5 kB / 0.7112 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.9251, allocations: 59.39 kB / 0.7113 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.9253, allocations: 113.2 kB / 0.7114 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.9254, allocations: 29.7 kB / 0.7114 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.9255, allocations: 92.12 kB / 0.7115 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.9256, allocations: 15.84 kB / 0.7115 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.9256, allocations: 0 / 0.7115 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.002469/0.9281, allocations: 323.2 kB / 0.7118 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.9283, allocations: 23.98 kB / 0.7118 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.9284, allocations: 27.94 kB / 0.7119 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.9286, allocations: 65.61 kB / 0.7119 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9286, allocations: 0 / 0.7119 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005192/0.9292, allocations: 147.3 kB / 0.7121 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.9293, allocations: 41.7 kB / 0.7121 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9293, allocations: 0 / 0.7121 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.9293, allocations: 0 / 0.7121 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.491e-05/0.9294, allocations: 3.953 kB / 0.7121 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.9294, allocations: 0 / 0.7121 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.9295, allocations: 4 kB / 0.7121 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.9296, allocations: 4 kB / 0.7121 GB, free: 0.6602 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.0001725/0.9298, allocations: 116.2 kB / 0.7122 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.9299, allocations: 7.906 kB / 0.7122 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.9299, allocations: 12.62 kB / 0.7122 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.93, allocations: 4 kB / 0.7122 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.93, allocations: 3.953 kB / 0.7122 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.93, allocations: 0 / 0.7122 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.9303, allocations: 173.6 kB / 0.7124 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.9304, allocations: 0 / 0.7124 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.9304, allocations: 0 / 0.7124 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.9304, allocations: 3.938 kB / 0.7124 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.9305, allocations: 0 / 0.7124 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.9305, allocations: 0 / 0.7124 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.9305, allocations: 8 kB / 0.7124 GB, free: 292 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.931, allocations: 145.1 kB / 0.7126 GB, free: 128 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.9311, allocations: 84.95 kB / 0.7126 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.9312, allocations: 11.97 kB / 0.7127 GB, free: 12 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.9313, allocations: 3.984 kB / 0.7127 GB, free: 8 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.9314, allocations: 8.031 kB / 0.7127 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.9315, allocations: 8.094 kB / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001511/0.9317, allocations: 107.2 kB / 0.7128 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.32e-07/0.9317, allocations: 0 / 0.7128 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005764/0.9323, allocations: 31.95 kB / 0.7128 GB, free: 15.85 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.001256/0.9336, allocations: 0.7021 MB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006228/0.9398, allocations: 123.3 kB / 0.7136 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.9399, allocations: 7.938 kB / 0.7136 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.9401, allocations: 24 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.0002092/0.9403, allocations: 8.844 kB / 0.7137 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.9412, allocations: 162.7 kB / 0.7138 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.9417, allocations: 0.6887 MB / 0.7145 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.9417, allocations: 3.984 kB / 0.7145 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.9418, allocations: 19.44 kB / 0.7145 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.753e-06/0.9418, allocations: 0 / 0.7145 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/0.986, allocations: 1.763 MB / 0.7162 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.9863, allocations: 157.8 kB / 0.7164 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.382, allocations: 0 / 0.7164 GB, free: 12.09 MB / 0.6042 GB