Running command: translateModel(SystemDynamics.WorldDynamics.World3.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Scenario_2") Notification: Performance of loadModel(SystemDynamics): time 2.431/2.431, allocations: 234.6 MB / 246.8 MB, free: 14.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.112e-05, allocations: 4 kB / 304.3 MB, free: 5.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3341, allocations: 54.64 MB / 358.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.4746, allocations: 91.27 MB / 450.2 MB, free: 5.684 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4749, allocations: 75.95 kB / 450.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7021/1.177, allocations: 95.69 MB / 0.5332 GB, free: 79.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.301e-06/1.177, allocations: 0.7656 kB / 0.5332 GB, free: 79.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001859/1.179, allocations: 199.2 kB / 0.5334 GB, free: 79.36 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.03317/1.212, allocations: 6.287 MB / 0.5395 GB, free: 76.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.212, allocations: 10.31 kB / 0.5395 GB, free: 76.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/1.216, allocations: 0.9919 MB / 0.5405 GB, free: 76.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/1.228, allocations: 4.369 MB / 0.5448 GB, free: 74.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007765/1.229, allocations: 0.5254 MB / 0.5453 GB, free: 74.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002183/1.231, allocations: 0.6529 MB / 0.5459 GB, free: 74.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/1.253, allocations: 7.405 MB / 0.5531 GB, free: 73.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/1.253, allocations: 17.78 kB / 0.5532 GB, free: 73.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/1.254, allocations: 278.3 kB / 0.5534 GB, free: 73.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/1.254, allocations: 161.4 kB / 0.5536 GB, free: 73.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/1.271, allocations: 6.139 MB / 0.5596 GB, free: 73.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05313/1.324, allocations: 25.62 MB / 0.5846 GB, free: 62.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/1.335, allocations: 4.829 MB / 0.5893 GB, free: 60.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/1.339, allocations: 2.186 MB / 0.5914 GB, free: 59.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/1.34, allocations: 79.11 kB / 0.5915 GB, free: 59.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/1.34, allocations: 69.66 kB / 0.5916 GB, free: 59.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 7.267e-06/1.34, allocations: 0 / 0.5916 GB, free: 59.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.01104/1.351, allocations: 5.025 MB / 0.5965 GB, free: 57.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/1.351, allocations: 0.5941 MB / 0.5971 GB, free: 56.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009977/1.361, allocations: 4.611 MB / 0.6016 GB, free: 54.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009175/1.362, allocations: 79.3 kB / 0.6016 GB, free: 54.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003672/1.366, allocations: 3.98 MB / 0.6055 GB, free: 51.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.367, allocations: 0.9249 MB / 0.6064 GB, free: 51.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/1.368, allocations: 58.66 kB / 0.6065 GB, free: 51.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/1.368, allocations: 420.5 kB / 0.6069 GB, free: 50.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00459/1.372, allocations: 2.16 MB / 0.609 GB, free: 49.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005417/1.378, allocations: 2.96 MB / 0.6119 GB, free: 48.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005389/1.383, allocations: 2.378 MB / 0.6142 GB, free: 47.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/1.383, allocations: 6.062 kB / 0.6142 GB, free: 47.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=388) (initialization): time 0.01354/1.397, allocations: 5.772 MB / 0.6199 GB, free: 44.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001697/1.399, allocations: 9.4 MB / 0.629 GB, free: 34.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.792e-05/1.399, allocations: 18.03 kB / 0.6291 GB, free: 34.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.705e-05/1.399, allocations: 39.91 kB / 0.6291 GB, free: 34.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005593/1.404, allocations: 0.8473 MB / 0.6299 GB, free: 34.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.441e-05/1.404, allocations: 45.59 kB / 0.63 GB, free: 34.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/1.408, allocations: 455.5 kB / 0.6304 GB, free: 34.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009617/1.409, allocations: 272.1 kB / 0.6307 GB, free: 34.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.409, allocations: 4 kB / 0.6307 GB, free: 34.33 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01063/1.42, allocations: 5.096 MB / 0.6356 GB, free: 29.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/1.42, allocations: 16 kB / 0.6357 GB, free: 29.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.591e-05/1.42, allocations: 39.95 kB / 0.6357 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/1.424, allocations: 0.7099 MB / 0.6364 GB, free: 29.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.287e-05/1.424, allocations: 43.72 kB / 0.6364 GB, free: 29.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/1.427, allocations: 325.5 kB / 0.6367 GB, free: 28.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000813/1.428, allocations: 262.4 kB / 0.637 GB, free: 28.62 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.0009718/1.429, allocations: 327.7 kB / 0.6373 GB, free: 28.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.431, allocations: 0.5823 MB / 0.6379 GB, free: 27.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.444, allocations: 6.014 MB / 0.6437 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.444, allocations: 28 kB / 0.6438 GB, free: 22.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.444, allocations: 0 / 0.6438 GB, free: 22.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.714e-05/1.444, allocations: 11.39 kB / 0.6438 GB, free: 22.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/1.468, allocations: 11.26 MB / 0.6548 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.468, allocations: 3.938 kB / 0.6548 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004125/1.472, allocations: 0.6971 MB / 0.6555 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-05/1.472, allocations: 8 kB / 0.6555 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005129/1.472, allocations: 106.5 kB / 0.6556 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.681e-05/1.472, allocations: 8 kB / 0.6556 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.138e-06/1.472, allocations: 3.797 kB / 0.6556 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/1.494, allocations: 8.603 MB / 0.664 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006319/1.5, allocations: 1.202 MB / 0.6652 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002576/1.503, allocations: 64 kB / 0.6652 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006072/1.509, allocations: 280.6 kB / 0.6655 GB, free: 3.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001514/1.51, allocations: 202.4 kB / 0.6657 GB, free: 3.785 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009687/1.511, allocations: 229.5 kB / 0.6659 GB, free: 3.582 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01473/1.526, allocations: 3.599 MB / 0.6694 GB, free: 392 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.653e-06/1.526, allocations: 0 / 0.6694 GB, free: 392 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.01692/1.543, allocations: 2.386 MB / 0.6717 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.0009374/1.544, allocations: 220.3 kB / 0.6719 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01567/1.56, allocations: 6.626 MB / 0.6784 GB, free: 7.766 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.141e-06/1.56, allocations: 320 / 0.6784 GB, free: 7.766 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004098/1.564, allocations: 2.039 MB / 0.6804 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004203/1.568, allocations: 0.583 MB / 0.681 GB, free: 5.359 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04107/1.609, allocations: 11.8 MB / 0.6925 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008122/1.617, allocations: 4.004 MB / 0.6964 GB, free: 9.934 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007441/1.625, allocations: 1.056 MB / 0.6974 GB, free: 8.941 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.626, allocations: 199.4 kB / 0.6976 GB, free: 8.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.631e-06/1.626, allocations: 0 / 0.6976 GB, free: 8.75 MB / 490.7 MB Notification: Performance of Templates: time 0.4795/2.106, allocations: 50.37 MB / 0.7468 GB, free: 94.87 MB / 490.7 MB