Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") Notification: Performance of loadModel(SystemDynamics): time 2.483/2.483, allocations: 234.6 MB / 246.8 MB, free: 14.29 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.042e-05, allocations: 4 kB / 304.3 MB, free: 5.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 54.63 MB / 358.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.4931, allocations: 80.02 MB / 439 MB, free: 1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4934, allocations: 59.97 kB / 439 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05711/0.5505, allocations: 14.41 MB / 453.4 MB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.5506, allocations: 1.594 kB / 453.4 MB, free: 2.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.5507, allocations: 40 kB / 453.5 MB, free: 2.445 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00272/0.5535, allocations: 1.396 MB / 454.9 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5535, allocations: 12.03 kB / 454.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004856/0.554, allocations: 197.6 kB / 455.1 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5556, allocations: 0.7593 MB / 455.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.5558, allocations: 82.03 kB / 455.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.556, allocations: 104 kB / 456 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.559, allocations: 1.259 MB / 457.3 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.559, allocations: 4 kB / 457.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.5592, allocations: 44 kB / 457.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.5592, allocations: 24 kB / 457.3 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.5621, allocations: 1.23 MB / 458.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008503/0.5706, allocations: 3.865 MB / 462.4 MB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003422/0.5741, allocations: 1.582 MB / 464 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.5753, allocations: 0.5535 MB / 464.6 MB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.5754, allocations: 32.98 kB / 464.6 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.5768, allocations: 0.6583 MB / 465.3 MB, free: 6.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=72): time 4.629e-06/0.5768, allocations: 0 / 465.3 MB, free: 6.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=72): time 0.002837/0.5797, allocations: 1.306 MB / 466.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.5798, allocations: 64.19 kB / 466.6 MB, free: 4.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5818, allocations: 1.093 MB / 467.7 MB, free: 3.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.582, allocations: 45.7 kB / 467.8 MB, free: 3.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.5829, allocations: 0.7717 MB / 468.5 MB, free: 3.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.5832, allocations: 240.5 kB / 468.8 MB, free: 2.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.5833, allocations: 12 kB / 468.8 MB, free: 2.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5835, allocations: 337.9 kB / 469.1 MB, free: 2.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.5846, allocations: 0.5012 MB / 469.6 MB, free: 1.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.5858, allocations: 0.6191 MB / 470.2 MB, free: 1.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.5871, allocations: 0.5525 MB / 470.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.44e-06/0.5871, allocations: 0 / 470.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00301/0.5901, allocations: 1.389 MB / 472.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5902, allocations: 4 kB / 472.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5902, allocations: 4 kB / 472.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.5902, allocations: 8 kB / 472.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.5911, allocations: 159.8 kB / 472.4 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.5911, allocations: 7.938 kB / 472.4 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.5916, allocations: 55.38 kB / 472.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.5918, allocations: 83.91 kB / 472.5 MB, free: 15 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: min_QL:DISCRETE(start = 1.0 fixed = false ) "Minimum quality of life" type: Real min_dPop:DISCRETE(unit = "1/yr" fixed = false ) "Minimal derivative of population" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.min_dPop,min_dPop,$PRE.min_QL,min_QL,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 (89): * Single equations (assignments): 89 * 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.000289/0.5921, allocations: 156.7 kB / 472.7 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.5923, allocations: 142.1 kB / 472.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.5962, allocations: 1.639 MB / 474.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5963, allocations: 4 kB / 474.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-06/0.5963, allocations: 4 kB / 474.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.5963, allocations: 7.984 kB / 474.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/0.6016, allocations: 2.595 MB / 477 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.595e-06/0.6017, allocations: 0 / 477 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/0.6026, allocations: 139.8 kB / 477.2 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.6027, allocations: 0 / 477.2 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.6028, allocations: 31.98 kB / 477.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.6028, allocations: 4 kB / 477.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.725e-06/0.6028, allocations: 3.984 kB / 477.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004424/0.6072, allocations: 2.249 MB / 479.5 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007222/0.608, allocations: 335 kB / 479.8 MB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.6082, allocations: 19.98 kB / 479.8 MB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.6086, allocations: 16.12 kB / 479.8 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6088, allocations: 48.72 kB / 479.9 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/0.609, allocations: 75.97 kB / 479.9 MB, free: 7.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.6106, allocations: 0.8684 MB / 480.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.97e-07/0.6107, allocations: 0 / 480.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008663/0.6115, allocations: 226.9 kB / 481 MB, free: 6.344 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: 3 ($whenCondition1,min_dPop,min_QL) * Number of discrete states: 2 (min_dPop,min_QL) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000244/0.6118, allocations: 131.1 kB / 481.2 MB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.6136, allocations: 0.9852 MB / 482.2 MB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.633e-06/0.6136, allocations: 0 / 482.2 MB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008602/0.6145, allocations: 0.5144 MB / 482.7 MB, free: 4.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.6151, allocations: 80.58 kB / 482.7 MB, free: 4.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.6199, allocations: 2.159 MB / 484.9 MB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.6213, allocations: 1.347 MB / 486.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004107/0.6217, allocations: 80.66 kB / 486.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.6219, allocations: 43.44 kB / 486.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of SimCode: time 1.764e-06/0.6219, allocations: 0 / 486.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of Templates: time 0.0198/0.6418, allocations: 4.82 MB / 491.2 MB, free: 12.12 MB / 426.7 MB