Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") Notification: Performance of loadModel(SystemDynamics): time 2.364/2.364, allocations: 234.6 MB / 246.8 MB, free: 14.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.524e-05, allocations: 4 kB / 304.3 MB, free: 5.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3387, allocations: 54.62 MB / 358.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.4661, allocations: 79.79 MB / 438.7 MB, free: 1.199 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4664, allocations: 63.97 kB / 438.8 MB, free: 1.137 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05464/0.521, allocations: 14.11 MB / 452.9 MB, free: 3.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.852e-06/0.5211, allocations: 1.781 kB / 452.9 MB, free: 3.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.192e-05/0.5212, allocations: 28 kB / 452.9 MB, free: 2.98 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.003814/0.525, allocations: 1.347 MB / 454.3 MB, free: 1.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/0.5251, allocations: 8.031 kB / 454.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009465/0.5261, allocations: 189.6 kB / 454.5 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.5287, allocations: 0.7348 MB / 455.2 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.5289, allocations: 78.05 kB / 455.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/0.5294, allocations: 104 kB / 455.4 MB, free: 432 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004778/0.5342, allocations: 1.2 MB / 456.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/0.5343, allocations: 3.938 kB / 456.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.5346, allocations: 44 kB / 456.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.5346, allocations: 31.95 kB / 456.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00499/0.5397, allocations: 1.167 MB / 457.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.5537, allocations: 3.762 MB / 461.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005918/0.5597, allocations: 1.48 MB / 463.1 MB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.5618, allocations: 0.5217 MB / 463.6 MB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.5621, allocations: 28.77 kB / 463.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.5621, allocations: 39.12 kB / 463.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 7.833e-06/0.5622, allocations: 0 / 463.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.0049/0.5671, allocations: 1.206 MB / 464.9 MB, free: 6.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.5672, allocations: 63.97 kB / 464.9 MB, free: 6.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.5705, allocations: 1.038 MB / 466 MB, free: 5.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.5708, allocations: 37.7 kB / 466 MB, free: 5.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.572, allocations: 0.7439 MB / 466.8 MB, free: 4.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/0.5726, allocations: 228.7 kB / 467 MB, free: 4.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.5728, allocations: 12 kB / 467 MB, free: 4.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.5731, allocations: 333.9 kB / 467.3 MB, free: 4.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.5749, allocations: 485.2 kB / 467.8 MB, free: 3.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.5769, allocations: 0.5626 MB / 468.3 MB, free: 3.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.579, allocations: 0.5174 MB / 468.9 MB, free: 2.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.5791, allocations: 3.953 kB / 468.9 MB, free: 2.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.005028/0.5841, allocations: 1.287 MB / 470.2 MB, free: 1.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.5842, allocations: 8 kB / 470.2 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.5843, allocations: 4 kB / 470.2 MB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.672e-05/0.5843, allocations: 4 kB / 470.2 MB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.5858, allocations: 151.8 kB / 470.3 MB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.5858, allocations: 4 kB / 470.3 MB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000892/0.5868, allocations: 51.44 kB / 470.4 MB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/0.5871, allocations: 75.97 kB / 470.4 MB, free: 1.074 MB / 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 (81): * Single equations (assignments): 81 * 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.0003435/0.5874, allocations: 148.8 kB / 470.6 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004927/0.588, allocations: 150 kB / 470.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00788/0.5959, allocations: 1.512 MB / 472.3 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.596, allocations: 4 kB / 472.3 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.596, allocations: 0 / 472.3 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.596, allocations: 7.984 kB / 472.3 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009931/0.606, allocations: 2.44 MB / 474.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.6061, allocations: 3.984 kB / 474.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000767/0.6069, allocations: 139.8 kB / 474.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.6069, allocations: 4 kB / 474.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.964e-05/0.607, allocations: 23.98 kB / 474.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.115e-06/0.607, allocations: 4 kB / 474.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.179e-06/0.6071, allocations: 0 / 474.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.6111, allocations: 2.089 MB / 477 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.6115, allocations: 199.1 kB / 477.2 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.6117, allocations: 20.06 kB / 477.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.612, allocations: 12 kB / 477.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.6122, allocations: 48.5 kB / 477.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.6124, allocations: 63.97 kB / 477.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001575/0.6139, allocations: 0.8309 MB / 478.1 MB, free: 9.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.71e-07/0.614, allocations: 0 / 478.1 MB, free: 9.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008116/0.6148, allocations: 203 kB / 478.3 MB, free: 9.07 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 (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.0002454/0.6151, allocations: 123.2 kB / 478.5 MB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.6167, allocations: 0.9198 MB / 479.4 MB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.813e-06/0.6168, allocations: 0 / 479.4 MB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008017/0.6176, allocations: 485.9 kB / 479.8 MB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.6183, allocations: 77.62 kB / 479.9 MB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.6228, allocations: 2.048 MB / 482 MB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.6242, allocations: 1.316 MB / 483.3 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003672/0.6246, allocations: 68.36 kB / 483.4 MB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.6247, allocations: 47.44 kB / 483.4 MB, free: 3.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.641e-06/0.6248, allocations: 0 / 483.4 MB, free: 3.93 MB / 410.7 MB Notification: Performance of Templates: time 0.01956/0.6443, allocations: 4.57 MB / 488 MB, free: 15.36 MB / 426.7 MB