Running command: translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear") Notification: Performance of loadModel(SystemDynamics): time 2.267/2.267, allocations: 234.6 MB / 246.8 MB, free: 14.07 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 4.577e-05/4.601e-05, allocations: 4 kB / 304.3 MB, free: 5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4624, allocations: 54.62 MB / 358.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.5905, allocations: 81.71 MB / 440.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.5907, allocations: 67.97 kB / 440.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1836/0.7743, allocations: 50 MB / 490.7 MB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.7744, allocations: 0 / 490.7 MB, free: 13.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006372/0.7751, allocations: 91.94 kB / 490.8 MB, free: 13 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.01407/0.7892, allocations: 2.732 MB / 493.5 MB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.103e-05/0.7893, allocations: 12.03 kB / 493.5 MB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.7918, allocations: 418.9 kB / 494 MB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.8031, allocations: 2.021 MB / 496 MB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007373/0.8039, allocations: 283.4 kB / 496.3 MB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.8059, allocations: 379.9 kB / 496.6 MB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.8258, allocations: 3.456 MB / 0.4884 GB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002038/0.8261, allocations: 11.88 kB / 0.4884 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008927/0.827, allocations: 156 kB / 0.4885 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.8273, allocations: 96 kB / 0.4886 GB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.8437, allocations: 2.087 MB / 0.4906 GB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/0.8708, allocations: 14.46 MB / 0.5048 GB, free: 2.246 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/0.8744, allocations: 1.275 MB / 0.506 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.8758, allocations: 0.5827 MB / 0.5066 GB, free: 380 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.8759, allocations: 13.31 kB / 0.5066 GB, free: 368 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.876, allocations: 47.83 kB / 0.5066 GB, free: 312 kB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 4.767e-06/0.876, allocations: 0 / 0.5066 GB, free: 312 kB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.003288/0.8793, allocations: 1.236 MB / 0.5078 GB, free: 15.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.8794, allocations: 68.72 kB / 0.5079 GB, free: 14.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.8825, allocations: 1.273 MB / 0.5092 GB, free: 13.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002924/0.8828, allocations: 49.7 kB / 0.5092 GB, free: 13.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.8844, allocations: 1.583 MB / 0.5107 GB, free: 12.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007838/0.8852, allocations: 488.9 kB / 0.5112 GB, free: 11.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.8853, allocations: 36 kB / 0.5112 GB, free: 11.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.8856, allocations: 373.9 kB / 0.5116 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.8871, allocations: 0.5469 MB / 0.5121 GB, free: 10.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.8891, allocations: 1.017 MB / 0.5131 GB, free: 9.383 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.891, allocations: 0.7155 MB / 0.5138 GB, free: 8.668 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.8911, allocations: 8 kB / 0.5138 GB, free: 8.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004961/0.8961, allocations: 1.827 MB / 0.5156 GB, free: 6.824 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.8961, allocations: 12.97 kB / 0.5156 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.8962, allocations: 16 kB / 0.5156 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.878e-05/0.8963, allocations: 35.95 kB / 0.5157 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.8983, allocations: 347.4 kB / 0.516 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.591e-05/0.8984, allocations: 39.86 kB / 0.5161 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.8999, allocations: 142.6 kB / 0.5162 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/0.9002, allocations: 76 kB / 0.5163 GB, free: 6.168 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.0006399/0.9009, allocations: 244.4 kB / 0.5165 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/0.9014, allocations: 177.7 kB / 0.5167 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.902, allocations: 202.7 kB / 0.5169 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.902, allocations: 19.95 kB / 0.5169 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.9021, allocations: 3.938 kB / 0.5169 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.9021, allocations: 3.984 kB / 0.5169 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/0.9108, allocations: 3.886 MB / 0.5207 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.789e-06/0.9109, allocations: 0 / 0.5207 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.9127, allocations: 235.7 kB / 0.5209 GB, free: 1.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/0.9128, allocations: 4 kB / 0.5209 GB, free: 1.336 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.913, allocations: 39.94 kB / 0.5209 GB, free: 1.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/0.913, allocations: 8 kB / 0.521 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-06/0.913, allocations: 0 / 0.521 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3041/1.217, allocations: 2.033 MB / 0.5229 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/1.218, allocations: 274.4 kB / 0.5232 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/1.218, allocations: 35.67 kB / 0.5232 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/1.219, allocations: 36.95 kB / 0.5233 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.219, allocations: 77.09 kB / 0.5233 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.219, allocations: 31.94 kB / 0.5234 GB, free: 110.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001919/1.221, allocations: 0.961 MB / 0.5243 GB, free: 110.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.76e-07/1.221, allocations: 0 / 0.5243 GB, free: 110.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001889/1.223, allocations: 0.634 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.0002498/1.223, allocations: 157.5 kB / 0.5251 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00301/1.226, allocations: 1.343 MB / 0.5264 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.624e-06/1.226, allocations: 0 / 0.5264 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/1.228, allocations: 0.6199 MB / 0.527 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/1.229, allocations: 291.5 kB / 0.5273 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.242, allocations: 3.915 MB / 0.5311 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003793/1.246, allocations: 1.843 MB / 0.5329 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002292/1.248, allocations: 179.8 kB / 0.5331 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/1.249, allocations: 107.7 kB / 0.5332 GB, free: 108.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.834e-06/1.249, allocations: 0 / 0.5332 GB, free: 108.3 MB / 458.7 MB Notification: Performance of Templates: time 0.04731/1.296, allocations: 14.41 MB / 0.5472 GB, free: 107.5 MB / 458.7 MB