Running command: translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep") Notification: Performance of loadModel(SystemDynamics): time 2.548/2.548, allocations: 234.6 MB / 246.8 MB, free: 14.01 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.613e-05, allocations: 7.984 kB / 304.3 MB, free: 5.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3664, allocations: 54.62 MB / 358.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5213, allocations: 81.08 MB / 440 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.5215, allocations: 63.97 kB / 440.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.177/0.6985, allocations: 49.75 MB / 489.8 MB, free: 13.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.643e-06/0.6986, allocations: 224 / 489.8 MB, free: 13.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003374/0.6989, allocations: 91.98 kB / 489.9 MB, free: 13.9 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.007008/0.706, allocations: 2.736 MB / 492.7 MB, free: 11.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.706, allocations: 11.97 kB / 492.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.7073, allocations: 418.9 kB / 493.1 MB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.712, allocations: 2.017 MB / 495.1 MB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.7124, allocations: 283.4 kB / 495.4 MB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009689/0.7134, allocations: 383.9 kB / 495.7 MB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009972/0.7234, allocations: 3.449 MB / 499.2 MB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.901e-05/0.7235, allocations: 15.92 kB / 499.2 MB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.724, allocations: 156 kB / 499.4 MB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.7241, allocations: 95.94 kB / 499.5 MB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006588/0.7307, allocations: 2.079 MB / 0.4898 GB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02606/0.7568, allocations: 14.45 MB / 0.5039 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.7603, allocations: 1.279 MB / 0.5051 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.7617, allocations: 0.5789 MB / 0.5057 GB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-05/0.7618, allocations: 13.31 kB / 0.5057 GB, free: 1.273 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.7619, allocations: 55.77 kB / 0.5058 GB, free: 1.207 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 5.027e-06/0.7619, allocations: 0 / 0.5058 GB, free: 1.207 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.003292/0.7652, allocations: 1.22 MB / 0.507 GB, free: 15.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.7653, allocations: 64.72 kB / 0.507 GB, free: 15.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.7683, allocations: 1.277 MB / 0.5083 GB, free: 14.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000287/0.7686, allocations: 49.7 kB / 0.5083 GB, free: 14.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.7702, allocations: 1.583 MB / 0.5099 GB, free: 12.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007639/0.771, allocations: 496.8 kB / 0.5103 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.7711, allocations: 36 kB / 0.5104 GB, free: 12.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.7714, allocations: 369.9 kB / 0.5107 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.7729, allocations: 0.5469 MB / 0.5113 GB, free: 11.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.7748, allocations: 1.017 MB / 0.5123 GB, free: 10.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.7767, allocations: 0.7155 MB / 0.513 GB, free: 9.586 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.7767, allocations: 4 kB / 0.513 GB, free: 9.582 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004744/0.7815, allocations: 1.827 MB / 0.5147 GB, free: 7.746 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.7815, allocations: 12 kB / 0.5148 GB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.7816, allocations: 16 kB / 0.5148 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.432e-05/0.7817, allocations: 27.95 kB / 0.5148 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.7835, allocations: 347.4 kB / 0.5151 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.195e-05/0.7836, allocations: 35.86 kB / 0.5152 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.785, allocations: 158.8 kB / 0.5153 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.7853, allocations: 68 kB / 0.5154 GB, free: 7.094 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.0004385/0.7857, allocations: 244.3 kB / 0.5156 GB, free: 6.852 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.7862, allocations: 177.8 kB / 0.5158 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005565/0.7868, allocations: 206.6 kB / 0.516 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.7868, allocations: 19.89 kB / 0.516 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.7868, allocations: 0 / 0.516 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.7869, allocations: 7.969 kB / 0.516 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008548/0.7954, allocations: 3.874 MB / 0.5198 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.584e-06/0.7955, allocations: 0 / 0.5198 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.7973, allocations: 235.6 kB / 0.52 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/0.7974, allocations: 4 kB / 0.52 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.7976, allocations: 35.95 kB / 0.52 GB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.7976, allocations: 8 kB / 0.5201 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-06/0.7976, allocations: 0 / 0.5201 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00472/0.8023, allocations: 2.042 MB / 0.522 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2562/1.059, allocations: 265.2 kB / 0.5223 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005266/1.059, allocations: 35.19 kB / 0.5223 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/1.06, allocations: 36.47 kB / 0.5224 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.06, allocations: 74.56 kB / 0.5224 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/1.06, allocations: 33.38 kB / 0.5225 GB, free: 111.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002237/1.063, allocations: 0.9585 MB / 0.5234 GB, free: 111.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.079e-06/1.063, allocations: 0 / 0.5234 GB, free: 111.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002257/1.065, allocations: 0.6264 MB / 0.524 GB, free: 111.3 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.0003236/1.065, allocations: 161.9 kB / 0.5242 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003248/1.069, allocations: 1.337 MB / 0.5255 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.182e-06/1.069, allocations: 0 / 0.5255 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/1.07, allocations: 0.6175 MB / 0.5261 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.072, allocations: 292.5 kB / 0.5264 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009809/1.082, allocations: 3.912 MB / 0.5302 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/1.084, allocations: 1.844 MB / 0.532 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001385/1.085, allocations: 175.8 kB / 0.5322 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/1.086, allocations: 104 kB / 0.5322 GB, free: 109.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.868e-06/1.086, allocations: 0 / 0.5322 GB, free: 109.2 MB / 458.7 MB Notification: Performance of Templates: time 0.07242/1.158, allocations: 14.41 MB / 0.5463 GB, free: 108.4 MB / 458.7 MB