Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Scenario_4,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Scenario_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.651/2.651, allocations: 234.6 MB / 246.8 MB, free: 14.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.594e-05, allocations: 7.984 kB / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5111, allocations: 54.63 MB / 359 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.691, allocations: 91.27 MB / 450.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.6913, allocations: 79.95 kB / 450.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.716/1.407, allocations: 95.67 MB / 0.5333 GB, free: 79.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.407, allocations: 0 / 0.5333 GB, free: 79.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001121/1.409, allocations: 195.1 kB / 0.5334 GB, free: 79.33 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.02291/1.431, allocations: 6.299 MB / 0.5396 GB, free: 76.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.432, allocations: 8.938 kB / 0.5396 GB, free: 76.49 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004346/1.436, allocations: 0.9137 MB / 0.5405 GB, free: 76.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004907/1.441, allocations: 0.9984 MB / 0.5415 GB, free: 75.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/1.456, allocations: 4.375 MB / 0.5457 GB, free: 74.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009298/1.457, allocations: 0.5256 MB / 0.5463 GB, free: 74.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/1.46, allocations: 0.6593 MB / 0.5469 GB, free: 74.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/1.488, allocations: 7.449 MB / 0.5542 GB, free: 73.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003092/1.489, allocations: 17.81 kB / 0.5542 GB, free: 73.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002217/1.491, allocations: 281.2 kB / 0.5545 GB, free: 73.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/1.491, allocations: 168.3 kB / 0.5546 GB, free: 73.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/1.511, allocations: 6.152 MB / 0.5606 GB, free: 73.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06397/1.575, allocations: 25.69 MB / 0.5857 GB, free: 61.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/1.587, allocations: 4.835 MB / 0.5904 GB, free: 59.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005532/1.592, allocations: 2.182 MB / 0.5926 GB, free: 58.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/1.593, allocations: 85.48 kB / 0.5927 GB, free: 58.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.982e-05/1.593, allocations: 69.38 kB / 0.5927 GB, free: 58.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 5.28e-06/1.593, allocations: 3.344 kB / 0.5927 GB, free: 58.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.01407/1.607, allocations: 5.027 MB / 0.5976 GB, free: 56.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/1.607, allocations: 0.5867 MB / 0.5982 GB, free: 56.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/1.62, allocations: 4.611 MB / 0.6027 GB, free: 54.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00121/1.621, allocations: 76.64 kB / 0.6028 GB, free: 54.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004642/1.626, allocations: 3.994 MB / 0.6067 GB, free: 51.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001977/1.628, allocations: 0.9301 MB / 0.6076 GB, free: 50.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/1.628, allocations: 62.22 kB / 0.6077 GB, free: 50.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002336/1.629, allocations: 422.1 kB / 0.6081 GB, free: 50.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005642/1.634, allocations: 2.161 MB / 0.6102 GB, free: 49.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00698/1.641, allocations: 2.957 MB / 0.6131 GB, free: 47.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006485/1.648, allocations: 2.371 MB / 0.6154 GB, free: 46.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/1.648, allocations: 9.594 kB / 0.6154 GB, free: 46.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.017/1.665, allocations: 5.773 MB / 0.621 GB, free: 44.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001899/1.667, allocations: 9.396 MB / 0.6302 GB, free: 34.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.088e-05/1.667, allocations: 20.16 kB / 0.6302 GB, free: 34.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-05/1.667, allocations: 34.62 kB / 0.6302 GB, free: 34.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006981/1.674, allocations: 0.8495 MB / 0.6311 GB, free: 34.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.81e-05/1.674, allocations: 47.3 kB / 0.6311 GB, free: 34.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/1.68, allocations: 461.7 kB / 0.6316 GB, free: 33.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.681, allocations: 272.5 kB / 0.6318 GB, free: 33.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.681, allocations: 4 kB / 0.6318 GB, free: 33.38 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01391/1.695, allocations: 5.087 MB / 0.6368 GB, free: 28.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/1.695, allocations: 20 kB / 0.6368 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.377e-05/1.695, allocations: 36 kB / 0.6368 GB, free: 28.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00595/1.701, allocations: 0.7167 MB / 0.6375 GB, free: 28.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.476e-05/1.702, allocations: 47.11 kB / 0.6376 GB, free: 28.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/1.706, allocations: 319.7 kB / 0.6379 GB, free: 27.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/1.707, allocations: 266.4 kB / 0.6381 GB, free: 27.67 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 41 (Service_Sector_Investment1.Service_Capital.Integrator1.local_reset,NR_Resource_Utilization1.Res_Tech_NRTD.Integrator1.local_reset,NR_Resource_Utilization1.P_Nr_Res_Use_Fact_2.Smooth3.Integrator1.local_reset,NR_Resource_Utilization1.P_Nr_Res_Use_Fact_2.Smooth2.Integrator1.local_reset,NR_Resource_Utilization1.P_Nr_Res_Use_Fact_2.Smooth1.Integrator1.local_reset,NR_Resource_Utilization1.NR_Resources.Integrator1.local_reset,Life_Expectancy1.Eff_Hlth_Serv_PC.Smooth_of_Input.Integrator1.local_reset,Land_Fertility1.Yield_Tech_LYTD.Integrator1.local_reset,Land_Fertility1.Land_Fertility.Integrator1.local_reset,Labor_Utilization1.Labor_Util_Fr_Del.Integrator1.local_reset,Industrial_Investment1.Industrial_Capital.Integrator1.local_reset,Human_Fertility1.Fert_Cont_Facil_PC.Smooth3.Integrator1.local_reset,Human_Fertility1.Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Human_Fertility1.Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Human_Fertility1.Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Human_Fertility1.Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Human_Fertility1.Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Human_Fertility1.Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Human_Fertility1.Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Human_Fertility1.Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Human_Fertility1.Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.local_reset,Food_Production1.P_Land_Yield_Fact_2.Smooth3.Integrator1.local_reset,Food_Production1.P_Land_Yield_Fact_2.Smooth2.Integrator1.local_reset,Food_Production1.P_Land_Yield_Fact_2.Smooth1.Integrator1.local_reset,Food_Production1.Perc_Food_Ratio.Integrator1.local_reset,Food_Production1.Agr_Inp.Integrator1.local_reset,Arable_Land_Dynamics1.Urban_Ind_Land.Integrator1.local_reset,Arable_Land_Dynamics1.Pot_Arable_Land.Integrator1.local_reset,Arable_Land_Dynamics1.Arable_Land.Integrator1.local_reset,Pollution_Dynamics1.P_PPoll_Gen_Fact_2.Smooth3.Integrator1.local_reset,Pollution_Dynamics1.P_PPoll_Gen_Fact_2.Smooth2.Integrator1.local_reset,Pollution_Dynamics1.P_PPoll_Gen_Fact_2.Smooth1.Integrator1.local_reset,Pollution_Dynamics1.PPoll_Tech_PTD.Integrator1.local_reset,Pollution_Dynamics1.PPoll_Appear_Rate.Smooth3.Integrator1.local_reset,Pollution_Dynamics1.PPoll_Appear_Rate.Smooth2.Integrator1.local_reset,Pollution_Dynamics1.PPoll_Appear_Rate.Smooth1.Integrator1.local_reset,Pollution_Dynamics1.Pers_Pollution.Integrator1.local_reset,Population_Dynamics1.Pop_65plus.Integrator1.local_reset,Population_Dynamics1.Pop_45_64.Integrator1.local_reset,Population_Dynamics1.Pop_15_44.Integrator1.local_reset,Population_Dynamics1.Pop_0_14.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 388 * 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.001271/1.709, allocations: 330.3 kB / 0.6385 GB, free: 27.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/1.711, allocations: 0.5823 MB / 0.639 GB, free: 26.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01815/1.729, allocations: 6.003 MB / 0.6449 GB, free: 21.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/1.729, allocations: 24 kB / 0.6449 GB, free: 21.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.729, allocations: 3.953 kB / 0.6449 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-05/1.729, allocations: 10.83 kB / 0.6449 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02893/1.758, allocations: 11.27 MB / 0.6559 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.758, allocations: 2.516 kB / 0.6559 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006711/1.765, allocations: 0.6957 MB / 0.6566 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-05/1.765, allocations: 8 kB / 0.6566 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009335/1.766, allocations: 110.4 kB / 0.6567 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/1.766, allocations: 8 kB / 0.6567 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/1.766, allocations: 0 / 0.6567 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/1.786, allocations: 8.604 MB / 0.6651 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004255/1.79, allocations: 1.209 MB / 0.6663 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/1.792, allocations: 67.7 kB / 0.6664 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004714/1.797, allocations: 278.7 kB / 0.6667 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/1.798, allocations: 208.5 kB / 0.6669 GB, free: 2.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007251/1.799, allocations: 218.8 kB / 0.6671 GB, free: 2.625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01115/1.81, allocations: 3.686 MB / 0.6707 GB, free: 15.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.81, allocations: 2.812 kB / 0.6707 GB, free: 15.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01001/1.82, allocations: 2.293 MB / 0.6729 GB, free: 13.26 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Population_Dynamics1.Pop_0_14.Integrator1.y,Population_Dynamics1.Pop_15_44.Integrator1.y,Population_Dynamics1.Pop_45_64.Integrator1.y,Population_Dynamics1.Pop_65plus.Integrator1.y,Pollution_Dynamics1.Pers_Pollution.Integrator1.y,Pollution_Dynamics1.PPoll_Appear_Rate.Smooth1.Integrator1.y,Pollution_Dynamics1.PPoll_Appear_Rate.Smooth2.Integrator1.y,Pollution_Dynamics1.PPoll_Appear_Rate.Smooth3.Integrator1.y,Pollution_Dynamics1.PPoll_Tech_PTD.Integrator1.y,Pollution_Dynamics1.P_PPoll_Gen_Fact_2.Smooth1.Integrator1.y,Pollution_Dynamics1.P_PPoll_Gen_Fact_2.Smooth2.Integrator1.y,Pollution_Dynamics1.P_PPoll_Gen_Fact_2.Smooth3.Integrator1.y,Arable_Land_Dynamics1.Arable_Land.Integrator1.y,Arable_Land_Dynamics1.Pot_Arable_Land.Integrator1.y,Arable_Land_Dynamics1.Urban_Ind_Land.Integrator1.y,Food_Production1.Agr_Inp.Integrator1.y,Food_Production1.Perc_Food_Ratio.Integrator1.y,Food_Production1.P_Land_Yield_Fact_2.Smooth1.Integrator1.y,Food_Production1.P_Land_Yield_Fact_2.Smooth2.Integrator1.y,Food_Production1.P_Land_Yield_Fact_2.Smooth3.Integrator1.y,Human_Fertility1.Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.y,Human_Fertility1.Del_Ind_Out_PC.Smooth1.Integrator1.y,Human_Fertility1.Del_Ind_Out_PC.Smooth2.Integrator1.y,Human_Fertility1.Del_Ind_Out_PC.Smooth3.Integrator1.y,Human_Fertility1.Perc_Life_Expectancy.Smooth1.Integrator1.y,Human_Fertility1.Perc_Life_Expectancy.Smooth2.Integrator1.y,Human_Fertility1.Perc_Life_Expectancy.Smooth3.Integrator1.y,Human_Fertility1.Fert_Cont_Facil_PC.Smooth1.Integrator1.y,Human_Fertility1.Fert_Cont_Facil_PC.Smooth2.Integrator1.y,Human_Fertility1.Fert_Cont_Facil_PC.Smooth3.Integrator1.y,Industrial_Investment1.Industrial_Capital.Integrator1.y,Labor_Utilization1.Labor_Util_Fr_Del.Integrator1.y,Land_Fertility1.Land_Fertility.Integrator1.y,Land_Fertility1.Yield_Tech_LYTD.Integrator1.y,Life_Expectancy1.Eff_Hlth_Serv_PC.Smooth_of_Input.Integrator1.y,NR_Resource_Utilization1.NR_Resources.Integrator1.y,NR_Resource_Utilization1.P_Nr_Res_Use_Fact_2.Smooth1.Integrator1.y,NR_Resource_Utilization1.P_Nr_Res_Use_Fact_2.Smooth2.Integrator1.y,NR_Resource_Utilization1.P_Nr_Res_Use_Fact_2.Smooth3.Integrator1.y,NR_Resource_Utilization1.Res_Tech_NRTD.Integrator1.y,Service_Sector_Investment1.Service_Capital.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (268): * Single equations (assignments): 268 * 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.01782/1.838, allocations: 7.96 MB / 0.6807 GB, free: 5.676 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01861/1.857, allocations: 6.756 MB / 0.6873 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.857, allocations: 1.75 kB / 0.6873 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005277/1.862, allocations: 2.037 MB / 0.6893 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/1.868, allocations: 0.586 MB / 0.6898 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04216/1.91, allocations: 12.62 MB / 0.7022 GB, free: 2.105 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3964/2.307, allocations: 4.082 MB / 0.7061 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01431/2.321, allocations: 1.046 MB / 0.7072 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01086/2.332, allocations: 3.431 MB / 0.7105 GB, free: 100.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.084e-06/2.332, allocations: 3.219 kB / 0.7105 GB, free: 100.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2847/2.617, allocations: 107.8 MB / 0.8158 GB, free: 55.11 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/2.617, allocations: 146.8 kB / 0.8159 GB, free: 54.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/11.01, allocations: 4 kB / 0.8159 GB, free: 54.88 MB / 490.7 MB