Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Scenario_8,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Scenario_8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.311/2.311, allocations: 234.6 MB / 246.8 MB, free: 14.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.698e-05, allocations: 4 kB / 304.4 MB, free: 4.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3835, allocations: 54.63 MB / 359 MB, free: 2.816 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.5512, allocations: 91.27 MB / 450.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.5516, allocations: 75.95 kB / 450.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7555/1.307, allocations: 95.69 MB / 0.5333 GB, free: 79.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.307, allocations: 0 / 0.5333 GB, free: 79.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001181/1.308, allocations: 193.4 kB / 0.5335 GB, free: 79.25 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.02295/1.331, allocations: 6.295 MB / 0.5396 GB, free: 76.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.331, allocations: 13.88 kB / 0.5396 GB, free: 76.41 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004364/1.336, allocations: 0.9056 MB / 0.5405 GB, free: 76.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/1.341, allocations: 0.9991 MB / 0.5415 GB, free: 75.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/1.356, allocations: 4.378 MB / 0.5458 GB, free: 74.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009413/1.357, allocations: 0.5286 MB / 0.5463 GB, free: 74.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002782/1.36, allocations: 0.6535 MB / 0.5469 GB, free: 74.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02643/1.386, allocations: 7.452 MB / 0.5542 GB, free: 73.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002804/1.386, allocations: 14.78 kB / 0.5542 GB, free: 73.56 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001974/1.388, allocations: 278.4 kB / 0.5545 GB, free: 73.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/1.388, allocations: 169.3 kB / 0.5546 GB, free: 73.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/1.408, allocations: 6.154 MB / 0.5606 GB, free: 73.53 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06341/1.472, allocations: 25.69 MB / 0.5857 GB, free: 61.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.484, allocations: 4.839 MB / 0.5905 GB, free: 59.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005527/1.49, allocations: 2.183 MB / 0.5926 GB, free: 58.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/1.49, allocations: 81.34 kB / 0.5927 GB, free: 58.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.545e-05/1.49, allocations: 72.47 kB / 0.5927 GB, free: 58.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 6.211e-06/1.49, allocations: 0 / 0.5927 GB, free: 58.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.01501/1.505, allocations: 5.025 MB / 0.5976 GB, free: 56.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/1.505, allocations: 0.5847 MB / 0.5982 GB, free: 56.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/1.518, allocations: 4.622 MB / 0.6027 GB, free: 54.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.52, allocations: 72.52 kB / 0.6028 GB, free: 54.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004559/1.524, allocations: 3.996 MB / 0.6067 GB, free: 51.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002034/1.526, allocations: 0.917 MB / 0.6076 GB, free: 50.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/1.527, allocations: 62.59 kB / 0.6077 GB, free: 50.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/1.527, allocations: 429.5 kB / 0.6081 GB, free: 50.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005672/1.533, allocations: 2.163 MB / 0.6102 GB, free: 49.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006813/1.54, allocations: 2.954 MB / 0.6131 GB, free: 47.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006499/1.546, allocations: 2.379 MB / 0.6154 GB, free: 46.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/1.546, allocations: 6.656 kB / 0.6154 GB, free: 46.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.01701/1.563, allocations: 5.766 MB / 0.621 GB, free: 44.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001756/1.565, allocations: 9.403 MB / 0.6302 GB, free: 34.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/1.565, allocations: 16.19 kB / 0.6302 GB, free: 34.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.225e-05/1.565, allocations: 36.69 kB / 0.6303 GB, free: 34.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006984/1.572, allocations: 0.8468 MB / 0.6311 GB, free: 33.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.189e-05/1.573, allocations: 47.34 kB / 0.6311 GB, free: 33.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/1.578, allocations: 464.4 kB / 0.6316 GB, free: 33.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.58, allocations: 269.3 kB / 0.6318 GB, free: 33.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.58, allocations: 4 kB / 0.6318 GB, free: 33.28 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01436/1.594, allocations: 5.086 MB / 0.6368 GB, free: 28.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/1.594, allocations: 20 kB / 0.6368 GB, free: 28.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.755e-05/1.594, allocations: 36 kB / 0.6368 GB, free: 28.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/1.6, allocations: 0.718 MB / 0.6375 GB, free: 28.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.811e-05/1.6, allocations: 47.72 kB / 0.6376 GB, free: 28.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/1.605, allocations: 318.1 kB / 0.6379 GB, free: 27.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.606, allocations: 269.8 kB / 0.6382 GB, free: 27.57 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.00166/1.608, allocations: 330 kB / 0.6385 GB, free: 27.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/1.61, allocations: 0.5823 MB / 0.639 GB, free: 26.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.629, allocations: 6.003 MB / 0.6449 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/1.629, allocations: 24 kB / 0.6449 GB, free: 21.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.63, allocations: 3.953 kB / 0.6449 GB, free: 21.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.971e-05/1.63, allocations: 13.73 kB / 0.6449 GB, free: 21.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03097/1.661, allocations: 11.28 MB / 0.656 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.661, allocations: 6.031 kB / 0.656 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006862/1.668, allocations: 0.6946 MB / 0.6566 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.871e-05/1.668, allocations: 11.94 kB / 0.6566 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001032/1.669, allocations: 110.6 kB / 0.6568 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-05/1.669, allocations: 8 kB / 0.6568 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.669, allocations: 6.656 kB / 0.6568 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/1.691, allocations: 8.598 MB / 0.6652 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004176/1.695, allocations: 1.203 MB / 0.6663 GB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/1.697, allocations: 71.75 kB / 0.6664 GB, free: 3.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005079/1.702, allocations: 276.7 kB / 0.6667 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/1.703, allocations: 203.6 kB / 0.6669 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008536/1.704, allocations: 224.2 kB / 0.6671 GB, free: 2.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00934/1.714, allocations: 3.607 MB / 0.6706 GB, free: 15.31 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.714, allocations: 4 kB / 0.6706 GB, free: 15.31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009463/1.723, allocations: 2.297 MB / 0.6728 GB, free: 13 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.01819/1.741, allocations: 7.94 MB / 0.6806 GB, free: 5.422 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03116/1.773, allocations: 6.87 MB / 0.6873 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.773, allocations: 3.938 kB / 0.6873 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00797/1.781, allocations: 2.033 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.008191/1.789, allocations: 0.5888 MB / 0.6899 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0525/1.842, allocations: 12.63 MB / 0.7022 GB, free: 2.102 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3531/2.195, allocations: 4.091 MB / 0.7062 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01088/2.206, 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.007835/2.214, allocations: 3.435 MB / 0.7106 GB, free: 100.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.024e-06/2.214, allocations: 1.281 kB / 0.7106 GB, free: 100.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2624/2.476, allocations: 107.8 MB / 0.8159 GB, free: 55.14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/2.476, allocations: 148.5 kB / 0.816 GB, free: 54.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.039/11.52, allocations: 0 / 0.816 GB, free: 54.92 MB / 490.7 MB