Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Scenario_2,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Scenario_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.525/2.525, allocations: 234.6 MB / 246.8 MB, free: 14.07 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.288e-05/4.317e-05, allocations: 4 kB / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4026, allocations: 54.63 MB / 359 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.5723, allocations: 91.27 MB / 450.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.5726, allocations: 75.91 kB / 450.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7387/1.311, allocations: 95.68 MB / 0.5333 GB, free: 79.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.311, allocations: 0 / 0.5333 GB, free: 79.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001203/1.313, allocations: 200.3 kB / 0.5335 GB, free: 79.24 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.02439/1.337, allocations: 6.293 MB / 0.5396 GB, free: 76.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/1.337, allocations: 9 kB / 0.5396 GB, free: 76.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005178/1.342, allocations: 0.9142 MB / 0.5405 GB, free: 76.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004989/1.347, allocations: 0.9996 MB / 0.5415 GB, free: 75.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/1.363, allocations: 4.372 MB / 0.5458 GB, free: 74.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009619/1.364, allocations: 0.5278 MB / 0.5463 GB, free: 74.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/1.367, allocations: 0.659 MB / 0.5469 GB, free: 74.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02802/1.395, allocations: 7.45 MB / 0.5542 GB, free: 73.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/1.396, allocations: 16.94 kB / 0.5542 GB, free: 73.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002209/1.398, allocations: 277.6 kB / 0.5545 GB, free: 73.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/1.398, allocations: 167.7 kB / 0.5546 GB, free: 73.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0202/1.418, allocations: 6.157 MB / 0.5606 GB, free: 73.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07914/1.498, allocations: 25.69 MB / 0.5857 GB, free: 61.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.514, allocations: 4.833 MB / 0.5905 GB, free: 59.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007333/1.521, allocations: 2.18 MB / 0.5926 GB, free: 58.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/1.522, allocations: 82.94 kB / 0.5927 GB, free: 58.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.37e-05/1.522, allocations: 66.44 kB / 0.5927 GB, free: 58.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 9.027e-06/1.522, allocations: 1.219 kB / 0.5927 GB, free: 58.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.03437/1.556, allocations: 5.032 MB / 0.5976 GB, free: 56.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002447/1.556, allocations: 0.5827 MB / 0.5982 GB, free: 56.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01882/1.575, allocations: 4.618 MB / 0.6027 GB, free: 54.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001591/1.577, allocations: 78.55 kB / 0.6028 GB, free: 54.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006716/1.584, allocations: 3.991 MB / 0.6067 GB, free: 51.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002922/1.587, allocations: 0.9201 MB / 0.6076 GB, free: 50.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/1.588, allocations: 67.56 kB / 0.6077 GB, free: 50.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003689/1.588, allocations: 427.1 kB / 0.6081 GB, free: 50.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008992/1.597, allocations: 2.16 MB / 0.6102 GB, free: 49.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/1.608, allocations: 2.951 MB / 0.6131 GB, free: 47.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009608/1.617, allocations: 2.373 MB / 0.6154 GB, free: 46.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/1.618, allocations: 11.44 kB / 0.6154 GB, free: 46.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.02594/1.644, allocations: 5.768 MB / 0.621 GB, free: 44.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002674/1.646, allocations: 9.399 MB / 0.6302 GB, free: 34.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/1.646, allocations: 20.81 kB / 0.6302 GB, free: 34.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/1.647, allocations: 34.84 kB / 0.6302 GB, free: 34.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007827/1.655, allocations: 0.8489 MB / 0.6311 GB, free: 34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.457e-05/1.655, allocations: 42.5 kB / 0.6311 GB, free: 33.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005662/1.66, allocations: 468.9 kB / 0.6316 GB, free: 33.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.662, allocations: 266.4 kB / 0.6318 GB, free: 33.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.662, allocations: 4 kB / 0.6318 GB, free: 33.31 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01412/1.676, allocations: 5.089 MB / 0.6368 GB, free: 28.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/1.676, allocations: 23.94 kB / 0.6368 GB, free: 28.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-05/1.676, allocations: 39.69 kB / 0.6369 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005731/1.682, allocations: 0.72 MB / 0.6376 GB, free: 28.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.591e-05/1.682, allocations: 43.34 kB / 0.6376 GB, free: 28.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.687, allocations: 318.4 kB / 0.6379 GB, free: 27.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.688, allocations: 269.7 kB / 0.6382 GB, free: 27.6 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.001387/1.69, allocations: 321.2 kB / 0.6385 GB, free: 27.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/1.692, allocations: 0.5823 MB / 0.639 GB, free: 26.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/1.709, allocations: 6.006 MB / 0.6449 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.709, allocations: 26.25 kB / 0.6449 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.709, allocations: 3.953 kB / 0.6449 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.264e-05/1.709, allocations: 14.02 kB / 0.6449 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0342/1.744, allocations: 11.28 MB / 0.656 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/1.744, allocations: 2.516 kB / 0.656 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006736/1.751, allocations: 0.6946 MB / 0.6566 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.633e-05/1.751, allocations: 8 kB / 0.6566 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/1.752, allocations: 110.2 kB / 0.6567 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-05/1.752, allocations: 11.7 kB / 0.6568 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.752, allocations: 0 / 0.6568 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02085/1.773, allocations: 8.601 MB / 0.6652 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004273/1.777, allocations: 1.206 MB / 0.6663 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/1.779, allocations: 63.95 kB / 0.6664 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004945/1.784, allocations: 280.8 kB / 0.6667 GB, free: 2.883 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/1.785, allocations: 203.5 kB / 0.6669 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006688/1.786, allocations: 221.3 kB / 0.6671 GB, free: 2.551 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01174/1.798, allocations: 3.722 MB / 0.6707 GB, free: 15.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.272e-06/1.798, allocations: 0 / 0.6707 GB, free: 15.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009845/1.808, allocations: 2.305 MB / 0.673 GB, free: 13.25 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.01946/1.827, allocations: 7.948 MB / 0.6807 GB, free: 5.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0191/1.846, allocations: 6.762 MB / 0.6873 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.846, allocations: 3 kB / 0.6873 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005151/1.851, 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.005703/1.857, allocations: 0.5839 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.04285/1.9, 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.3367/2.237, allocations: 4.104 MB / 0.7062 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009229/2.246, allocations: 1.053 MB / 0.7072 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007091/2.253, allocations: 3.431 MB / 0.7106 GB, free: 100.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.803e-06/2.253, allocations: 1.094 kB / 0.7106 GB, free: 100.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3153/2.569, allocations: 107.8 MB / 0.8159 GB, free: 55.13 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/2.569, allocations: 150.8 kB / 0.816 GB, free: 54.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/11.03, allocations: 0 / 0.816 GB, free: 54.91 MB / 490.7 MB