Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.299/4.299, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.367e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.88/1.116, allocations: 135.4 MB / 0.8041 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.116, allocations: 71.72 kB / 0.8042 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02157/1.138, allocations: 5.386 MB / 0.8095 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.963e-06/1.138, allocations: 0 / 0.8095 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.171e-05/1.138, allocations: 3.688 kB / 0.8095 GB, free: 12.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006195/1.139, allocations: 469.4 kB / 0.8099 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.139, allocations: 7.719 kB / 0.8099 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/1.139, allocations: 40.67 kB / 0.81 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/1.139, allocations: 19.45 kB / 0.81 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/1.139, allocations: 245.5 kB / 0.8102 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.139, allocations: 7.781 kB / 0.8102 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/1.139, allocations: 0 / 0.8102 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/1.14, allocations: 92.66 kB / 0.8103 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.14, allocations: 0 / 0.8103 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.14, allocations: 0 / 0.8103 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/1.14, allocations: 3.719 kB / 0.8103 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/1.14, allocations: 34.91 kB / 0.8103 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/1.14, allocations: 364.5 kB / 0.8107 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/1.141, allocations: 74.02 kB / 0.8108 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/1.141, allocations: 34.2 kB / 0.8108 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/1.141, allocations: 0 / 0.8108 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/1.141, allocations: 81.86 kB / 0.8109 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.195e-06/1.141, allocations: 3.938 kB / 0.8109 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002939/1.141, allocations: 117 kB / 0.811 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/1.141, allocations: 81.08 kB / 0.8111 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/1.142, allocations: 240 kB / 0.8113 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/1.142, allocations: 31.61 kB / 0.8113 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/1.142, allocations: 111.1 kB / 0.8114 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/1.142, allocations: 33.55 kB / 0.8115 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/1.142, allocations: 0 / 0.8115 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/1.142, allocations: 329 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/1.142, allocations: 26.28 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/1.142, allocations: 61.98 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/1.142, allocations: 31.06 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.142, allocations: 0 / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002322/1.142, allocations: 115.6 kB / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.142, allocations: 3.844 kB / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.142, allocations: 0 / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.142, allocations: 4.062 kB / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/1.143, allocations: 17.69 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.143, allocations: 0 / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/1.143, allocations: 10.25 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/1.143, allocations: 3.75 kB / 0.812 GB, free: 10.38 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: 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 7.923e-05/1.143, allocations: 116.4 kB / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/1.143, allocations: 19.52 kB / 0.8122 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/1.143, allocations: 136.2 kB / 0.8123 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.143, allocations: 7.781 kB / 0.8123 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.143, allocations: 3.953 kB / 0.8123 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.143, allocations: 0 / 0.8123 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/1.143, allocations: 232.2 kB / 0.8125 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.143, allocations: 3.719 kB / 0.8125 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/1.144, allocations: 6.969 kB / 0.8125 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.144, allocations: 3.938 kB / 0.8125 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.144, allocations: 0 / 0.8125 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.144, allocations: 0 / 0.8125 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.144, allocations: 3.531 kB / 0.8125 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/1.144, allocations: 151 kB / 0.8127 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/1.144, allocations: 99.12 kB / 0.8128 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/1.144, allocations: 6.516 kB / 0.8128 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/1.144, allocations: 3.844 kB / 0.8128 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/1.144, allocations: 9.938 kB / 0.8128 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/1.144, allocations: 0 / 0.8128 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002432/1.144, allocations: 195.6 kB / 0.813 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/1.144, allocations: 4 kB / 0.813 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003832/1.145, allocations: 49.34 kB / 0.813 GB, free: 9.723 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: 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.001901/1.147, allocations: 0.9829 MB / 0.814 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002654/1.147, allocations: 76.95 kB / 0.8141 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.147, allocations: 0 / 0.8141 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/1.147, allocations: 42.02 kB / 0.8141 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/1.148, allocations: 28.77 kB / 0.8141 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/1.148, allocations: 295.7 kB / 0.8144 GB, free: 24.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.149, allocations: 0.733 MB / 0.8151 GB, free: 24.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001263/1.149, allocations: 26.59 kB / 0.8152 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/1.149, allocations: 46.22 kB / 0.8152 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.149, allocations: 3.938 kB / 0.8152 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/1.171, allocations: 4.061 MB / 0.8192 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.172, allocations: 197.8 kB / 0.8194 GB, free: 23.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.637, allocations: 4 kB / 0.8194 GB, free: 23.41 MB / 0.6511 GB