Running command: translateModel(SystemDynamics.WorldDynamics.World3.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Scenario_4") Notification: Performance of loadModel(SystemDynamics): time 2.267/2.267, allocations: 234.6 MB / 246.8 MB, free: 14.27 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.199e-05, allocations: 7.984 kB / 304.3 MB, free: 5.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3866, allocations: 54.63 MB / 358.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.5278, allocations: 91.27 MB / 450.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.5281, allocations: 71.97 kB / 450.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6893/1.217, allocations: 95.69 MB / 0.5332 GB, free: 79.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.217, allocations: 0 / 0.5332 GB, free: 79.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009986/1.218, allocations: 193.4 kB / 0.5334 GB, free: 79.19 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.0176/1.236, allocations: 6.288 MB / 0.5395 GB, free: 76.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.236, allocations: 9 kB / 0.5395 GB, free: 76.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/1.24, allocations: 0.9886 MB / 0.5405 GB, free: 75.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/1.252, allocations: 4.373 MB / 0.5447 GB, free: 74.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007501/1.253, allocations: 0.5263 MB / 0.5453 GB, free: 74.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/1.255, allocations: 0.6538 MB / 0.5459 GB, free: 74.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02253/1.278, allocations: 7.406 MB / 0.5531 GB, free: 73.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/1.278, allocations: 13.75 kB / 0.5531 GB, free: 73.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001245/1.279, allocations: 276.1 kB / 0.5534 GB, free: 73.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/1.279, allocations: 163.5 kB / 0.5536 GB, free: 73.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/1.296, allocations: 6.147 MB / 0.5596 GB, free: 73.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05634/1.353, allocations: 25.61 MB / 0.5846 GB, free: 61.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00953/1.362, allocations: 4.835 MB / 0.5893 GB, free: 60.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004383/1.367, allocations: 2.188 MB / 0.5914 GB, free: 59.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003025/1.367, allocations: 77.39 kB / 0.5915 GB, free: 59.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/1.367, allocations: 62.38 kB / 0.5916 GB, free: 59.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 6.794e-06/1.367, allocations: 0 / 0.5916 GB, free: 59.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.01133/1.378, allocations: 5.034 MB / 0.5965 GB, free: 57.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.378, allocations: 0.5865 MB / 0.5971 GB, free: 56.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.389, allocations: 4.621 MB / 0.6016 GB, free: 54.85 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009185/1.39, allocations: 78.83 kB / 0.6016 GB, free: 54.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003714/1.394, allocations: 3.97 MB / 0.6055 GB, free: 51.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0015/1.395, allocations: 0.9241 MB / 0.6064 GB, free: 51.01 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/1.396, allocations: 58.41 kB / 0.6065 GB, free: 50.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/1.396, allocations: 422.6 kB / 0.6069 GB, free: 50.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004378/1.4, allocations: 2.161 MB / 0.609 GB, free: 49.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/1.406, allocations: 2.959 MB / 0.6119 GB, free: 47.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005156/1.411, allocations: 2.378 MB / 0.6142 GB, free: 47.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/1.411, allocations: 5.125 kB / 0.6142 GB, free: 47.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.01341/1.424, allocations: 5.764 MB / 0.6198 GB, free: 44.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001741/1.426, allocations: 9.405 MB / 0.629 GB, free: 34.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.3e-05/1.426, allocations: 19.88 kB / 0.629 GB, free: 34.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.509e-05/1.426, allocations: 36.22 kB / 0.6291 GB, free: 34.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/1.431, allocations: 0.841 MB / 0.6299 GB, free: 34.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.982e-05/1.431, allocations: 44.84 kB / 0.6299 GB, free: 34.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/1.435, allocations: 466.2 kB / 0.6304 GB, free: 34.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.436, allocations: 271 kB / 0.6307 GB, free: 34.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.437, allocations: 4 kB / 0.6307 GB, free: 34.2 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01178/1.448, allocations: 5.092 MB / 0.6356 GB, free: 29.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/1.448, allocations: 16 kB / 0.6356 GB, free: 29.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.582e-05/1.448, allocations: 40.05 kB / 0.6357 GB, free: 29.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/1.452, allocations: 0.7175 MB / 0.6364 GB, free: 29.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.735e-05/1.452, allocations: 43.16 kB / 0.6364 GB, free: 29.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/1.456, allocations: 314.8 kB / 0.6367 GB, free: 28.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.457, allocations: 273.6 kB / 0.637 GB, free: 28.48 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.001275/1.458, allocations: 328 kB / 0.6373 GB, free: 28.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/1.46, allocations: 0.5784 MB / 0.6379 GB, free: 27.58 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.476, allocations: 6.008 MB / 0.6437 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/1.476, allocations: 31.81 kB / 0.6438 GB, free: 22.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/1.476, allocations: 4 kB / 0.6438 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.977e-05/1.476, allocations: 10.45 kB / 0.6438 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02773/1.503, allocations: 11.26 MB / 0.6548 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.503, allocations: 3.953 kB / 0.6548 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004629/1.508, allocations: 0.6931 MB / 0.6554 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.591e-05/1.508, allocations: 8 kB / 0.6555 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007898/1.509, allocations: 110.9 kB / 0.6556 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/1.509, allocations: 8 kB / 0.6556 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.509, allocations: 0 / 0.6556 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/1.526, allocations: 8.605 MB / 0.664 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003484/1.53, allocations: 1.207 MB / 0.6651 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/1.531, allocations: 60 kB / 0.6652 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003488/1.535, allocations: 284.2 kB / 0.6655 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001537/1.537, allocations: 207.6 kB / 0.6657 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001024/1.538, allocations: 221.5 kB / 0.6659 GB, free: 3.449 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008988/1.547, allocations: 3.607 MB / 0.6694 GB, free: 248 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.144e-06/1.547, allocations: 0 / 0.6694 GB, free: 248 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.01114/1.558, allocations: 2.446 MB / 0.6718 GB, free: 14.28 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.0007209/1.559, allocations: 216.8 kB / 0.672 GB, free: 14.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01368/1.572, allocations: 6.626 MB / 0.6785 GB, free: 7.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.572, allocations: 4 kB / 0.6785 GB, free: 7.766 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004121/1.576, allocations: 2.036 MB / 0.6805 GB, free: 5.848 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/1.581, allocations: 0.5872 MB / 0.681 GB, free: 5.363 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04228/1.623, allocations: 11.79 MB / 0.6926 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008567/1.631, allocations: 4.01 MB / 0.6965 GB, free: 9.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007913/1.639, allocations: 1.051 MB / 0.6975 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.641, allocations: 199.4 kB / 0.6977 GB, free: 8.801 MB / 490.7 MB Notification: Performance of SimCode: time 1.948e-06/1.641, allocations: 3.094 kB / 0.6977 GB, free: 8.801 MB / 490.7 MB Notification: Performance of Templates: time 0.4287/2.069, allocations: 50.38 MB / 0.7469 GB, free: 94.82 MB / 490.7 MB