Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.31/4.31, allocations: 460.5 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.967e-05/4.971e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9969/1.249, allocations: 135.4 MB / 0.8041 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.249, allocations: 82.11 kB / 0.8042 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02268/1.272, allocations: 5.353 MB / 0.8094 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/1.272, allocations: 0 / 0.8094 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.288e-05/1.272, allocations: 3.906 kB / 0.8094 GB, free: 12.59 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.0006428/1.272, allocations: 472.3 kB / 0.8099 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.272, allocations: 10.84 kB / 0.8099 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/1.272, allocations: 35.67 kB / 0.8099 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/1.272, allocations: 19.33 kB / 0.81 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/1.273, allocations: 264.3 kB / 0.8102 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/1.273, allocations: 3.969 kB / 0.8102 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/1.273, allocations: 3.5 kB / 0.8102 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/1.273, allocations: 100.7 kB / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/1.273, allocations: 0 / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/1.273, allocations: 0 / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/1.273, allocations: 3.812 kB / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/1.273, allocations: 27.53 kB / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/1.274, allocations: 373.3 kB / 0.8107 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/1.274, allocations: 87.47 kB / 0.8108 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.59e-05/1.274, allocations: 27.95 kB / 0.8108 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/1.274, allocations: 7.031 kB / 0.8108 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/1.275, allocations: 86.22 kB / 0.8109 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.033e-06/1.275, allocations: 0 / 0.8109 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003323/1.275, allocations: 115.3 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/1.275, allocations: 102.8 kB / 0.8111 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/1.275, allocations: 245.5 kB / 0.8113 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/1.275, allocations: 25.7 kB / 0.8114 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/1.275, allocations: 117.8 kB / 0.8115 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/1.275, allocations: 25.08 kB / 0.8115 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/1.275, allocations: 0 / 0.8115 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/1.276, allocations: 331.1 kB / 0.8118 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/1.276, allocations: 21.91 kB / 0.8118 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/1.276, allocations: 77.83 kB / 0.8119 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/1.276, allocations: 31.91 kB / 0.8119 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.276, allocations: 0 / 0.8119 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002352/1.276, allocations: 107.6 kB / 0.812 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.276, allocations: 7.812 kB / 0.812 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.276, allocations: 0 / 0.812 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.276, allocations: 11.03 kB / 0.8121 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/1.276, allocations: 11.72 kB / 0.8121 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.276, allocations: 3.844 kB / 0.8121 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/1.276, allocations: 17.8 kB / 0.8121 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.276, allocations: 0 / 0.8121 GB, free: 10.63 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.134e-05/1.277, allocations: 116 kB / 0.8122 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/1.277, allocations: 18.45 kB / 0.8122 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/1.277, allocations: 129 kB / 0.8123 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.277, allocations: 7.797 kB / 0.8123 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.277, allocations: 4 kB / 0.8123 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.277, allocations: 2.859 kB / 0.8124 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/1.277, allocations: 226.9 kB / 0.8126 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.277, allocations: 0 / 0.8126 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/1.277, allocations: 10.06 kB / 0.8126 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.277, allocations: 3.938 kB / 0.8126 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/1.277, allocations: 0 / 0.8126 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.277, allocations: 0 / 0.8126 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.277, allocations: 3.953 kB / 0.8126 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/1.278, allocations: 149.9 kB / 0.8127 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/1.278, allocations: 98.33 kB / 0.8128 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/1.278, allocations: 7.688 kB / 0.8128 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/1.278, allocations: 2.531 kB / 0.8128 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/1.278, allocations: 10.16 kB / 0.8128 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/1.278, allocations: 11.11 kB / 0.8129 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002295/1.278, allocations: 199.7 kB / 0.813 GB, free: 10 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.278, allocations: 0 / 0.813 GB, free: 10 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004085/1.279, allocations: 49.06 kB / 0.8131 GB, free: 9.992 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.00149/1.28, allocations: 0.9994 MB / 0.8141 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002468/1.28, allocations: 80.05 kB / 0.8141 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.28, allocations: 0 / 0.8141 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/1.281, allocations: 38.97 kB / 0.8142 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/1.281, allocations: 30.8 kB / 0.8142 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/1.282, allocations: 288.1 kB / 0.8145 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/1.282, allocations: 0.7293 MB / 0.8152 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001224/1.283, allocations: 33.22 kB / 0.8152 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/1.283, allocations: 48.8 kB / 0.8153 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.283, allocations: 0 / 0.8153 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/1.308, allocations: 4.211 MB / 0.8194 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/1.308, allocations: 202 kB / 0.8196 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.783, allocations: 3.938 kB / 0.8196 GB, free: 23.66 MB / 0.6511 GB