Running command: "" <> buildModelFMU(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity,fileNamePrefix="SystemDynamics_SystemDynamics_IndustrialDynamics_Inventory_InventoryForresterSinOneYearCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.348/2.348, allocations: 234.6 MB / 246.8 MB, free: 14.03 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.22e-05, allocations: 0 / 304.4 MB, free: 4.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4204, allocations: 54.63 MB / 359 MB, free: 2.824 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.5741, allocations: 81.7 MB / 440.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5745, allocations: 67.97 kB / 440.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2102/0.7847, allocations: 49.99 MB / 490.8 MB, free: 12.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7847, allocations: 0 / 490.8 MB, free: 12.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004253/0.7852, allocations: 95.92 kB / 490.9 MB, free: 12.89 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.009571/0.7948, allocations: 2.736 MB / 493.6 MB, free: 10.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.7949, allocations: 12.03 kB / 493.6 MB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002182/0.7971, allocations: 0.4976 MB / 494.1 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.7991, allocations: 418.9 kB / 494.5 MB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006193/0.8053, allocations: 2.018 MB / 496.6 MB, free: 7.094 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/0.8058, allocations: 287.5 kB / 496.8 MB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/0.8072, allocations: 391.8 kB / 497.2 MB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.82, allocations: 3.469 MB / 0.489 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/0.8202, allocations: 7.938 kB / 0.489 GB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008401/0.8211, allocations: 156 kB / 0.4891 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.8212, allocations: 99.92 kB / 0.4892 GB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008471/0.8297, allocations: 2.099 MB / 0.4913 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03238/0.8621, allocations: 14.48 MB / 0.5054 GB, free: 1.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004515/0.8667, allocations: 1.267 MB / 0.5066 GB, free: 292 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.8686, allocations: 0.5867 MB / 0.5072 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.8688, allocations: 17.31 kB / 0.5072 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.8689, allocations: 47.88 kB / 0.5073 GB, free: 15.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=133): time 4.929e-06/0.8689, allocations: 0 / 0.5073 GB, free: 15.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=133): time 0.004039/0.8729, allocations: 1.224 MB / 0.5085 GB, free: 14.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.873, allocations: 68.72 kB / 0.5085 GB, free: 14.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/0.8767, allocations: 1.269 MB / 0.5098 GB, free: 13.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003721/0.8771, allocations: 57.7 kB / 0.5098 GB, free: 12.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.879, allocations: 1.583 MB / 0.5114 GB, free: 11.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009816/0.88, allocations: 496.9 kB / 0.5119 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.8802, allocations: 36 kB / 0.5119 GB, free: 10.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002505/0.8805, allocations: 377.9 kB / 0.5122 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.8823, allocations: 0.5469 MB / 0.5128 GB, free: 9.922 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/0.8849, allocations: 1.013 MB / 0.5138 GB, free: 8.707 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.8874, allocations: 0.7194 MB / 0.5145 GB, free: 7.988 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.8874, allocations: 4 kB / 0.5145 GB, free: 7.984 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006502/0.894, allocations: 1.831 MB / 0.5163 GB, free: 6.145 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.8941, allocations: 12 kB / 0.5163 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/0.8941, allocations: 16 kB / 0.5163 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.066e-05/0.8942, allocations: 24 kB / 0.5163 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/0.8972, allocations: 351.4 kB / 0.5166 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.957e-05/0.8973, allocations: 35.86 kB / 0.5167 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.8994, allocations: 158.8 kB / 0.5168 GB, free: 5.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/0.8998, allocations: 72 kB / 0.5169 GB, free: 5.488 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.0005245/0.9003, allocations: 244.3 kB / 0.5171 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000668/0.901, allocations: 181.7 kB / 0.5173 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/0.9017, allocations: 202.7 kB / 0.5175 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.9017, allocations: 12 kB / 0.5175 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.9018, allocations: 0 / 0.5175 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.9018, allocations: 15.97 kB / 0.5175 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.9123, allocations: 3.886 MB / 0.5213 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.9124, allocations: 0 / 0.5213 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002814/0.9152, allocations: 231.7 kB / 0.5215 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-05/0.9153, allocations: 4 kB / 0.5215 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/0.9156, allocations: 36 kB / 0.5216 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.9156, allocations: 7.938 kB / 0.5216 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9156, allocations: 4 kB / 0.5216 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3412/1.257, allocations: 2.039 MB / 0.5236 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009002/1.258, allocations: 276.2 kB / 0.5238 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008148/1.259, allocations: 32.47 kB / 0.5239 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.261, allocations: 39.56 kB / 0.5239 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/1.262, allocations: 76.95 kB / 0.524 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.262, allocations: 35.44 kB / 0.524 GB, free: 110.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003898/1.266, allocations: 0.9545 MB / 0.525 GB, free: 110.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.393e-06/1.266, allocations: 2.031 kB / 0.525 GB, free: 110.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00387/1.27, allocations: 0.6246 MB / 0.5256 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.0101/1.28, allocations: 2.663 MB / 0.5282 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005508/1.285, allocations: 1.343 MB / 0.5295 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.285, allocations: 0 / 0.5295 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/1.288, allocations: 0.6169 MB / 0.5301 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/1.291, allocations: 292.1 kB / 0.5304 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/1.313, allocations: 4.446 MB / 0.5347 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004668/1.317, allocations: 1.848 MB / 0.5365 GB, free: 107.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00244/1.32, allocations: 184.1 kB / 0.5367 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004297/1.324, allocations: 1.266 MB / 0.5379 GB, free: 107.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.355e-06/1.324, allocations: 0 / 0.5379 GB, free: 107.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/1.436, allocations: 35.29 MB / 0.5724 GB, free: 104.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/1.437, allocations: 194.5 kB / 0.5726 GB, free: 104.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/5.182, allocations: 0 / 0.5726 GB, free: 104.6 MB / 458.7 MB