Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadModel(IBPSA): time 2.598/2.598, allocations: 288.1 MB / 300.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.736e-05, allocations: 4.906 kB / 370.6 MB, free: 7.875 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 67.02 MB / 437.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/0.6297, allocations: 101.6 MB / 0.5266 GB, free: 18.03 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.63, allocations: 78.56 kB / 0.5267 GB, free: 18.03 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02151/0.6516, allocations: 5.349 MB / 0.5319 GB, free: 33.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.542e-06/0.6516, allocations: 0 / 0.5319 GB, free: 33.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.6516, allocations: 10.5 kB / 0.5319 GB, free: 33.43 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.0005789/0.6522, allocations: 459.1 kB / 0.5324 GB, free: 33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6523, allocations: 9.875 kB / 0.5324 GB, free: 33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.6524, allocations: 19.75 kB / 0.5324 GB, free: 32.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.653, allocations: 256.7 kB / 0.5327 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.6531, allocations: 9.875 kB / 0.5327 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.6531, allocations: 3.281 kB / 0.5327 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.6534, allocations: 100.3 kB / 0.5328 GB, free: 32.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6535, allocations: 1.094 kB / 0.5328 GB, free: 32.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.6535, allocations: 3.953 kB / 0.5328 GB, free: 32.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.6536, allocations: 2.125 kB / 0.5328 GB, free: 32.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.6537, allocations: 38.39 kB / 0.5328 GB, free: 32.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.6547, allocations: 370 kB / 0.5332 GB, free: 32.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.655, allocations: 87.59 kB / 0.5332 GB, free: 32.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.6552, allocations: 29.53 kB / 0.5333 GB, free: 32.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.6552, allocations: 9.578 kB / 0.5333 GB, free: 32.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.6555, allocations: 80.78 kB / 0.5334 GB, free: 32.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 5.234e-06/0.6555, allocations: 0 / 0.5334 GB, free: 32.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005205/0.6561, allocations: 109.4 kB / 0.5335 GB, free: 32.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.6562, allocations: 114.1 kB / 0.5336 GB, free: 32.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.6568, allocations: 239.9 kB / 0.5338 GB, free: 32.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.6569, allocations: 27.05 kB / 0.5338 GB, free: 32.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.657, allocations: 125 kB / 0.5339 GB, free: 31.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.6571, allocations: 18.14 kB / 0.534 GB, free: 31.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.6571, allocations: 1.688 kB / 0.534 GB, free: 31.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.6573, allocations: 326.5 kB / 0.5343 GB, free: 31.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.6575, allocations: 26.97 kB / 0.5343 GB, free: 31.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.6577, allocations: 75.06 kB / 0.5344 GB, free: 31.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.6578, allocations: 38.44 kB / 0.5344 GB, free: 31.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-06/0.6578, allocations: 1.5 kB / 0.5344 GB, free: 31.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003749/0.6582, allocations: 113.9 kB / 0.5345 GB, free: 31.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6583, allocations: 5.281 kB / 0.5345 GB, free: 31.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.04e-06/0.6583, allocations: 0 / 0.5345 GB, free: 31.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6583, allocations: 1.719 kB / 0.5345 GB, free: 31.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.6585, allocations: 17.75 kB / 0.5345 GB, free: 31.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6585, allocations: 1.656 kB / 0.5345 GB, free: 31.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.6587, allocations: 7.031 kB / 0.5346 GB, free: 31.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.6588, allocations: 4.234 kB / 0.5346 GB, free: 31.52 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.0001647/0.6589, allocations: 115.2 kB / 0.5347 GB, free: 31.42 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.659, allocations: 19.73 kB / 0.5347 GB, free: 31.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.6595, allocations: 125.9 kB / 0.5348 GB, free: 31.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.6595, allocations: 6.5 kB / 0.5348 GB, free: 31.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.107e-06/0.6595, allocations: 0 / 0.5348 GB, free: 31.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.061e-06/0.6596, allocations: 1.641 kB / 0.5348 GB, free: 31.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.66, allocations: 240.2 kB / 0.535 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.463e-06/0.66, allocations: 0 / 0.535 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6601, allocations: 8.75 kB / 0.5351 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/0.6602, allocations: 3.953 kB / 0.5351 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.6602, allocations: 1.688 kB / 0.5351 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.6602, allocations: 0 / 0.5351 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.354e-06/0.6602, allocations: 5.469 kB / 0.5351 GB, free: 31.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.6607, allocations: 148.6 kB / 0.5352 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.6609, allocations: 99.12 kB / 0.5353 GB, free: 30.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.661, allocations: 9.516 kB / 0.5353 GB, free: 30.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.6611, allocations: 8.844 kB / 0.5353 GB, free: 30.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.6612, allocations: 13.16 kB / 0.5353 GB, free: 30.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.6612, allocations: 1.656 kB / 0.5353 GB, free: 30.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004136/0.6617, allocations: 196.8 kB / 0.5355 GB, free: 30.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.074e-06/0.6617, allocations: 0 / 0.5355 GB, free: 30.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006873/0.6624, allocations: 50.47 kB / 0.5356 GB, free: 30.88 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.002169/0.6646, allocations: 418.4 kB / 0.536 GB, free: 30.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.665, allocations: 78.3 kB / 0.536 GB, free: 30.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.184e-06/0.6651, allocations: 1.75 kB / 0.536 GB, free: 30.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.6652, allocations: 35.16 kB / 0.5361 GB, free: 30.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.6657, allocations: 35.84 kB / 0.5361 GB, free: 30.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.6665, allocations: 211.8 kB / 0.5363 GB, free: 30.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.6672, allocations: 0.7276 MB / 0.537 GB, free: 29.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.6674, allocations: 33.11 kB / 0.5371 GB, free: 29.85 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.831e-05/0.6675, allocations: 19.06 kB / 0.5371 GB, free: 29.84 MB / 458.7 MB Notification: Performance of SimCode: time 2.691e-06/0.6675, allocations: 0 / 0.5371 GB, free: 29.84 MB / 458.7 MB Notification: Performance of Templates: time 0.00717/0.6747, allocations: 2.482 MB / 0.5395 GB, free: 29.61 MB / 458.7 MB