Running command: "" <> buildModelFMU(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep,fileNamePrefix="SystemDynamics_SystemDynamics_IndustrialDynamics_Inventory_InventoryForresterStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.43/2.43, allocations: 234.6 MB / 246.8 MB, free: 14.05 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 5.165e-05/5.17e-05, allocations: 7.938 kB / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4054, allocations: 54.62 MB / 359 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5714, allocations: 81.08 MB / 440.1 MB, free: 15.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.5717, allocations: 67.97 kB / 440.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.229/0.8007, allocations: 49.74 MB / 489.9 MB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8008, allocations: 4.219 kB / 489.9 MB, free: 13.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004234/0.8012, allocations: 95.92 kB / 490 MB, free: 13.88 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.008992/0.8102, allocations: 2.732 MB / 492.8 MB, free: 11.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.8103, allocations: 8.031 kB / 492.8 MB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002018/0.8123, allocations: 0.5015 MB / 493.3 MB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.8141, allocations: 418.9 kB / 493.7 MB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/0.8199, allocations: 2.033 MB / 495.7 MB, free: 8.062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005028/0.8205, allocations: 283.5 kB / 496 MB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.8218, allocations: 375.9 kB / 496.3 MB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.8344, allocations: 3.469 MB / 499.8 MB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.8346, allocations: 11.88 kB / 499.8 MB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000629/0.8352, allocations: 156 kB / 500 MB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.8354, allocations: 92 kB / 0.4883 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008539/0.8439, allocations: 2.091 MB / 0.4904 GB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0312/0.8752, allocations: 14.48 MB / 0.5045 GB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.8795, allocations: 1.267 MB / 0.5058 GB, free: 1.281 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.8812, allocations: 0.575 MB / 0.5063 GB, free: 0.707 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.8813, allocations: 17.31 kB / 0.5063 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.8814, allocations: 51.81 kB / 0.5064 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 7.053e-06/0.8814, allocations: 3.984 kB / 0.5064 GB, free: 0.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.003728/0.8851, allocations: 1.224 MB / 0.5076 GB, free: 15.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.8853, allocations: 64.72 kB / 0.5077 GB, free: 15.31 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.8887, allocations: 1.269 MB / 0.5089 GB, free: 14.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000342/0.8891, allocations: 53.7 kB / 0.509 GB, free: 13.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.8908, allocations: 1.594 MB / 0.5105 GB, free: 12.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009175/0.8917, allocations: 492.9 kB / 0.511 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.8919, allocations: 40 kB / 0.511 GB, free: 11.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.8922, allocations: 365.9 kB / 0.5114 GB, free: 11.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.8939, allocations: 0.547 MB / 0.5119 GB, free: 10.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.8961, allocations: 1.017 MB / 0.5129 GB, free: 9.707 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.8984, allocations: 0.7194 MB / 0.5136 GB, free: 8.988 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.8984, allocations: 8 kB / 0.5136 GB, free: 8.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005796/0.9042, allocations: 1.827 MB / 0.5154 GB, free: 7.148 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.9043, allocations: 12 kB / 0.5154 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.9044, allocations: 16 kB / 0.5154 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.099e-05/0.9045, allocations: 24 kB / 0.5154 GB, free: 7.098 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/0.9074, allocations: 356 kB / 0.5158 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-05/0.9076, allocations: 35.86 kB / 0.5158 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.9096, allocations: 146.6 kB / 0.5159 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.9099, allocations: 72 kB / 0.516 GB, free: 6.5 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.0005095/0.9104, allocations: 240.3 kB / 0.5162 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/0.911, allocations: 185.6 kB / 0.5164 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006592/0.9116, allocations: 202.6 kB / 0.5166 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.9117, allocations: 16 kB / 0.5166 GB, free: 5.859 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.9117, allocations: 7.922 kB / 0.5166 GB, free: 5.852 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.9117, allocations: 3.984 kB / 0.5166 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.9221, allocations: 3.886 MB / 0.5204 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.9222, allocations: 0 / 0.5204 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/0.925, allocations: 227.6 kB / 0.5207 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.741e-05/0.925, allocations: 8 kB / 0.5207 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/0.9253, allocations: 36 kB / 0.5207 GB, free: 1.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.9253, allocations: 4 kB / 0.5207 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.9253, allocations: 4 kB / 0.5207 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.316/1.241, allocations: 2.039 MB / 0.5227 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/1.242, allocations: 269.7 kB / 0.523 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006104/1.243, allocations: 41.36 kB / 0.523 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.244, allocations: 33.38 kB / 0.523 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/1.245, allocations: 77.67 kB / 0.5231 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.245, allocations: 31.89 kB / 0.5231 GB, free: 111.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002622/1.247, allocations: 0.9559 MB / 0.5241 GB, free: 111 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.247, allocations: 0 / 0.5241 GB, free: 111 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002645/1.25, allocations: 0.6285 MB / 0.5247 GB, free: 111 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.006076/1.256, allocations: 2.651 MB / 0.5273 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003837/1.26, allocations: 1.34 MB / 0.5286 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.26, allocations: 1.344 kB / 0.5286 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.262, allocations: 0.6184 MB / 0.5292 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.002524/1.264, allocations: 288.2 kB / 0.5295 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/1.28, allocations: 4.448 MB / 0.5338 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/1.283, allocations: 1.845 MB / 0.5356 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001701/1.285, allocations: 176.1 kB / 0.5358 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/1.288, allocations: 1.264 MB / 0.537 GB, free: 108.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/1.288, allocations: 0 / 0.537 GB, free: 108.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/1.423, allocations: 35.24 MB / 0.5714 GB, free: 105.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/1.423, allocations: 168.2 kB / 0.5716 GB, free: 105.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.779/5.203, allocations: 0 / 0.5716 GB, free: 105.4 MB / 458.7 MB