Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Scenario_7,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Scenario_7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.402/2.402, allocations: 234.6 MB / 246.8 MB, free: 14.06 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.863e-05/3.866e-05, allocations: 7.984 kB / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3842, allocations: 54.62 MB / 359 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.5534, allocations: 91.27 MB / 450.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5537, allocations: 75.95 kB / 450.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7005/1.254, allocations: 95.68 MB / 0.5333 GB, free: 79.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.254, allocations: 4 kB / 0.5333 GB, free: 79.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001138/1.255, allocations: 197.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.02155/1.277, allocations: 6.292 MB / 0.5396 GB, free: 76.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/1.277, allocations: 9.938 kB / 0.5396 GB, free: 76.33 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004244/1.281, allocations: 0.9093 MB / 0.5405 GB, free: 76.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/1.286, allocations: 0.9998 MB / 0.5415 GB, free: 75.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/1.3, allocations: 4.372 MB / 0.5457 GB, free: 74.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009091/1.301, allocations: 0.525 MB / 0.5463 GB, free: 74.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002587/1.304, allocations: 0.6613 MB / 0.5469 GB, free: 74.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/1.33, allocations: 7.448 MB / 0.5542 GB, free: 73.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/1.33, allocations: 16.47 kB / 0.5542 GB, free: 73.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001991/1.332, allocations: 279.3 kB / 0.5545 GB, free: 73.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/1.332, allocations: 167.1 kB / 0.5546 GB, free: 73.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/1.352, allocations: 6.155 MB / 0.5606 GB, free: 73.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06013/1.412, allocations: 25.7 MB / 0.5857 GB, free: 61.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/1.424, allocations: 4.829 MB / 0.5905 GB, free: 59.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005296/1.429, allocations: 2.184 MB / 0.5926 GB, free: 58.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/1.43, allocations: 81.03 kB / 0.5927 GB, free: 58.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/1.43, allocations: 67.03 kB / 0.5927 GB, free: 58.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 5.24e-06/1.43, allocations: 0 / 0.5927 GB, free: 58.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.01359/1.443, allocations: 5.032 MB / 0.5976 GB, free: 56.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/1.444, allocations: 0.5852 MB / 0.5982 GB, free: 55.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.455, allocations: 4.616 MB / 0.6027 GB, free: 54.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.456, allocations: 78.61 kB / 0.6028 GB, free: 54.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004233/1.461, allocations: 3.991 MB / 0.6067 GB, free: 51.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001968/1.463, allocations: 0.9254 MB / 0.6076 GB, free: 50.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/1.463, allocations: 66.59 kB / 0.6077 GB, free: 50.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/1.463, allocations: 421.5 kB / 0.6081 GB, free: 50.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005413/1.469, allocations: 2.164 MB / 0.6102 GB, free: 49.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006632/1.476, allocations: 2.957 MB / 0.6131 GB, free: 47.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/1.482, allocations: 2.373 MB / 0.6154 GB, free: 46.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/1.482, allocations: 7.594 kB / 0.6154 GB, free: 46.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.01572/1.497, allocations: 5.769 MB / 0.621 GB, free: 44.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001681/1.499, allocations: 9.402 MB / 0.6302 GB, free: 34.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.564e-05/1.499, allocations: 20.38 kB / 0.6302 GB, free: 34.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.224e-05/1.499, allocations: 35.81 kB / 0.6303 GB, free: 34.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006847/1.506, allocations: 0.8458 MB / 0.6311 GB, free: 33.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.037e-05/1.506, allocations: 47.19 kB / 0.6311 GB, free: 33.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005516/1.512, allocations: 461.7 kB / 0.6316 GB, free: 33.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.513, allocations: 273.7 kB / 0.6318 GB, free: 33.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.513, allocations: 4 kB / 0.6318 GB, free: 33.2 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01319/1.526, allocations: 5.091 MB / 0.6368 GB, free: 28.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/1.526, allocations: 16 kB / 0.6368 GB, free: 28.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.111e-05/1.526, allocations: 36.91 kB / 0.6369 GB, free: 28.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005661/1.532, allocations: 0.7148 MB / 0.6376 GB, free: 28.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.766e-05/1.532, allocations: 43.81 kB / 0.6376 GB, free: 28.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/1.537, allocations: 318 kB / 0.6379 GB, free: 27.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/1.538, allocations: 269.7 kB / 0.6382 GB, free: 27.5 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.002502/1.541, allocations: 332 kB / 0.6385 GB, free: 27.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002644/1.544, allocations: 0.5784 MB / 0.639 GB, free: 26.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/1.562, allocations: 6.004 MB / 0.6449 GB, free: 21.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.562, allocations: 24 kB / 0.6449 GB, free: 21.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.562, allocations: 7.953 kB / 0.6449 GB, free: 21.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.313e-05/1.562, allocations: 10.08 kB / 0.6449 GB, free: 21.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/1.591, allocations: 11.28 MB / 0.656 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.592, allocations: 0 / 0.656 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006592/1.598, allocations: 0.6994 MB / 0.6566 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.231e-05/1.598, allocations: 8 kB / 0.6566 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009242/1.599, allocations: 106 kB / 0.6567 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/1.599, allocations: 11.94 kB / 0.6568 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.599, allocations: 2.719 kB / 0.6568 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/1.62, allocations: 8.601 MB / 0.6652 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004236/1.624, allocations: 1.211 MB / 0.6663 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00224/1.626, allocations: 63.95 kB / 0.6664 GB, free: 3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004819/1.631, allocations: 283.2 kB / 0.6667 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/1.632, allocations: 203 kB / 0.6669 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005526/1.633, allocations: 230.3 kB / 0.6671 GB, free: 2.441 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009033/1.642, allocations: 3.602 MB / 0.6706 GB, free: 15.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.642, allocations: 0 / 0.6706 GB, free: 15.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008988/1.651, allocations: 2.297 MB / 0.6728 GB, free: 12.93 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.01646/1.667, allocations: 7.942 MB / 0.6806 GB, free: 5.352 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01983/1.687, allocations: 6.902 MB / 0.6873 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.687, allocations: 0 / 0.6873 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004672/1.692, allocations: 2.039 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.004574/1.697, allocations: 0.5827 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.03841/1.735, 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.3481/2.083, allocations: 4.076 MB / 0.7062 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009855/2.093, allocations: 1.05 MB / 0.7072 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007475/2.101, allocations: 3.432 MB / 0.7106 GB, free: 100.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.204e-06/2.101, allocations: 0 / 0.7106 GB, free: 100.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2494/2.35, 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.0002331/2.35, allocations: 145.6 kB / 0.816 GB, free: 54.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/10.97, allocations: 4.062 kB / 0.816 GB, free: 54.92 MB / 490.7 MB