Running command: translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise") Notification: Performance of loadModel(SystemDynamics): time 2.268/2.268, allocations: 234.6 MB / 246.8 MB, free: 14.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.453e-05, allocations: 0 / 304.3 MB, free: 5.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4236, allocations: 54.64 MB / 358.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.5672, allocations: 80.87 MB / 439.8 MB, free: 116 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.5676, allocations: 64.53 kB / 439.9 MB, free: 52 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.192/0.7597, allocations: 49.77 MB / 489.6 MB, free: 14.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.7598, allocations: 0 / 489.6 MB, free: 14.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003046/0.7601, allocations: 88.2 kB / 489.7 MB, free: 14.09 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.006797/0.7669, allocations: 2.746 MB / 492.5 MB, free: 11.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.767, allocations: 11.97 kB / 492.5 MB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.7681, allocations: 414.9 kB / 492.9 MB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/0.7726, allocations: 2.017 MB / 494.9 MB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.7729, allocations: 291.4 kB / 495.2 MB, free: 8.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008362/0.7738, allocations: 379.9 kB / 495.6 MB, free: 8.129 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008709/0.7825, allocations: 3.461 MB / 499 MB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-05/0.7826, allocations: 11.88 kB / 499 MB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.7831, allocations: 159.9 kB / 499.2 MB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-05/0.7832, allocations: 96 kB / 499.3 MB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006399/0.7896, allocations: 2.079 MB / 0.4896 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02545/0.8151, allocations: 14.45 MB / 0.5037 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.8185, allocations: 1.279 MB / 0.505 GB, free: 2.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.82, allocations: 0.5833 MB / 0.5055 GB, free: 1.434 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.733e-05/0.8201, allocations: 13.31 kB / 0.5056 GB, free: 1.418 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.8218, allocations: 0.6278 MB / 0.5062 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 6.274e-06/0.8218, allocations: 0 / 0.5062 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.003321/0.8251, allocations: 1.24 MB / 0.5074 GB, free: 15.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.8252, allocations: 72.66 kB / 0.5075 GB, free: 15.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.8282, allocations: 1.265 MB / 0.5087 GB, free: 14.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.8285, allocations: 49.7 kB / 0.5087 GB, free: 14.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002619/0.8311, allocations: 1.587 MB / 0.5103 GB, free: 12.51 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.8325, allocations: 0.489 MB / 0.5108 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.8328, allocations: 40 kB / 0.5108 GB, free: 11.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003774/0.8332, allocations: 377.9 kB / 0.5112 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.8355, allocations: 0.543 MB / 0.5117 GB, free: 11.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.8389, allocations: 1.031 MB / 0.5127 GB, free: 9.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.8423, allocations: 0.7301 MB / 0.5134 GB, free: 9.094 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/0.8424, allocations: 4 kB / 0.5134 GB, free: 9.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008531/0.8509, allocations: 1.855 MB / 0.5152 GB, free: 7.227 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.8511, allocations: 12 kB / 0.5152 GB, free: 7.215 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.3e-05/0.8511, allocations: 16 kB / 0.5153 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.574e-05/0.8512, allocations: 31.95 kB / 0.5153 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/0.8549, allocations: 347.9 kB / 0.5156 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.863e-05/0.855, allocations: 39.86 kB / 0.5157 GB, free: 6.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.8575, allocations: 154.5 kB / 0.5158 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/0.8579, allocations: 72 kB / 0.5159 GB, free: 6.566 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: NoiseNormal1.y:DISCRETE(fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$PRE.NoiseNormal1.y,NoiseNormal1.y,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 (235): * Single equations (assignments): 235 * 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.0007686/0.8587, allocations: 240.4 kB / 0.5161 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007048/0.8594, allocations: 173.8 kB / 0.5163 GB, free: 6.152 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.8603, allocations: 206.7 kB / 0.5165 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/0.8603, allocations: 23.88 kB / 0.5165 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.8604, allocations: 4 kB / 0.5165 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/0.8604, allocations: 3.984 kB / 0.5165 GB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.8748, allocations: 3.893 MB / 0.5203 GB, free: 1.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.8749, allocations: 4 kB / 0.5203 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/0.8782, allocations: 227.7 kB / 0.5205 GB, free: 1.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.808e-05/0.8783, allocations: 4 kB / 0.5205 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/0.8786, allocations: 43.94 kB / 0.5206 GB, free: 1.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.779e-05/0.8786, allocations: 8 kB / 0.5206 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.011e-06/0.8787, allocations: 0 / 0.5206 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2963/1.175, allocations: 2.057 MB / 0.5226 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/1.176, allocations: 275.2 kB / 0.5228 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/1.176, allocations: 35.39 kB / 0.5229 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/1.177, allocations: 32.34 kB / 0.5229 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/1.177, allocations: 75.59 kB / 0.523 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.177, allocations: 35.84 kB / 0.523 GB, free: 110.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002069/1.179, allocations: 0.9553 MB / 0.5239 GB, free: 110.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.009e-06/1.179, allocations: 1.594 kB / 0.5239 GB, free: 110.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00206/1.181, allocations: 0.6302 MB / 0.5246 GB, free: 110.8 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: 2 ($whenCondition1,NoiseNormal1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003875/1.182, allocations: 166.7 kB / 0.5247 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00315/1.185, allocations: 1.356 MB / 0.526 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.733e-06/1.185, allocations: 0 / 0.526 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/1.186, allocations: 0.625 MB / 0.5267 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.188, allocations: 288.7 kB / 0.5269 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00931/1.198, allocations: 3.918 MB / 0.5308 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/1.2, allocations: 1.848 MB / 0.5326 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001327/1.201, allocations: 175.7 kB / 0.5327 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/1.202, allocations: 103.7 kB / 0.5328 GB, free: 108.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.126e-06/1.202, allocations: 1.344 kB / 0.5328 GB, free: 108.7 MB / 458.7 MB Notification: Performance of Templates: time 0.04876/1.251, allocations: 14.54 MB / 0.547 GB, free: 107.9 MB / 458.7 MB