Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.276/4.276, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.752e-05/4.773e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6543, allocations: 92.69 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2288/0.8832, allocations: 121 MB / 0.7078 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.8835, allocations: 75.95 kB / 0.7079 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.006302/0.8898, allocations: 1.37 MB / 0.7092 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8899, allocations: 0 / 0.7092 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.8899, allocations: 0 / 0.7092 GB, free: 3.785 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000444/0.8904, allocations: 389.9 kB / 0.7096 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.8904, allocations: 12.03 kB / 0.7096 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.8905, allocations: 34.56 kB / 0.7096 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.8905, allocations: 11.86 kB / 0.7096 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.8908, allocations: 171.1 kB / 0.7098 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.8908, allocations: 11.97 kB / 0.7098 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.8908, allocations: 4 kB / 0.7098 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.891, allocations: 61.56 kB / 0.7099 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8911, allocations: 0 / 0.7099 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8911, allocations: 4 kB / 0.7099 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.8911, allocations: 0 / 0.7099 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.8912, allocations: 27.95 kB / 0.7099 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.8917, allocations: 276.8 kB / 0.7102 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.8918, allocations: 50.56 kB / 0.7102 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.8919, allocations: 32.83 kB / 0.7102 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.8919, allocations: 0 / 0.7102 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.8921, allocations: 101.1 kB / 0.7103 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.215e-06/0.8922, allocations: 4 kB / 0.7103 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003625/0.8925, allocations: 143.5 kB / 0.7105 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.8926, allocations: 106.8 kB / 0.7106 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.8928, allocations: 112.9 kB / 0.7107 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.8928, allocations: 25.7 kB / 0.7107 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.8929, allocations: 92.12 kB / 0.7108 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.8929, allocations: 11.81 kB / 0.7108 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.8929, allocations: 4 kB / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8931, allocations: 318.9 kB / 0.7111 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.8932, allocations: 27.94 kB / 0.7111 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.8932, allocations: 23.92 kB / 0.7112 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.8934, allocations: 83.39 kB / 0.7112 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.8934, allocations: 0 / 0.7112 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003115/0.8937, allocations: 157 kB / 0.7114 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/0.8938, allocations: 65.27 kB / 0.7115 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8938, allocations: 128 / 0.7115 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.8938, allocations: 4 kB / 0.7115 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.546e-05/0.8939, allocations: 7.953 kB / 0.7115 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.8939, allocations: 0 / 0.7115 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.369e-05/0.894, allocations: 11.91 kB / 0.7115 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.894, allocations: 4 kB / 0.7115 GB, free: 1.148 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: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.000139/0.8942, allocations: 151 kB / 0.7116 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.8942, allocations: 7.938 kB / 0.7116 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.8942, allocations: 4.625 kB / 0.7116 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.8942, allocations: 4 kB / 0.7116 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.8943, allocations: 3.953 kB / 0.7116 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8943, allocations: 4 kB / 0.7116 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.8945, allocations: 173.6 kB / 0.7118 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8945, allocations: 0 / 0.7118 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.8945, allocations: 3.984 kB / 0.7118 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.8945, allocations: 3.984 kB / 0.7118 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.8946, allocations: 7.938 kB / 0.7118 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8946, allocations: 0 / 0.7118 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8946, allocations: 0 / 0.7118 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.895, allocations: 182.7 kB / 0.712 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.895, allocations: 81.09 kB / 0.7121 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.8951, allocations: 4 kB / 0.7121 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.8951, allocations: 4 kB / 0.7121 GB, free: 436 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.8952, allocations: 0 / 0.7121 GB, free: 436 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.8952, allocations: 7.984 kB / 0.7121 GB, free: 428 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.8953, allocations: 87.28 kB / 0.7122 GB, free: 340 kB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8953, allocations: 0 / 0.7122 GB, free: 340 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003343/0.8957, allocations: 39.94 kB / 0.7122 GB, free: 300 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0008495/0.8965, allocations: 0.7465 MB / 0.7129 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.8968, allocations: 170.8 kB / 0.7131 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8969, allocations: 0 / 0.7131 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.897, allocations: 115.3 kB / 0.7132 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.8972, allocations: 96 / 0.7132 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.8977, allocations: 158.7 kB / 0.7134 GB, free: 15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.8981, allocations: 0.6926 MB / 0.714 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.8981, allocations: 4 kB / 0.714 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.8982, allocations: 15.42 kB / 0.7141 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.8982, allocations: 0 / 0.7141 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.9178, allocations: 1.748 MB / 0.7158 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/0.9182, allocations: 153.8 kB / 0.7159 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.362, allocations: 64 / 0.7159 GB, free: 12.36 MB / 0.6042 GB