Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Scenario_6,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Scenario_6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.432/2.432, allocations: 234.6 MB / 246.8 MB, free: 14.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.346e-05, allocations: 0 / 304.4 MB, free: 4.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3915, allocations: 54.63 MB / 359 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.5623, allocations: 91.26 MB / 450.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5627, allocations: 71.97 kB / 450.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7852/1.348, allocations: 95.69 MB / 0.5333 GB, free: 79.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.083e-06/1.348, allocations: 0 / 0.5333 GB, free: 79.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001162/1.349, allocations: 196.5 kB / 0.5335 GB, free: 79.16 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.02217/1.371, allocations: 6.299 MB / 0.5396 GB, free: 76.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.371, allocations: 10.56 kB / 0.5396 GB, free: 76.31 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004326/1.376, allocations: 0.9044 MB / 0.5405 GB, free: 76.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/1.381, allocations: 0.9986 MB / 0.5415 GB, free: 75.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/1.396, allocations: 4.374 MB / 0.5457 GB, free: 74.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009947/1.397, allocations: 0.5272 MB / 0.5463 GB, free: 74.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002823/1.4, allocations: 0.6593 MB / 0.5469 GB, free: 74.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/1.426, allocations: 7.449 MB / 0.5542 GB, free: 73.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002777/1.427, allocations: 13.88 kB / 0.5542 GB, free: 73.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/1.429, allocations: 282.5 kB / 0.5545 GB, free: 73.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/1.429, allocations: 167.6 kB / 0.5546 GB, free: 73.47 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/1.449, allocations: 6.156 MB / 0.5606 GB, free: 73.44 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06193/1.511, allocations: 25.69 MB / 0.5857 GB, free: 61.42 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.523, allocations: 4.838 MB / 0.5904 GB, free: 59.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005534/1.529, allocations: 2.183 MB / 0.5926 GB, free: 58.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004425/1.529, allocations: 84.8 kB / 0.5927 GB, free: 58.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/1.529, allocations: 70.53 kB / 0.5927 GB, free: 58.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 5.801e-06/1.529, allocations: 0 / 0.5927 GB, free: 58.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.01454/1.544, allocations: 5.028 MB / 0.5976 GB, free: 56.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/1.544, allocations: 0.5849 MB / 0.5982 GB, free: 55.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.556, allocations: 4.617 MB / 0.6027 GB, free: 54.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.558, allocations: 78.98 kB / 0.6028 GB, free: 54.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004509/1.562, allocations: 3.99 MB / 0.6067 GB, free: 51.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001948/1.564, allocations: 0.9233 MB / 0.6076 GB, free: 50.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006555/1.565, allocations: 59.72 kB / 0.6076 GB, free: 50.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/1.565, allocations: 428.4 kB / 0.6081 GB, free: 50.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005706/1.571, allocations: 2.164 MB / 0.6102 GB, free: 49.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006712/1.578, allocations: 2.961 MB / 0.6131 GB, free: 47.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006392/1.584, allocations: 2.372 MB / 0.6154 GB, free: 46.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/1.584, allocations: 7.281 kB / 0.6154 GB, free: 46.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.01626/1.6, allocations: 5.771 MB / 0.621 GB, free: 44.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001741/1.602, allocations: 9.405 MB / 0.6302 GB, free: 34.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-05/1.602, allocations: 16.94 kB / 0.6302 GB, free: 34.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.232e-05/1.602, allocations: 37.5 kB / 0.6303 GB, free: 34.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006803/1.609, allocations: 0.8448 MB / 0.6311 GB, free: 33.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.242e-05/1.609, allocations: 43.62 kB / 0.6311 GB, free: 33.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005483/1.615, allocations: 462 kB / 0.6316 GB, free: 33.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.616, allocations: 276.7 kB / 0.6318 GB, free: 33.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.616, allocations: 4 kB / 0.6318 GB, free: 33.21 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0132/1.629, allocations: 5.091 MB / 0.6368 GB, free: 28.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/1.629, allocations: 16 kB / 0.6368 GB, free: 28.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.347e-05/1.63, allocations: 36 kB / 0.6369 GB, free: 28.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005752/1.635, allocations: 0.7123 MB / 0.6375 GB, free: 28.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.63e-05/1.635, allocations: 50.77 kB / 0.6376 GB, free: 28.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.64, allocations: 318 kB / 0.6379 GB, free: 27.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.642, allocations: 270.3 kB / 0.6382 GB, free: 27.51 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.001444/1.643, allocations: 327.7 kB / 0.6385 GB, free: 27.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/1.645, allocations: 0.5823 MB / 0.639 GB, free: 26.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01978/1.665, allocations: 6.002 MB / 0.6449 GB, free: 21.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/1.665, allocations: 27.94 kB / 0.6449 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.665, allocations: 7.953 kB / 0.6449 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-05/1.665, allocations: 10.69 kB / 0.6449 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03278/1.698, allocations: 11.27 MB / 0.656 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.698, allocations: 2.516 kB / 0.656 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006746/1.705, allocations: 0.6998 MB / 0.6566 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-05/1.705, allocations: 8 kB / 0.6566 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001119/1.706, allocations: 106.1 kB / 0.6567 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.653e-05/1.706, allocations: 8 kB / 0.6568 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.706, allocations: 6.281 kB / 0.6568 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02134/1.727, allocations: 8.596 MB / 0.6652 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004255/1.732, allocations: 1.207 MB / 0.6663 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/1.733, allocations: 67.95 kB / 0.6664 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004377/1.738, allocations: 279.5 kB / 0.6667 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009866/1.739, allocations: 205 kB / 0.6669 GB, free: 2.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005909/1.74, allocations: 220.9 kB / 0.6671 GB, free: 2.461 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00945/1.749, allocations: 3.61 MB / 0.6706 GB, free: 15.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.749, allocations: 0 / 0.6706 GB, free: 15.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01023/1.759, allocations: 2.297 MB / 0.6728 GB, free: 12.94 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.01797/1.777, allocations: 7.952 MB / 0.6806 GB, free: 5.363 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02062/1.798, allocations: 6.893 MB / 0.6873 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.798, allocations: 1.5 kB / 0.6873 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005059/1.803, allocations: 2.039 MB / 0.6893 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/1.809, allocations: 0.5852 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.04079/1.849, allocations: 12.62 MB / 0.7022 GB, free: 2.102 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3458/2.195, allocations: 4.09 MB / 0.7062 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009541/2.205, allocations: 1.052 MB / 0.7072 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007325/2.212, allocations: 3.43 MB / 0.7106 GB, free: 100.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.673e-06/2.212, allocations: 0 / 0.7106 GB, free: 100.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.306/2.518, allocations: 107.8 MB / 0.8159 GB, free: 55.16 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/2.519, allocations: 145.6 kB / 0.816 GB, free: 54.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/10.99, allocations: 0 / 0.816 GB, free: 54.94 MB / 490.7 MB