Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.613/3.613, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.213e-05, allocations: 6.031 kB / 436.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1843, allocations: 77.74 MB / 0.5023 GB, free: 4.473 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7208/0.9051, allocations: 109.6 MB / 0.6093 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/0.9056, allocations: 79.95 kB / 0.6094 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03516/0.9408, allocations: 5.365 MB / 0.6146 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9408, allocations: 0 / 0.6146 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.477e-05/0.9409, allocations: 8 kB / 0.6146 GB, free: 5.871 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009575/0.9418, allocations: 463.7 kB / 0.6151 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.9419, allocations: 8.031 kB / 0.6151 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.168e-05/0.942, allocations: 38.56 kB / 0.6151 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.9421, allocations: 15.8 kB / 0.6151 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.9428, allocations: 251.7 kB / 0.6154 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.9429, allocations: 8 kB / 0.6154 GB, free: 5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.9429, allocations: 4 kB / 0.6154 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.9433, allocations: 87.33 kB / 0.6155 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.9433, allocations: 4 kB / 0.6155 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.9433, allocations: 0 / 0.6155 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.9434, allocations: 4 kB / 0.6155 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.9436, allocations: 35.98 kB / 0.6155 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.9446, allocations: 368.6 kB / 0.6159 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.945, allocations: 78.66 kB / 0.6159 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.9451, allocations: 28.92 kB / 0.616 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.9452, allocations: 3.938 kB / 0.616 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.9454, allocations: 87.41 kB / 0.6161 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 4.118e-06/0.9455, allocations: 0 / 0.6161 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0005092/0.946, allocations: 117.4 kB / 0.6162 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.9461, allocations: 77.11 kB / 0.6162 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.9467, allocations: 241.9 kB / 0.6165 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.9468, allocations: 25.7 kB / 0.6165 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.9469, allocations: 116.1 kB / 0.6166 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/0.947, allocations: 23.81 kB / 0.6166 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-06/0.947, allocations: 3.938 kB / 0.6166 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.9473, allocations: 330.8 kB / 0.617 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.9474, allocations: 27.94 kB / 0.617 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.9476, allocations: 63.42 kB / 0.617 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.9478, allocations: 27.98 kB / 0.6171 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9478, allocations: 0 / 0.6171 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004632/0.9483, allocations: 113.4 kB / 0.6172 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.9483, allocations: 4 kB / 0.6172 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9484, allocations: 0 / 0.6172 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.9484, allocations: 0 / 0.6172 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.9486, allocations: 19.98 kB / 0.6172 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.9487, allocations: 8.109 kB / 0.6172 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.9489, allocations: 15.78 kB / 0.6172 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.9489, allocations: 4 kB / 0.6172 GB, free: 2.961 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: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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 (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.0001659/0.9491, allocations: 112.9 kB / 0.6173 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.9492, allocations: 15.81 kB / 0.6173 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.9497, allocations: 123.2 kB / 0.6175 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.9497, allocations: 7.938 kB / 0.6175 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9498, allocations: 4 kB / 0.6175 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.9498, allocations: 3.953 kB / 0.6175 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.9503, allocations: 229.6 kB / 0.6177 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9503, allocations: 0 / 0.6177 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.9504, allocations: 7.984 kB / 0.6177 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.9504, allocations: 0 / 0.6177 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.9505, allocations: 8 kB / 0.6177 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.9505, allocations: 0 / 0.6177 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.9505, allocations: 0 / 0.6177 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.951, allocations: 148.8 kB / 0.6179 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.9512, allocations: 100.9 kB / 0.6179 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.9513, allocations: 8 kB / 0.618 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.9514, allocations: 11.98 kB / 0.618 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.9515, allocations: 0 / 0.618 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.9516, allocations: 4 kB / 0.618 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004774/0.9521, allocations: 192.4 kB / 0.6182 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.81e-07/0.9521, allocations: 0 / 0.6182 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006428/0.9527, allocations: 43.92 kB / 0.6182 GB, free: 1.867 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: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.00283/0.9556, allocations: 0.9985 MB / 0.6192 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.9561, allocations: 87.84 kB / 0.6193 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.9562, allocations: 0 / 0.6193 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.9564, allocations: 43.97 kB / 0.6193 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.957, allocations: 27.77 kB / 0.6193 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.9584, allocations: 295.7 kB / 0.6196 GB, free: 452 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.959, allocations: 0.7398 MB / 0.6203 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.9592, allocations: 25.14 kB / 0.6204 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.9595, allocations: 51.41 kB / 0.6204 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.224e-06/0.9595, allocations: 0 / 0.6204 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.9922, allocations: 4.062 MB / 0.6244 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/0.9926, allocations: 208.8 kB / 0.6246 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.488, allocations: 4 kB / 0.6246 GB, free: 11.38 MB / 0.5105 GB