Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.892/2.892, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.891e-05/4.896e-05, allocations: 5.062 kB / 370.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1595, allocations: 67.01 MB / 437.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6505/0.8101, allocations: 101.6 MB / 0.5266 GB, free: 16.89 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.8104, allocations: 75.05 kB / 0.5267 GB, free: 16.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02411/0.8346, allocations: 5.361 MB / 0.5319 GB, free: 32.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.8346, allocations: 0 / 0.5319 GB, free: 32.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.511e-05/0.8347, allocations: 3.875 kB / 0.5319 GB, free: 32.3 MB / 458.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.0007706/0.8354, allocations: 467.7 kB / 0.5324 GB, free: 31.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.8355, allocations: 8.75 kB / 0.5324 GB, free: 31.86 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.8356, allocations: 38.31 kB / 0.5324 GB, free: 31.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.8357, allocations: 16.25 kB / 0.5324 GB, free: 31.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.8362, allocations: 258 kB / 0.5327 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8362, allocations: 2.281 kB / 0.5327 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.8362, allocations: 7.312 kB / 0.5327 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.8365, allocations: 98.81 kB / 0.5328 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.8365, allocations: 3.953 kB / 0.5328 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.8365, allocations: 1.156 kB / 0.5328 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.8366, allocations: 1.375 kB / 0.5328 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.8367, allocations: 37.66 kB / 0.5328 GB, free: 31.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.8374, allocations: 366.6 kB / 0.5332 GB, free: 31.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.8376, allocations: 93.22 kB / 0.5333 GB, free: 31.22 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.8377, allocations: 28.67 kB / 0.5333 GB, free: 31.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.8377, allocations: 5 kB / 0.5333 GB, free: 31.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.8379, allocations: 86.34 kB / 0.5334 GB, free: 31.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.8379, allocations: 0 / 0.5334 GB, free: 31.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003339/0.8383, allocations: 111.4 kB / 0.5335 GB, free: 31.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.8383, allocations: 108 kB / 0.5336 GB, free: 30.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.8387, allocations: 238.8 kB / 0.5338 GB, free: 30.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.8388, allocations: 30.23 kB / 0.5338 GB, free: 30.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.8389, allocations: 118.4 kB / 0.534 GB, free: 30.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.8389, allocations: 21.72 kB / 0.534 GB, free: 30.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-06/0.8389, allocations: 3.938 kB / 0.534 GB, free: 30.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8391, allocations: 327.8 kB / 0.5343 GB, free: 30.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.8392, allocations: 23.75 kB / 0.5343 GB, free: 30.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.8393, allocations: 80.67 kB / 0.5344 GB, free: 30.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.171e-05/0.8394, allocations: 29.88 kB / 0.5344 GB, free: 30.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8394, allocations: 0 / 0.5344 GB, free: 30.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002728/0.8397, allocations: 113.6 kB / 0.5345 GB, free: 30.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.8397, allocations: 7.156 kB / 0.5345 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8398, allocations: 0 / 0.5345 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.8398, allocations: 3.375 kB / 0.5345 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.84, allocations: 16.88 kB / 0.5346 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.84, allocations: 1.312 kB / 0.5346 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.8401, allocations: 7.156 kB / 0.5346 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.8401, allocations: 2.594 kB / 0.5346 GB, free: 30.36 MB / 458.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.0001222/0.8403, allocations: 122.1 kB / 0.5347 GB, free: 30.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.8403, allocations: 23.64 kB / 0.5347 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.8407, allocations: 130.2 kB / 0.5348 GB, free: 30.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.8407, allocations: 5.938 kB / 0.5348 GB, free: 30.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8407, allocations: 1.656 kB / 0.5348 GB, free: 30.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8407, allocations: 0 / 0.5348 GB, free: 30.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.841, allocations: 230.4 kB / 0.5351 GB, free: 29.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.841, allocations: 3 kB / 0.5351 GB, free: 29.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.173e-05/0.8411, allocations: 10.12 kB / 0.5351 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.8411, allocations: 3.953 kB / 0.5351 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.8412, allocations: 1.375 kB / 0.5351 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.8412, allocations: 1.531 kB / 0.5351 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8412, allocations: 1.828 kB / 0.5351 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.8415, allocations: 140.6 kB / 0.5352 GB, free: 29.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.557e-05/0.8416, allocations: 102.4 kB / 0.5353 GB, free: 29.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.8417, allocations: 5.609 kB / 0.5353 GB, free: 29.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.8418, allocations: 8.844 kB / 0.5353 GB, free: 29.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.8419, allocations: 10.52 kB / 0.5353 GB, free: 29.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.8419, allocations: 7.406 kB / 0.5353 GB, free: 29.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003029/0.8422, allocations: 196.2 kB / 0.5355 GB, free: 29.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8422, allocations: 3.938 kB / 0.5355 GB, free: 29.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.8427, allocations: 54.16 kB / 0.5356 GB, free: 29.7 MB / 458.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.001765/0.8444, allocations: 0.9953 MB / 0.5366 GB, free: 28.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.8448, allocations: 77.67 kB / 0.5366 GB, free: 28.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8448, allocations: 1.938 kB / 0.5366 GB, free: 28.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.8449, allocations: 36.08 kB / 0.5367 GB, free: 28.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.8454, allocations: 33.5 kB / 0.5367 GB, free: 28.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.8463, allocations: 290.7 kB / 0.537 GB, free: 28.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.8467, allocations: 0.7405 MB / 0.5377 GB, free: 28.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.8468, allocations: 18.91 kB / 0.5377 GB, free: 28.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.847, allocations: 54.09 kB / 0.5378 GB, free: 28.09 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/0.847, allocations: 0 / 0.5378 GB, free: 28.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.8761, allocations: 4.2 MB / 0.5419 GB, free: 27.63 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/0.8765, allocations: 186.6 kB / 0.5421 GB, free: 27.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.499, allocations: 0 / 0.5421 GB, free: 27.41 MB / 458.7 MB