Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Scenario_3,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Scenario_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.461/2.461, allocations: 234.6 MB / 246.8 MB, free: 14.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.165e-05/5.192e-05, allocations: 4 kB / 304.4 MB, free: 4.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4655, allocations: 54.63 MB / 359 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.6444, allocations: 91.27 MB / 450.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/0.6449, allocations: 72.69 kB / 450.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8245/1.469, allocations: 95.68 MB / 0.5333 GB, free: 79.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.469, allocations: 4 kB / 0.5333 GB, free: 79.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00123/1.471, allocations: 196.9 kB / 0.5335 GB, free: 79.11 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.02305/1.494, allocations: 6.295 MB / 0.5396 GB, free: 76.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.494, allocations: 10.59 kB / 0.5396 GB, free: 76.27 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004438/1.498, allocations: 0.9076 MB / 0.5405 GB, free: 76.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/1.503, allocations: 0.9994 MB / 0.5415 GB, free: 75.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/1.519, allocations: 4.376 MB / 0.5457 GB, free: 74.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009904/1.52, allocations: 0.5297 MB / 0.5463 GB, free: 74.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00303/1.523, allocations: 0.6546 MB / 0.5469 GB, free: 74.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02842/1.552, allocations: 7.45 MB / 0.5542 GB, free: 73.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003586/1.552, allocations: 17.5 kB / 0.5542 GB, free: 73.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002385/1.554, allocations: 279.5 kB / 0.5545 GB, free: 73.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/1.555, allocations: 164.9 kB / 0.5546 GB, free: 73.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/1.575, allocations: 6.152 MB / 0.5606 GB, free: 73.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0657/1.641, allocations: 25.7 MB / 0.5857 GB, free: 61.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/1.654, allocations: 4.837 MB / 0.5904 GB, free: 59.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005899/1.66, allocations: 2.183 MB / 0.5926 GB, free: 58.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004349/1.66, allocations: 83.22 kB / 0.5927 GB, free: 58.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.255e-05/1.66, allocations: 59.09 kB / 0.5927 GB, free: 58.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 6.081e-06/1.66, allocations: 3.281 kB / 0.5927 GB, free: 58.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.01542/1.676, allocations: 5.031 MB / 0.5976 GB, free: 56.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/1.676, allocations: 0.5825 MB / 0.5982 GB, free: 55.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/1.689, allocations: 4.616 MB / 0.6027 GB, free: 54.28 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001191/1.691, allocations: 77.11 kB / 0.6028 GB, free: 54.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004732/1.695, allocations: 3.994 MB / 0.6067 GB, free: 51.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002074/1.697, allocations: 0.9248 MB / 0.6076 GB, free: 50.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007561/1.698, allocations: 63.78 kB / 0.6076 GB, free: 50.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002699/1.699, allocations: 428.2 kB / 0.6081 GB, free: 50.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005937/1.704, allocations: 2.155 MB / 0.6102 GB, free: 49.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00701/1.712, allocations: 2.96 MB / 0.6131 GB, free: 47.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006689/1.718, allocations: 2.38 MB / 0.6154 GB, free: 46.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/1.718, allocations: 3.219 kB / 0.6154 GB, free: 46.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.01816/1.737, allocations: 5.765 MB / 0.621 GB, free: 44.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001826/1.738, allocations: 9.403 MB / 0.6302 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.655e-05/1.739, allocations: 19.91 kB / 0.6302 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.313e-05/1.739, allocations: 35.44 kB / 0.6302 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00704/1.746, allocations: 0.8416 MB / 0.6311 GB, free: 33.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.721e-05/1.746, allocations: 46.48 kB / 0.6311 GB, free: 33.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005687/1.752, allocations: 468.3 kB / 0.6316 GB, free: 33.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/1.753, allocations: 269.9 kB / 0.6318 GB, free: 33.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.753, allocations: 4 kB / 0.6318 GB, free: 33.18 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01492/1.768, allocations: 5.09 MB / 0.6368 GB, free: 28.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/1.768, allocations: 21 kB / 0.6368 GB, free: 28.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.316e-05/1.768, allocations: 36 kB / 0.6368 GB, free: 28.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/1.774, allocations: 0.7162 MB / 0.6375 GB, free: 28.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.009e-05/1.774, allocations: 43.2 kB / 0.6376 GB, free: 28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/1.779, allocations: 325.5 kB / 0.6379 GB, free: 27.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/1.78, allocations: 264.9 kB / 0.6381 GB, free: 27.47 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.001729/1.782, allocations: 333.2 kB / 0.6385 GB, free: 27.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/1.784, allocations: 0.5823 MB / 0.639 GB, free: 26.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01994/1.804, allocations: 6.001 MB / 0.6449 GB, free: 21.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/1.804, allocations: 24 kB / 0.6449 GB, free: 21.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.804, allocations: 3.953 kB / 0.6449 GB, free: 21.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/1.805, allocations: 17.55 kB / 0.6449 GB, free: 21.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03368/1.838, allocations: 11.28 MB / 0.656 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.838, allocations: 0 / 0.656 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006921/1.845, allocations: 0.6956 MB / 0.6566 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.808e-05/1.845, allocations: 13.14 kB / 0.6566 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001071/1.846, allocations: 106.3 kB / 0.6567 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.402e-05/1.846, allocations: 8 kB / 0.6568 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.846, allocations: 0 / 0.6568 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02255/1.869, allocations: 8.605 MB / 0.6652 GB, free: 4.125 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004445/1.874, allocations: 1.209 MB / 0.6663 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002335/1.876, allocations: 63.95 kB / 0.6664 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005225/1.881, allocations: 275.8 kB / 0.6667 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/1.883, allocations: 208.5 kB / 0.6669 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001078/1.884, allocations: 227 kB / 0.6671 GB, free: 2.414 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01019/1.894, allocations: 3.603 MB / 0.6706 GB, free: 15.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.894, allocations: 0 / 0.6706 GB, free: 15.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01051/1.905, allocations: 2.301 MB / 0.6728 GB, free: 12.89 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.01868/1.923, allocations: 7.949 MB / 0.6806 GB, free: 5.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02175/1.945, allocations: 6.911 MB / 0.6874 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.945, allocations: 1.062 kB / 0.6874 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005068/1.95, allocations: 2.038 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.005738/1.956, allocations: 0.5858 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.04355/2, allocations: 12.62 MB / 0.7022 GB, free: 2.109 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3531/2.353, allocations: 4.101 MB / 0.7062 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01033/2.363, allocations: 1.042 MB / 0.7073 GB, free: 100 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007704/2.371, allocations: 3.434 MB / 0.7106 GB, free: 100 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/2.371, allocations: 0.9062 kB / 0.7106 GB, free: 100 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/2.631, allocations: 107.8 MB / 0.8159 GB, free: 55.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/2.631, allocations: 148.5 kB / 0.816 GB, free: 54.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/10.9, allocations: 0 / 0.816 GB, free: 54.93 MB / 490.7 MB