Running command: translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity") Notification: Performance of loadModel(SystemDynamics): time 2.452/2.452, allocations: 234.6 MB / 246.8 MB, free: 14.04 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.365e-05, allocations: 4 kB / 304.3 MB, free: 5.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4115, allocations: 54.63 MB / 359 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.5397, allocations: 81.7 MB / 440.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.54, allocations: 63.97 kB / 440.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2395/0.7795, allocations: 49.99 MB / 490.7 MB, free: 13.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.54e-06/0.7796, allocations: 0 / 490.7 MB, free: 13.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005545/0.7802, allocations: 88.2 kB / 490.8 MB, free: 13.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.007952/0.7882, allocations: 2.74 MB / 493.5 MB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.7882, allocations: 11.97 kB / 493.5 MB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.7896, allocations: 414.9 kB / 494 MB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/0.7945, allocations: 2.021 MB / 496 MB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.7949, allocations: 283.4 kB / 496.3 MB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00098/0.7959, allocations: 383.8 kB / 496.6 MB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009814/0.8057, allocations: 3.453 MB / 0.4884 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.066e-05/0.8059, allocations: 19.81 kB / 0.4884 GB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004104/0.8063, allocations: 152 kB / 0.4885 GB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.8064, allocations: 95.98 kB / 0.4886 GB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006528/0.813, allocations: 2.083 MB / 0.4906 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02533/0.8383, allocations: 14.45 MB / 0.5048 GB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.8421, allocations: 1.279 MB / 0.506 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.8436, allocations: 0.575 MB / 0.5066 GB, free: 400 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-05/0.8438, allocations: 17.3 kB / 0.5066 GB, free: 384 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.8438, allocations: 47.83 kB / 0.5066 GB, free: 328 kB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 4.813e-06/0.8438, allocations: 0 / 0.5066 GB, free: 328 kB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.003294/0.8471, allocations: 1.232 MB / 0.5078 GB, free: 15.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.8472, allocations: 68.72 kB / 0.5079 GB, free: 14.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.8502, allocations: 1.277 MB / 0.5091 GB, free: 13.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.8505, allocations: 49.7 kB / 0.5092 GB, free: 13.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.852, allocations: 1.583 MB / 0.5107 GB, free: 12.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007362/0.8528, allocations: 488.9 kB / 0.5112 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.8529, allocations: 36 kB / 0.5112 GB, free: 11.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.8532, allocations: 377.9 kB / 0.5116 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.8547, allocations: 0.543 MB / 0.5121 GB, free: 10.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.8566, allocations: 1.02 MB / 0.5131 GB, free: 9.395 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.8585, allocations: 0.7155 MB / 0.5138 GB, free: 8.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.8585, allocations: 8 kB / 0.5138 GB, free: 8.672 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004644/0.8632, allocations: 1.827 MB / 0.5156 GB, free: 6.836 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.8632, allocations: 8 kB / 0.5156 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.8633, allocations: 16 kB / 0.5156 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.304e-05/0.8633, allocations: 35.98 kB / 0.5157 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.8652, allocations: 355.4 kB / 0.516 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.882e-05/0.8653, allocations: 35.86 kB / 0.5161 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.8667, allocations: 138.7 kB / 0.5162 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.867, allocations: 79.98 kB / 0.5163 GB, free: 6.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 33 (Retail1.Mail_Delay.Level3.Integrator1.local_reset,Retail1.Mail_Delay.Level2.Integrator1.local_reset,Retail1.Mail_Delay.Level1.Integrator1.local_reset,Retail1.Order_Delay.Level3.Integrator1.local_reset,Retail1.Order_Delay.Level2.Integrator1.local_reset,Retail1.Order_Delay.Level1.Integrator1.local_reset,Retail1.Transporation_Delay.Level3.Integrator1.local_reset,Retail1.Transporation_Delay.Level2.Integrator1.local_reset,Retail1.Transporation_Delay.Level1.Integrator1.local_reset,Retail1.RSR_delayed.Level1.Integrator1.local_reset,Retail1.UOR.Integrator1.local_reset,Retail1.IAR.Integrator1.local_reset,Distribution1.Mail_Delay.Level3.Integrator1.local_reset,Distribution1.Mail_Delay.Level2.Integrator1.local_reset,Distribution1.Mail_Delay.Level1.Integrator1.local_reset,Distribution1.Order_Delay.Level3.Integrator1.local_reset,Distribution1.Order_Delay.Level2.Integrator1.local_reset,Distribution1.Order_Delay.Level1.Integrator1.local_reset,Distribution1.Transporation_Delay.Level3.Integrator1.local_reset,Distribution1.Transporation_Delay.Level2.Integrator1.local_reset,Distribution1.Transporation_Delay.Level1.Integrator1.local_reset,Distribution1.RSD_delayed.Level1.Integrator1.local_reset,Distribution1.UOD.Integrator1.local_reset,Distribution1.IAD.Integrator1.local_reset,Factory1.Production_Delay.Level3.Integrator1.local_reset,Factory1.Production_Delay.Level2.Integrator1.local_reset,Factory1.Production_Delay.Level1.Integrator1.local_reset,Factory1.Order_Delay.Level3.Integrator1.local_reset,Factory1.Order_Delay.Level2.Integrator1.local_reset,Factory1.Order_Delay.Level1.Integrator1.local_reset,Factory1.SRF_delayed.Level1.Integrator1.local_reset,Factory1.UOF.Integrator1.local_reset,Factory1.IAF.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 232 * Array equations: 0 * 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.0004261/0.8674, allocations: 240.4 kB / 0.5165 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/0.8678, allocations: 173.8 kB / 0.5167 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/0.8684, allocations: 202.7 kB / 0.5168 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.8684, allocations: 19.89 kB / 0.5169 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.8684, allocations: 3.984 kB / 0.5169 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.8684, allocations: 3.984 kB / 0.5169 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/0.8767, allocations: 3.89 MB / 0.5207 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.472e-06/0.8767, allocations: 0 / 0.5207 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.8786, allocations: 231.7 kB / 0.5209 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.8786, allocations: 7.938 kB / 0.5209 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.8788, allocations: 39.95 kB / 0.5209 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.8788, allocations: 4 kB / 0.5209 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.892e-06/0.8788, allocations: 0 / 0.5209 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2693/1.148, allocations: 2.04 MB / 0.5229 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/1.149, allocations: 274.8 kB / 0.5232 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/1.149, allocations: 37.98 kB / 0.5232 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/1.15, allocations: 39.89 kB / 0.5233 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/1.15, allocations: 78.08 kB / 0.5233 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.15, allocations: 30.31 kB / 0.5234 GB, free: 110.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002028/1.152, allocations: 0.9609 MB / 0.5243 GB, free: 110.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.108e-06/1.153, allocations: 2.125 kB / 0.5243 GB, free: 110.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002163/1.155, allocations: 0.627 MB / 0.5249 GB, free: 110.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 33 (Factory1.IAF.Integrator1.y,Factory1.UOF.Integrator1.y,Factory1.SRF_delayed.Level1.Integrator1.y,Factory1.Order_Delay.Level1.Integrator1.y,Factory1.Order_Delay.Level2.Integrator1.y,Factory1.Order_Delay.Level3.Integrator1.y,Factory1.Production_Delay.Level1.Integrator1.y,Factory1.Production_Delay.Level2.Integrator1.y,Factory1.Production_Delay.Level3.Integrator1.y,Distribution1.IAD.Integrator1.y,Distribution1.UOD.Integrator1.y,Distribution1.RSD_delayed.Level1.Integrator1.y,Distribution1.Transporation_Delay.Level1.Integrator1.y,Distribution1.Transporation_Delay.Level2.Integrator1.y,Distribution1.Transporation_Delay.Level3.Integrator1.y,Distribution1.Order_Delay.Level1.Integrator1.y,Distribution1.Order_Delay.Level2.Integrator1.y,Distribution1.Order_Delay.Level3.Integrator1.y,Distribution1.Mail_Delay.Level1.Integrator1.y,Distribution1.Mail_Delay.Level2.Integrator1.y,Distribution1.Mail_Delay.Level3.Integrator1.y,Retail1.IAR.Integrator1.y,Retail1.UOR.Integrator1.y,Retail1.RSR_delayed.Level1.Integrator1.y,Retail1.Transporation_Delay.Level1.Integrator1.y,Retail1.Transporation_Delay.Level2.Integrator1.y,Retail1.Transporation_Delay.Level3.Integrator1.y,Retail1.Order_Delay.Level1.Integrator1.y,Retail1.Order_Delay.Level2.Integrator1.y,Retail1.Order_Delay.Level3.Integrator1.y,Retail1.Mail_Delay.Level1.Integrator1.y,Retail1.Mail_Delay.Level2.Integrator1.y,Retail1.Mail_Delay.Level3.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002838/1.155, allocations: 159.1 kB / 0.5251 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003227/1.158, allocations: 1.34 MB / 0.5264 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.439e-06/1.158, allocations: 4.406 kB / 0.5264 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/1.16, allocations: 0.618 MB / 0.527 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.161, allocations: 282.5 kB / 0.5273 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009848/1.171, allocations: 3.926 MB / 0.5311 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/1.174, allocations: 1.843 MB / 0.5329 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001443/1.176, allocations: 178.1 kB / 0.5331 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/1.176, allocations: 104 kB / 0.5332 GB, free: 108.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.007e-06/1.176, allocations: 0 / 0.5332 GB, free: 108.3 MB / 458.7 MB Notification: Performance of Templates: time 0.04928/1.225, allocations: 14.42 MB / 0.5472 GB, free: 107.5 MB / 458.7 MB