Running command: "" <> buildModelFMU(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise,fileNamePrefix="SystemDynamics_SystemDynamics_IndustrialDynamics_Inventory_InventoryForresterNormalNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.534/2.534, allocations: 234.6 MB / 246.8 MB, free: 14.07 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.344e-05, allocations: 4 kB / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.5174, allocations: 54.62 MB / 359 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.6694, allocations: 80.86 MB / 439.9 MB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.6697, allocations: 64.05 kB / 440 MB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1987/0.8684, allocations: 49.77 MB / 489.7 MB, free: 14.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.8685, allocations: 4 kB / 489.7 MB, free: 14.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004609/0.8689, allocations: 88.16 kB / 489.8 MB, free: 13.97 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.009973/0.8789, allocations: 2.742 MB / 492.6 MB, free: 11.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.879, allocations: 11.97 kB / 492.6 MB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002169/0.8812, allocations: 0.5015 MB / 493.1 MB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.883, allocations: 418.9 kB / 493.5 MB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/0.8891, allocations: 2.033 MB / 495.5 MB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004516/0.8896, allocations: 283.5 kB / 495.8 MB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.8911, allocations: 387.9 kB / 496.2 MB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/0.9036, allocations: 3.462 MB / 499.6 MB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.9039, allocations: 15.88 kB / 499.7 MB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/0.905, allocations: 160 kB / 499.8 MB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.9052, allocations: 96 kB / 499.9 MB, free: 3.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008407/0.9136, allocations: 2.087 MB / 0.4902 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/0.9447, allocations: 14.48 MB / 0.5044 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.9493, allocations: 1.279 MB / 0.5056 GB, free: 1.344 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.9511, allocations: 0.5871 MB / 0.5062 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.9513, allocations: 17.31 kB / 0.5062 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002047/0.9534, allocations: 0.6124 MB / 0.5068 GB, free: 116 kB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 6.652e-06/0.9534, allocations: 0 / 0.5068 GB, free: 116 kB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.004096/0.9575, allocations: 1.239 MB / 0.508 GB, free: 14.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.9577, allocations: 68.7 kB / 0.5081 GB, free: 14.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003583/0.9613, allocations: 1.269 MB / 0.5093 GB, free: 13.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003671/0.9617, allocations: 53.7 kB / 0.5094 GB, free: 13.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.9639, allocations: 1.594 MB / 0.5109 GB, free: 11.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.965, allocations: 492.8 kB / 0.5114 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.9652, allocations: 36 kB / 0.5114 GB, free: 11.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.9654, allocations: 381.9 kB / 0.5118 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.9674, allocations: 0.5507 MB / 0.5123 GB, free: 10.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.9699, allocations: 1.023 MB / 0.5133 GB, free: 9.148 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.9724, allocations: 0.7379 MB / 0.514 GB, free: 8.414 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.9725, allocations: 4 kB / 0.5141 GB, free: 8.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006261/0.9787, allocations: 1.859 MB / 0.5159 GB, free: 6.543 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.9788, allocations: 12 kB / 0.5159 GB, free: 6.531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/0.9789, allocations: 12 kB / 0.5159 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.454e-05/0.979, allocations: 32.72 kB / 0.5159 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/0.9822, allocations: 351.4 kB / 0.5163 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.113e-05/0.9823, allocations: 31.92 kB / 0.5163 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.9847, allocations: 150.6 kB / 0.5164 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005527/0.9853, allocations: 72 kB / 0.5165 GB, free: 5.895 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.0008623/0.9862, allocations: 248.3 kB / 0.5167 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000792/0.987, allocations: 181.7 kB / 0.5169 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00097/0.988, allocations: 214.6 kB / 0.5171 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.9881, allocations: 12 kB / 0.5171 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.9881, allocations: 0 / 0.5171 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/0.9881, allocations: 11.97 kB / 0.5171 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.9991, allocations: 3.894 MB / 0.5209 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.9991, allocations: 0 / 0.5209 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/1.002, allocations: 235.6 kB / 0.5212 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.294e-05/1.002, allocations: 8 kB / 0.5212 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003386/1.002, allocations: 36 kB / 0.5212 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/1.003, allocations: 4 kB / 0.5212 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.003, allocations: 0 / 0.5212 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3925/1.395, allocations: 2.055 MB / 0.5232 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.396, allocations: 270.6 kB / 0.5235 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007726/1.397, allocations: 35.77 kB / 0.5235 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/1.399, allocations: 35.06 kB / 0.5235 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/1.399, allocations: 74.73 kB / 0.5236 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.4, allocations: 34.58 kB / 0.5236 GB, free: 110.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003903/1.404, allocations: 0.9524 MB / 0.5246 GB, free: 110.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.286e-06/1.404, allocations: 0 / 0.5246 GB, free: 110.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003851/1.408, allocations: 0.6384 MB / 0.5252 GB, free: 110.7 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.009958/1.418, allocations: 2.693 MB / 0.5278 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006123/1.424, allocations: 1.352 MB / 0.5291 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.424, allocations: 0 / 0.5291 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002781/1.427, allocations: 0.625 MB / 0.5298 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/1.431, allocations: 282.2 kB / 0.53 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/1.454, allocations: 4.453 MB / 0.5344 GB, free: 108.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004864/1.459, allocations: 1.847 MB / 0.5362 GB, free: 107.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00248/1.462, allocations: 180.2 kB / 0.5364 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004434/1.466, allocations: 1.266 MB / 0.5376 GB, free: 107.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.324e-06/1.466, allocations: 0 / 0.5376 GB, free: 107.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/1.605, allocations: 35.41 MB / 0.5722 GB, free: 105.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/1.606, allocations: 179.3 kB / 0.5723 GB, free: 105 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.75/5.356, allocations: 0 / 0.5723 GB, free: 105 MB / 458.7 MB