Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") Notification: Performance of loadModel(SystemDynamics): time 2.434/2.434, allocations: 234.6 MB / 246.8 MB, free: 14.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.444e-05, allocations: 4 kB / 304.3 MB, free: 5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.377, allocations: 54.62 MB / 358.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.5013, allocations: 79.34 MB / 438.3 MB, free: 1.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.5015, allocations: 63.97 kB / 438.3 MB, free: 1.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04753/0.5491, allocations: 12.31 MB / 450.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.657e-06/0.5491, allocations: 4 kB / 450.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.603e-05/0.5492, allocations: 28 kB / 450.7 MB, free: 5.199 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002688/0.5519, allocations: 1.353 MB / 452 MB, free: 3.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.552, allocations: 12.03 kB / 452.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.5524, allocations: 185.6 kB / 452.2 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.5531, allocations: 0.5001 MB / 452.7 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.5532, allocations: 74 kB / 452.8 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.5535, allocations: 96 kB / 452.9 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.5561, allocations: 1.125 MB / 454 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.5562, allocations: 0 / 454 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.5563, allocations: 40 kB / 454.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.863e-05/0.5564, allocations: 62.11 kB / 454.1 MB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002904/0.5593, allocations: 1.289 MB / 455.4 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007615/0.567, allocations: 3.034 MB / 458.4 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.5693, allocations: 1.102 MB / 459.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.5704, allocations: 0.5412 MB / 460.1 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.5706, allocations: 36.67 kB / 460.1 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.5706, allocations: 47.06 kB / 460.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 4.376e-06/0.5706, allocations: 0 / 460.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.002657/0.5733, allocations: 1.251 MB / 461.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.5734, allocations: 59.97 kB / 461.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.5754, allocations: 1.066 MB / 462.5 MB, free: 9.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.5756, allocations: 33.7 kB / 462.6 MB, free: 9.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000816/0.5764, allocations: 0.7781 MB / 463.4 MB, free: 8.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.5767, allocations: 236.6 kB / 463.6 MB, free: 8.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.5768, allocations: 16 kB / 463.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.577, allocations: 338 kB / 463.9 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.5781, allocations: 0.5051 MB / 464.4 MB, free: 7.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.5793, allocations: 0.6888 MB / 465.1 MB, free: 6.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.5806, allocations: 0.5711 MB / 465.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.915e-06/0.5806, allocations: 5.781 kB / 465.7 MB, free: 5.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003086/0.5837, allocations: 1.436 MB / 467.1 MB, free: 4.379 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.5838, allocations: 4 kB / 467.1 MB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.5838, allocations: 16.02 kB / 467.2 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.5838, allocations: 8 kB / 467.2 MB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/0.5848, allocations: 203.7 kB / 467.4 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.5849, allocations: 19.98 kB / 467.4 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.5855, allocations: 87.27 kB / 467.5 MB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.5857, allocations: 91.97 kB / 467.6 MB, free: 3.957 MB / 394.7 MB Warning: Assuming fixed start value for the following 6 variables: CIAF.level:VARIABLE(start = CIAF.x0 ) "Reversible state variable" type: Real Pollution.level:VARIABLE(start = Pollution.x0 ) "Reversible state variable" type: Real Capital_Investment.level:VARIABLE(start = Capital_Investment.x0 ) "Reversible state variable" type: Real Natural_Resources.level:VARIABLE(start = Natural_Resources.x0 ) "Reversible state variable" type: Real Population.level:VARIABLE(start = Population.x0 ) "Reversible state variable" type: Real years:VARIABLE(start = 1900.0 ) "Time in calendar years" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.0002917/0.586, allocations: 153.1 kB / 467.7 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.5863, allocations: 138.3 kB / 467.8 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.59, allocations: 1.602 MB / 469.4 MB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.59, allocations: 4 kB / 469.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.59, allocations: 4 kB / 469.5 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5901, allocations: 3.984 kB / 469.5 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/0.5951, allocations: 2.483 MB / 471.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.632e-06/0.5952, allocations: 7.922 kB / 471.9 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009152/0.5961, allocations: 159.8 kB / 472.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.5961, allocations: 0 / 472.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.5962, allocations: 27.98 kB / 472.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.676e-06/0.5963, allocations: 4 kB / 472.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5963, allocations: 0 / 472.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.6004, allocations: 2.175 MB / 474.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.6008, allocations: 195.2 kB / 474.5 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.601, allocations: 12.06 kB / 474.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.6014, allocations: 35.97 kB / 474.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.6016, allocations: 56.5 kB / 474.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.6018, allocations: 71.97 kB / 474.7 MB, free: 12.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001574/0.6034, allocations: 0.8467 MB / 475.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.65e-07/0.6034, allocations: 0 / 475.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009626/0.6044, allocations: 218.9 kB / 475.7 MB, free: 11.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (years,Population.level,Natural_Resources.level,Capital_Investment.level,Pollution.level,CIAF.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.0002565/0.6047, allocations: 128.2 kB / 475.9 MB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.6065, allocations: 1.002 MB / 476.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6065, allocations: 0 / 476.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000815/0.6073, allocations: 0.5111 MB / 477.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.6078, allocations: 53.16 kB / 477.4 MB, free: 9.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.6125, allocations: 2.128 MB / 479.6 MB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.6139, allocations: 1.334 MB / 480.9 MB, free: 6.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000653/0.6146, allocations: 120.5 kB / 481 MB, free: 6.309 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.6148, allocations: 55.42 kB / 481.1 MB, free: 6.254 MB / 410.7 MB Notification: Performance of SimCode: time 2.741e-06/0.6148, allocations: 0 / 481.1 MB, free: 6.254 MB / 410.7 MB Notification: Performance of Templates: time 0.019/0.6339, allocations: 4.582 MB / 485.6 MB, free: 1.668 MB / 410.7 MB