Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") Notification: Performance of loadModel(SystemDynamics): time 2.538/2.538, allocations: 234.6 MB / 246.8 MB, free: 14.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.781e-05, allocations: 4 kB / 304.3 MB, free: 5.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 54.63 MB / 358.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4457, allocations: 79.99 MB / 438.9 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.446, allocations: 63.97 kB / 439 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05949/0.5056, allocations: 14.55 MB / 453.5 MB, free: 2.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.154e-06/0.5056, allocations: 2.188 kB / 453.5 MB, free: 2.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001043/0.5057, allocations: 35.94 kB / 453.6 MB, free: 2.316 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002877/0.5086, allocations: 1.408 MB / 455 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5087, allocations: 12.03 kB / 455 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.5092, allocations: 201.4 kB / 455.2 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.511, allocations: 0.7667 MB / 456 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.5111, allocations: 82.11 kB / 456 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.5114, allocations: 105.8 kB / 456.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.5144, allocations: 1.347 MB / 457.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.5145, allocations: 7.984 kB / 457.5 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.5146, allocations: 40 kB / 457.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-05/0.5147, allocations: 55.98 kB / 457.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003131/0.5179, allocations: 1.316 MB / 458.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009313/0.5272, allocations: 4.057 MB / 463 MB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.5306, allocations: 1.579 MB / 464.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.5318, allocations: 0.5576 MB / 465.1 MB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.532, allocations: 28.77 kB / 465.1 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.532, allocations: 47.38 kB / 465.2 MB, free: 6.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 4.549e-06/0.532, allocations: 0 / 465.2 MB, free: 6.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.003297/0.5353, allocations: 1.282 MB / 466.5 MB, free: 5.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.5355, allocations: 89.62 kB / 466.5 MB, free: 4.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.5377, allocations: 1.158 MB / 467.7 MB, free: 3.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.5379, allocations: 37.7 kB / 467.7 MB, free: 3.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008948/0.5388, allocations: 0.8409 MB / 468.6 MB, free: 2.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.5392, allocations: 244.4 kB / 468.8 MB, free: 2.695 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.5393, allocations: 20.03 kB / 468.8 MB, free: 2.676 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.5395, allocations: 338 kB / 469.2 MB, free: 2.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.5407, allocations: 0.5306 MB / 469.7 MB, free: 1.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.5421, allocations: 0.7805 MB / 470.5 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.5434, allocations: 0.607 MB / 471.1 MB, free: 320 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.636e-06/0.5434, allocations: 4 kB / 471.1 MB, free: 316 kB / 394.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003285/0.5467, allocations: 1.514 MB / 472.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.5468, allocations: 8 kB / 472.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.5468, allocations: 12.09 kB / 472.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.5468, allocations: 12 kB / 472.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.5479, allocations: 215.6 kB / 472.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/0.5479, allocations: 15.94 kB / 472.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.5485, allocations: 87.08 kB / 472.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.5488, allocations: 91.97 kB / 473 MB, free: 14.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 109 * 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.0002403/0.549, allocations: 156.6 kB / 473.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.5494, allocations: 146.1 kB / 473.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.5533, allocations: 1.642 MB / 475 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.5534, allocations: 8 kB / 475 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.153e-06/0.5534, allocations: 0 / 475 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.5534, allocations: 3.984 kB / 475 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.5588, allocations: 2.587 MB / 477.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5589, allocations: 0 / 477.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.5597, allocations: 143.9 kB / 477.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.5597, allocations: 4 kB / 477.7 MB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.5598, allocations: 24 kB / 477.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.5599, allocations: 11.92 kB / 477.8 MB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.832e-06/0.5599, allocations: 3.953 kB / 477.8 MB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/0.5642, allocations: 2.298 MB / 480.1 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.5646, allocations: 211.2 kB / 480.3 MB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.5648, allocations: 8 kB / 480.3 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.5652, allocations: 23.94 kB / 480.3 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.5654, allocations: 52.5 kB / 480.3 MB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/0.5656, allocations: 75.97 kB / 480.4 MB, free: 6.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00165/0.5673, allocations: 0.9055 MB / 481.3 MB, free: 5.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.009e-06/0.5673, allocations: 4 kB / 481.3 MB, free: 5.941 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001021/0.5683, allocations: 226.9 kB / 481.5 MB, free: 5.719 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.00024/0.5686, allocations: 127.1 kB / 481.7 MB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.5704, allocations: 1.039 MB / 482.7 MB, free: 4.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.793e-06/0.5704, allocations: 0 / 482.7 MB, free: 4.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.5713, allocations: 0.5098 MB / 483.2 MB, free: 4.027 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.572, allocations: 81.53 kB / 483.3 MB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.5768, allocations: 2.218 MB / 485.5 MB, free: 1.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.5782, allocations: 1.37 MB / 486.9 MB, free: 296 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006794/0.5789, allocations: 128.9 kB / 487 MB, free: 168 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.5792, allocations: 59.42 kB / 487.1 MB, free: 108 kB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.5792, allocations: 0 / 487.1 MB, free: 108 kB / 410.7 MB Notification: Performance of Templates: time 0.02202/0.6012, allocations: 5.057 MB / 492.1 MB, free: 11.05 MB / 426.7 MB