Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.437/3.437, allocations: 325.3 MB / 337.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.145e-05, allocations: 4 kB / 414.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1729, allocations: 74.42 MB / 489.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.673/0.846, allocations: 106 MB / 0.5814 GB, free: 9.348 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.8464, allocations: 75.08 kB / 0.5814 GB, free: 9.309 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02561/0.872, allocations: 5.37 MB / 0.5867 GB, free: 4.793 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8721, allocations: 0 / 0.5867 GB, free: 4.793 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.8721, allocations: 7.938 kB / 0.5867 GB, free: 4.785 MB / 474.7 MB 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.0008702/0.873, allocations: 461.6 kB / 0.5871 GB, free: 4.293 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.8731, allocations: 8.031 kB / 0.5871 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.8731, allocations: 42.38 kB / 0.5872 GB, free: 4.238 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.8733, allocations: 19.75 kB / 0.5872 GB, free: 4.219 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/0.8741, allocations: 263.8 kB / 0.5874 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.8742, allocations: 7.984 kB / 0.5874 GB, free: 3.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.8743, allocations: 4 kB / 0.5874 GB, free: 3.926 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.8746, allocations: 92.5 kB / 0.5875 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.8747, allocations: 0 / 0.5875 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.8747, allocations: 7.938 kB / 0.5875 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.8748, allocations: 3.984 kB / 0.5875 GB, free: 3.824 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.875, allocations: 29.75 kB / 0.5876 GB, free: 3.805 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008542/0.8759, allocations: 375.2 kB / 0.5879 GB, free: 3.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.8761, allocations: 86.48 kB / 0.588 GB, free: 3.359 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.8762, allocations: 32.53 kB / 0.588 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.8763, allocations: 0 / 0.588 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.8765, allocations: 83.89 kB / 0.5881 GB, free: 3.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 2.846e-06/0.8765, allocations: 0 / 0.5881 GB, free: 3.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004054/0.877, allocations: 110.8 kB / 0.5882 GB, free: 3.152 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.8771, allocations: 110.8 kB / 0.5883 GB, free: 3.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.8775, allocations: 238.9 kB / 0.5886 GB, free: 2.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.8776, allocations: 25.7 kB / 0.5886 GB, free: 2.789 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.8777, allocations: 124.9 kB / 0.5887 GB, free: 2.688 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.8777, allocations: 15.75 kB / 0.5887 GB, free: 2.676 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-06/0.8777, allocations: 0 / 0.5887 GB, free: 2.676 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8779, allocations: 333.5 kB / 0.589 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.878, allocations: 25.62 kB / 0.5891 GB, free: 2.332 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.8781, allocations: 66.72 kB / 0.5891 GB, free: 2.262 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.8783, allocations: 37.34 kB / 0.5892 GB, free: 2.234 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.8783, allocations: 3.984 kB / 0.5892 GB, free: 2.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003221/0.8786, allocations: 112.6 kB / 0.5893 GB, free: 2.133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.8787, allocations: 7.984 kB / 0.5893 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.8787, allocations: 0 / 0.5893 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.8787, allocations: 0 / 0.5893 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.8789, allocations: 12 kB / 0.5893 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.8789, allocations: 4.125 kB / 0.5893 GB, free: 2.109 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.8791, allocations: 7.984 kB / 0.5893 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.8791, allocations: 11.89 kB / 0.5893 GB, free: 2.09 MB / 474.7 MB 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 0.0001403/0.8793, allocations: 119.1 kB / 0.5894 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.8793, allocations: 15.81 kB / 0.5894 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.8798, allocations: 136.9 kB / 0.5896 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.8798, allocations: 4 kB / 0.5896 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8798, allocations: 0 / 0.5896 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.8798, allocations: 0 / 0.5896 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.8802, allocations: 240.3 kB / 0.5898 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8802, allocations: 0 / 0.5898 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.8803, allocations: 7.984 kB / 0.5898 GB, free: 1.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.8803, allocations: 0 / 0.5898 GB, free: 1.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.8803, allocations: 8 kB / 0.5898 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8803, allocations: 0 / 0.5898 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8804, allocations: 0 / 0.5898 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.8807, allocations: 144.8 kB / 0.59 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8808, allocations: 100.4 kB / 0.5901 GB, free: 1.309 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.8809, allocations: 3.312 kB / 0.5901 GB, free: 1.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.881, allocations: 7.984 kB / 0.5901 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.8811, allocations: 15.48 kB / 0.5901 GB, free: 1.289 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.8811, allocations: 4.047 kB / 0.5901 GB, free: 1.285 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000306/0.8815, allocations: 196 kB / 0.5903 GB, free: 1.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8815, allocations: 0 / 0.5903 GB, free: 1.125 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004409/0.8819, allocations: 51.38 kB / 0.5903 GB, free: 1.082 MB / 474.7 MB 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.001952/0.8839, allocations: 0.9993 MB / 0.5913 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.8842, allocations: 82.08 kB / 0.5914 GB, free: 132 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8843, allocations: 0 / 0.5914 GB, free: 132 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.8844, allocations: 35.11 kB / 0.5914 GB, free: 104 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.8849, allocations: 34.22 kB / 0.5914 GB, free: 80 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009677/0.8858, allocations: 303.7 kB / 0.5917 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.8862, allocations: 0.7277 MB / 0.5924 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.8864, allocations: 25.5 kB / 0.5925 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.8865, allocations: 48.22 kB / 0.5925 GB, free: 14.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/0.8866, allocations: 0 / 0.5925 GB, free: 14.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.917, allocations: 4.222 MB / 0.5966 GB, free: 10.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003647/0.9175, allocations: 205.9 kB / 0.5968 GB, free: 10.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.451, allocations: 0 / 0.5968 GB, free: 10.59 MB / 490.7 MB