Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.427/3.427, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.655e-05/4.659e-05, allocations: 8 kB / 436.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2172, allocations: 77.74 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6509/0.8681, allocations: 109.6 MB / 0.6093 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.8685, allocations: 79.95 kB / 0.6094 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02608/0.8946, allocations: 5.354 MB / 0.6146 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8947, allocations: 0 / 0.6146 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.366e-05/0.8947, allocations: 0 / 0.6146 GB, free: 5.91 MB / 0.4948 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.0008382/0.8955, allocations: 467.7 kB / 0.6151 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.8956, allocations: 12.03 kB / 0.6151 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.8957, allocations: 30.56 kB / 0.6151 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.8958, allocations: 23.75 kB / 0.6151 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.8964, allocations: 263.6 kB / 0.6154 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.8964, allocations: 8 kB / 0.6154 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.8964, allocations: 4 kB / 0.6154 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.8967, allocations: 92.23 kB / 0.6155 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8967, allocations: 0 / 0.6155 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.8968, allocations: 0 / 0.6155 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.8968, allocations: 0 / 0.6155 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.8969, allocations: 39.92 kB / 0.6155 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.8978, allocations: 380.6 kB / 0.6159 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.8981, allocations: 78.69 kB / 0.616 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/0.8982, allocations: 32.94 kB / 0.616 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.8983, allocations: 4 kB / 0.616 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.8985, allocations: 83.38 kB / 0.6161 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 3.446e-06/0.8985, allocations: 0 / 0.6161 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004592/0.899, allocations: 117.4 kB / 0.6162 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.8991, allocations: 102.8 kB / 0.6163 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.8996, allocations: 237.9 kB / 0.6165 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.8997, allocations: 25.7 kB / 0.6165 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.8998, allocations: 116.1 kB / 0.6167 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.8999, allocations: 27.77 kB / 0.6167 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/0.8999, allocations: 3.938 kB / 0.6167 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.9001, allocations: 334.8 kB / 0.617 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.9002, allocations: 23.94 kB / 0.617 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.9004, allocations: 76.2 kB / 0.6171 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.9005, allocations: 27.98 kB / 0.6171 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9005, allocations: 0 / 0.6171 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003522/0.9009, allocations: 117.4 kB / 0.6172 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.9009, allocations: 6.656 kB / 0.6172 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9009, allocations: 0 / 0.6172 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.901, allocations: 7.953 kB / 0.6173 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.9012, allocations: 11.98 kB / 0.6173 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.9012, allocations: 4 kB / 0.6173 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.9014, allocations: 8 kB / 0.6173 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.9014, allocations: 0 / 0.6173 GB, free: 2.93 MB / 0.4948 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 0.0001529/0.9016, allocations: 120.8 kB / 0.6174 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.9016, allocations: 15.81 kB / 0.6174 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004125/0.9021, allocations: 131 kB / 0.6175 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.9021, allocations: 4 kB / 0.6175 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.9021, allocations: 3.953 kB / 0.6175 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9021, allocations: 0 / 0.6175 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.9025, allocations: 229.6 kB / 0.6178 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9025, allocations: 0 / 0.6178 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.787e-05/0.9026, allocations: 11.98 kB / 0.6178 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.9026, allocations: 0 / 0.6178 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.9026, allocations: 4 kB / 0.6178 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9026, allocations: 3.938 kB / 0.6178 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9027, allocations: 0 / 0.6178 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.903, allocations: 144.9 kB / 0.6179 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.9031, allocations: 104.8 kB / 0.618 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.9032, allocations: 0 / 0.618 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.9033, allocations: 11.98 kB / 0.618 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.9034, allocations: 16.02 kB / 0.618 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.9034, allocations: 4.188 kB / 0.618 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003088/0.9037, allocations: 200.3 kB / 0.6182 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.624e-06/0.9037, allocations: 3.938 kB / 0.6182 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004199/0.9042, allocations: 55.77 kB / 0.6183 GB, free: 1.785 MB / 0.4948 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.001854/0.906, allocations: 0.995 MB / 0.6193 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.9064, allocations: 75.97 kB / 0.6193 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9064, allocations: 0 / 0.6193 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.9066, allocations: 35.94 kB / 0.6194 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.907, allocations: 35.75 kB / 0.6194 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009216/0.9079, allocations: 291.7 kB / 0.6197 GB, free: 388 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.9083, allocations: 0.7282 MB / 0.6204 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.9085, allocations: 21.2 kB / 0.6204 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.9087, allocations: 51.42 kB / 0.6205 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/0.9087, allocations: 3.938 kB / 0.6205 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.9412, allocations: 4.214 MB / 0.6246 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/0.9416, allocations: 213 kB / 0.6248 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.592, allocations: 0 / 0.6248 GB, free: 11.17 MB / 0.5105 GB