Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Scenario_5,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Scenario_5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.662/2.662, allocations: 234.6 MB / 246.8 MB, free: 14.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.782e-05/4.792e-05, allocations: 8 kB / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4134, allocations: 54.62 MB / 359 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.5842, allocations: 91.27 MB / 450.3 MB, free: 5.586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.5845, allocations: 75.95 kB / 450.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.731/1.316, allocations: 95.69 MB / 0.5333 GB, free: 79.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.316, allocations: 0 / 0.5333 GB, free: 79.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001093/1.317, allocations: 199.7 kB / 0.5335 GB, free: 79.14 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.02181/1.339, allocations: 6.299 MB / 0.5396 GB, free: 76.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.339, allocations: 10.22 kB / 0.5396 GB, free: 76.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004174/1.343, allocations: 0.9077 MB / 0.5405 GB, free: 76.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/1.348, allocations: 0.9982 MB / 0.5415 GB, free: 75.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/1.362, allocations: 4.378 MB / 0.5458 GB, free: 74.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008942/1.363, allocations: 0.5271 MB / 0.5463 GB, free: 74.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/1.365, allocations: 0.6567 MB / 0.5469 GB, free: 74.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/1.391, allocations: 7.453 MB / 0.5542 GB, free: 73.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002778/1.392, allocations: 12.25 kB / 0.5542 GB, free: 73.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/1.394, allocations: 276.9 kB / 0.5545 GB, free: 73.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/1.394, allocations: 165.2 kB / 0.5546 GB, free: 73.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/1.413, allocations: 6.159 MB / 0.5606 GB, free: 73.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05983/1.473, allocations: 25.69 MB / 0.5857 GB, free: 61.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/1.485, allocations: 4.828 MB / 0.5904 GB, free: 59.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005565/1.491, allocations: 2.18 MB / 0.5926 GB, free: 58.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004683/1.492, allocations: 81.83 kB / 0.5927 GB, free: 58.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.433e-05/1.492, allocations: 68.44 kB / 0.5927 GB, free: 58.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 7.163e-06/1.492, allocations: 7.406 kB / 0.5927 GB, free: 58.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.01408/1.506, allocations: 5.028 MB / 0.5976 GB, free: 56.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/1.506, allocations: 0.5854 MB / 0.5982 GB, free: 55.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/1.519, allocations: 4.62 MB / 0.6027 GB, free: 54.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001254/1.52, allocations: 76.23 kB / 0.6028 GB, free: 54.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004727/1.525, allocations: 3.994 MB / 0.6067 GB, free: 51.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002122/1.527, allocations: 0.9249 MB / 0.6076 GB, free: 50.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.528, allocations: 65.5 kB / 0.6077 GB, free: 50.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003372/1.529, allocations: 421 kB / 0.6081 GB, free: 50.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006067/1.535, allocations: 2.16 MB / 0.6102 GB, free: 49.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006808/1.542, allocations: 2.959 MB / 0.6131 GB, free: 47.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006403/1.548, allocations: 2.375 MB / 0.6154 GB, free: 46.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/1.548, allocations: 3.594 kB / 0.6154 GB, free: 46.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.01626/1.564, allocations: 5.766 MB / 0.621 GB, free: 44.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001753/1.566, allocations: 9.404 MB / 0.6302 GB, free: 34.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.342e-05/1.566, allocations: 23.03 kB / 0.6302 GB, free: 34.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.75e-05/1.566, allocations: 37.31 kB / 0.6303 GB, free: 34.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006912/1.573, allocations: 0.8389 MB / 0.6311 GB, free: 33.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.292e-05/1.573, allocations: 51.27 kB / 0.6311 GB, free: 33.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005548/1.579, allocations: 462.2 kB / 0.6316 GB, free: 33.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.58, allocations: 280.9 kB / 0.6318 GB, free: 33.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.58, allocations: 4 kB / 0.6318 GB, free: 33.17 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01307/1.594, allocations: 5.09 MB / 0.6368 GB, free: 28.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/1.594, allocations: 16 kB / 0.6368 GB, free: 28.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.275e-05/1.594, allocations: 36 kB / 0.6369 GB, free: 28.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005714/1.599, allocations: 0.7118 MB / 0.6375 GB, free: 28.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-05/1.6, allocations: 47.72 kB / 0.6376 GB, free: 28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004718/1.604, allocations: 321.6 kB / 0.6379 GB, free: 27.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.606, allocations: 266.2 kB / 0.6382 GB, free: 27.46 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.001678/1.607, allocations: 321.4 kB / 0.6385 GB, free: 27.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/1.609, allocations: 0.5818 MB / 0.639 GB, free: 26.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01991/1.629, allocations: 6.008 MB / 0.6449 GB, free: 21.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.629, allocations: 24 kB / 0.6449 GB, free: 21.42 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.629, allocations: 3.953 kB / 0.6449 GB, free: 21.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.154e-05/1.63, allocations: 18.95 kB / 0.6449 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03102/1.661, allocations: 11.27 MB / 0.6559 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.661, allocations: 0 / 0.6559 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006723/1.667, allocations: 0.7005 MB / 0.6566 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-05/1.667, allocations: 10.52 kB / 0.6566 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/1.669, allocations: 107.3 kB / 0.6567 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/1.669, allocations: 9.875 kB / 0.6568 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.669, allocations: 3.938 kB / 0.6568 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/1.69, allocations: 8.596 MB / 0.6651 GB, free: 4.129 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004231/1.694, allocations: 1.215 MB / 0.6663 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001829/1.696, allocations: 59.95 kB / 0.6664 GB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004863/1.701, allocations: 283.6 kB / 0.6667 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/1.703, allocations: 202.4 kB / 0.6669 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000731/1.703, allocations: 221.6 kB / 0.6671 GB, free: 2.418 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009543/1.713, allocations: 3.61 MB / 0.6706 GB, free: 15.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.713, allocations: 0 / 0.6706 GB, free: 15.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009731/1.723, allocations: 2.297 MB / 0.6728 GB, free: 12.9 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.01776/1.74, allocations: 7.949 MB / 0.6806 GB, free: 5.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02071/1.761, allocations: 6.915 MB / 0.6874 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.761, allocations: 1.625 kB / 0.6874 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004818/1.766, allocations: 2.041 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.00558/1.772, allocations: 0.5797 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.04158/1.813, 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.3412/2.155, allocations: 4.037 MB / 0.7062 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00978/2.164, allocations: 1.048 MB / 0.7072 GB, free: 100 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007458/2.172, allocations: 3.432 MB / 0.7106 GB, free: 100 MB / 490.7 MB Notification: Performance of SimCode: time 1.893e-06/2.172, allocations: 0 / 0.7106 GB, free: 100 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2502/2.422, allocations: 107.8 MB / 0.8158 GB, free: 55.09 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/2.422, allocations: 142.8 kB / 0.816 GB, free: 54.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/10.7, allocations: 3.938 kB / 0.816 GB, free: 54.87 MB / 490.7 MB