Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") Notification: Performance of loadModel(SystemDynamics): time 2.385/2.385, allocations: 234.6 MB / 246.8 MB, free: 14.07 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.311e-05, allocations: 3.984 kB / 304.3 MB, free: 5.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3349, allocations: 54.62 MB / 358.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.4972, allocations: 79.9 MB / 438.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4975, allocations: 67.91 kB / 438.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05586/0.5533, allocations: 14.3 MB / 453.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.358e-06/0.5534, allocations: 0 / 453.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001009/0.5535, allocations: 32 kB / 453.2 MB, free: 2.676 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002647/0.5562, allocations: 1.369 MB / 454.6 MB, free: 1.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5562, allocations: 16.02 kB / 454.6 MB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/0.5568, allocations: 197.5 kB / 454.8 MB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.5592, allocations: 0.7552 MB / 455.6 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.5594, allocations: 82.06 kB / 455.7 MB, free: 160 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004939/0.5599, allocations: 100 kB / 455.8 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005146/0.5651, allocations: 1.239 MB / 457 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.5652, allocations: 0 / 457 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.5655, allocations: 44 kB / 457 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.5655, allocations: 24 kB / 457.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005245/0.5708, allocations: 1.222 MB / 458.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009483/0.5803, allocations: 3.845 MB / 462.1 MB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.5838, allocations: 1.548 MB / 463.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.585, allocations: 0.5412 MB / 464.2 MB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.5851, allocations: 28.75 kB / 464.2 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.5852, allocations: 51.05 kB / 464.3 MB, free: 7.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 4.093e-06/0.5852, allocations: 0 / 464.3 MB, free: 7.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.002794/0.588, allocations: 1.254 MB / 465.5 MB, free: 6.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.5881, allocations: 59.97 kB / 465.6 MB, free: 5.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.5901, allocations: 1.096 MB / 466.7 MB, free: 4.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.5903, allocations: 37.7 kB / 466.7 MB, free: 4.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/0.5911, allocations: 0.7678 MB / 467.5 MB, free: 4.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.5915, allocations: 228.6 kB / 467.7 MB, free: 3.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.5915, allocations: 16 kB / 467.7 MB, free: 3.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5917, allocations: 337.9 kB / 468.1 MB, free: 3.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.5928, allocations: 0.4948 MB / 468.6 MB, free: 3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.594, allocations: 0.5977 MB / 469.2 MB, free: 2.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.5952, allocations: 0.5331 MB / 469.7 MB, free: 1.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.955e-06/0.5952, allocations: 0 / 469.7 MB, free: 1.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002917/0.5981, allocations: 1.346 MB / 471 MB, free: 488 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.5982, allocations: 8.031 kB / 471.1 MB, free: 480 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5982, allocations: 4 kB / 471.1 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.5983, allocations: 4 kB / 471.1 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.5991, allocations: 155.8 kB / 471.2 MB, free: 316 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.5991, allocations: 7.938 kB / 471.2 MB, free: 308 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.5996, allocations: 59.38 kB / 471.3 MB, free: 248 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.5998, allocations: 79.97 kB / 471.4 MB, free: 168 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0002192/0.6001, allocations: 148.6 kB / 471.5 MB, free: 12 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.6003, allocations: 138.4 kB / 471.6 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.6041, allocations: 1.591 MB / 473.2 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.6041, allocations: 8 kB / 473.2 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.784e-06/0.6041, allocations: 3.938 kB / 473.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.6042, allocations: 3.984 kB / 473.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.6094, allocations: 2.539 MB / 475.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.788e-06/0.6094, allocations: 4 kB / 475.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008451/0.6103, allocations: 139.8 kB / 475.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6103, allocations: 0 / 475.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.587e-05/0.6104, allocations: 27.98 kB / 475.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.921e-06/0.6104, allocations: 4 kB / 476 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.418e-06/0.6105, allocations: 0 / 476 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004327/0.6148, allocations: 2.187 MB / 478.1 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.6152, allocations: 199.1 kB / 478.3 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.6154, allocations: 16.06 kB / 478.3 MB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.6158, allocations: 12 kB / 478.4 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.616, allocations: 48.5 kB / 478.4 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.6161, allocations: 75.97 kB / 478.5 MB, free: 8.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001648/0.6178, allocations: 0.872 MB / 479.4 MB, free: 8.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.016e-06/0.6178, allocations: 0 / 479.4 MB, free: 8.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008414/0.6187, allocations: 214.9 kB / 479.6 MB, free: 7.836 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Population.Integrator1.y,Natural_Resources.Integrator1.y,Capital_Investment.Integrator1.y,Pollution.Integrator1.y,CIAF.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0002401/0.6189, allocations: 115.2 kB / 479.7 MB, free: 7.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.6206, allocations: 0.9589 MB / 480.6 MB, free: 6.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6207, allocations: 0 / 480.6 MB, free: 6.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.6215, allocations: 0.4979 MB / 481.1 MB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/0.6222, allocations: 78.27 kB / 481.2 MB, free: 6.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.6269, allocations: 2.138 MB / 483.3 MB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.6283, allocations: 1.346 MB / 484.7 MB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003974/0.6288, allocations: 68.36 kB / 484.8 MB, free: 2.562 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.629, allocations: 43.44 kB / 484.8 MB, free: 2.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.98e-06/0.629, allocations: 8 kB / 484.8 MB, free: 2.512 MB / 410.7 MB Notification: Performance of Templates: time 0.01961/0.6486, allocations: 4.648 MB / 489.5 MB, free: 13.87 MB / 426.7 MB