Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadModel(Buildings): time 4.679/4.679, allocations: 431.3 MB / 445.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.259e-05, allocations: 7.984 kB / 0.5354 GB, free: 14.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.6905, allocations: 98.7 MB / 0.6318 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002048/0.6926, allocations: 1.146 MB / 0.6329 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.6938, allocations: 457.8 kB / 0.6333 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.6938, allocations: 4 kB / 0.6334 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.865e-05/0.6939, allocations: 7.938 kB / 0.6334 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.694, allocations: 0 / 0.6334 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.6944, allocations: 63.83 kB / 0.6334 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.6945, allocations: 11.98 kB / 0.6334 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.6946, allocations: 4 kB / 0.6334 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.6946, allocations: 19.92 kB / 0.6335 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.6947, allocations: 15.97 kB / 0.6335 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.6948, allocations: 47.91 kB / 0.6335 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.6949, allocations: 4 kB / 0.6335 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.6949, allocations: 4 kB / 0.6335 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.695, allocations: 4 kB / 0.6335 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.6951, allocations: 54.28 kB / 0.6336 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6952, allocations: 3.938 kB / 0.6336 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6952, allocations: 0 / 0.6336 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.6952, allocations: 4 kB / 0.6336 GB, free: 10.12 MB / 0.5105 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.0004518/0.6957, allocations: 404.7 kB / 0.634 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6957, allocations: 12.03 kB / 0.634 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.6958, allocations: 11.86 kB / 0.634 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.696, allocations: 167.1 kB / 0.6342 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.6961, allocations: 7.938 kB / 0.6342 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.6961, allocations: 4 kB / 0.6342 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.6964, allocations: 65.67 kB / 0.6342 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6964, allocations: 0 / 0.6342 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.6965, allocations: 4 kB / 0.6342 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.6965, allocations: 4 kB / 0.6342 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.6966, allocations: 19.98 kB / 0.6343 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.6973, allocations: 276.8 kB / 0.6345 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.6975, allocations: 46.5 kB / 0.6346 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.6975, allocations: 4.031 kB / 0.6346 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.6978, allocations: 113 kB / 0.6347 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 3.647e-06/0.6978, allocations: 0 / 0.6347 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0005851/0.6984, allocations: 325.5 kB / 0.635 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.6985, allocations: 110.8 kB / 0.6351 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6986, allocations: 105.4 kB / 0.6352 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.6987, allocations: 33.7 kB / 0.6352 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.6987, allocations: 84.05 kB / 0.6353 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.6988, allocations: 19.95 kB / 0.6353 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.6988, allocations: 4.031 kB / 0.6353 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6989, allocations: 322.8 kB / 0.6356 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.699, allocations: 19.98 kB / 0.6357 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.682e-05/0.6991, allocations: 24 kB / 0.6357 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.6992, allocations: 83.44 kB / 0.6358 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6992, allocations: 0 / 0.6358 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002915/0.6995, allocations: 157 kB / 0.6359 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.6996, allocations: 59.41 kB / 0.636 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6996, allocations: 0 / 0.636 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6996, allocations: 7.938 kB / 0.636 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.737e-05/0.6997, allocations: 0 / 0.636 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6997, allocations: 7.938 kB / 0.636 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.6998, allocations: 7.906 kB / 0.636 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.6999, allocations: 8 kB / 0.636 GB, free: 7.336 MB / 0.5105 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.0001714/0.7, allocations: 151.5 kB / 0.6361 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.7001, allocations: 4 kB / 0.6361 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.7001, allocations: 4.375 kB / 0.6361 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.7001, allocations: 7.938 kB / 0.6362 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7002, allocations: 4 kB / 0.6362 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.7002, allocations: 7.938 kB / 0.6362 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.7004, allocations: 181.5 kB / 0.6363 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7004, allocations: 0 / 0.6363 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-06/0.7004, allocations: 0 / 0.6363 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7004, allocations: 7.922 kB / 0.6363 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.7004, allocations: 4 kB / 0.6363 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7005, allocations: 80 / 0.6363 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7005, allocations: 3.984 kB / 0.6364 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.7008, allocations: 182.7 kB / 0.6365 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.7009, allocations: 89 kB / 0.6366 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.7009, allocations: 3.984 kB / 0.6366 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.701, allocations: 4 kB / 0.6366 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.7011, allocations: 7.984 kB / 0.6366 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.7011, allocations: 128 / 0.6366 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.436e-05/0.7012, allocations: 87.28 kB / 0.6367 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7012, allocations: 0 / 0.6367 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002859/0.7015, allocations: 28.03 kB / 0.6367 GB, free: 6.461 MB / 0.5105 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.0002627/0.7018, allocations: 131.2 kB / 0.6369 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.7021, allocations: 178.8 kB / 0.637 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.7022, allocations: 0 / 0.637 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.7023, allocations: 107.3 kB / 0.6371 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.7025, allocations: 7.953 kB / 0.6371 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.7029, allocations: 184.9 kB / 0.6373 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.7032, allocations: 0.6887 MB / 0.638 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.7033, allocations: 11.94 kB / 0.638 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.7033, allocations: 7.438 kB / 0.638 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.7033, allocations: 0 / 0.638 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of Templates: time 0.004579/0.7079, allocations: 0.8546 MB / 0.6388 GB, free: 4.207 MB / 0.5105 GB