Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World2.Scenario_1,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World2_Scenario_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.548/2.548, allocations: 234.6 MB / 246.8 MB, free: 14.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.464e-05/4.467e-05, allocations: 4 kB / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.514, allocations: 54.63 MB / 359 MB, free: 2.832 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.6868, allocations: 79.78 MB / 438.8 MB, free: 1.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.6871, allocations: 59.97 kB / 438.9 MB, free: 1.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07147/0.7586, allocations: 14.11 MB / 453 MB, free: 2.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7587, allocations: 1.781 kB / 453 MB, free: 2.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001248/0.7588, allocations: 36 kB / 453 MB, free: 2.855 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.003297/0.7621, allocations: 1.347 MB / 454.4 MB, free: 1.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.7622, allocations: 8.031 kB / 454.4 MB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005525/0.7628, allocations: 182.4 kB / 454.6 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/0.7632, allocations: 197.6 kB / 454.8 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.7651, allocations: 0.7348 MB / 455.5 MB, free: 288 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.7653, allocations: 82.09 kB / 455.6 MB, free: 204 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.7655, allocations: 100 kB / 455.7 MB, free: 104 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.769, allocations: 1.216 MB / 456.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.7691, allocations: 0 / 456.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.7693, allocations: 44 kB / 456.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.7693, allocations: 27.95 kB / 457 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/0.7725, allocations: 1.179 MB / 458.1 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009446/0.782, allocations: 3.789 MB / 461.9 MB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/0.7859, allocations: 1.48 MB / 463.4 MB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.7872, allocations: 0.5178 MB / 463.9 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.7873, allocations: 24.75 kB / 463.9 MB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.7874, allocations: 47.12 kB / 464 MB, free: 7.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 6.322e-06/0.7874, allocations: 5.953 kB / 464 MB, free: 7.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.003076/0.7905, allocations: 1.2 MB / 465.2 MB, free: 6.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.7906, allocations: 59.97 kB / 465.3 MB, free: 6.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.7927, allocations: 1.038 MB / 466.3 MB, free: 5.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.7929, allocations: 37.7 kB / 466.3 MB, free: 5.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008471/0.7938, allocations: 0.7555 MB / 467.1 MB, free: 4.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.7941, allocations: 228.7 kB / 467.3 MB, free: 4.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.7942, allocations: 16 kB / 467.3 MB, free: 4.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7944, allocations: 333.9 kB / 467.7 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.7956, allocations: 481.2 kB / 468.1 MB, free: 3.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.797, allocations: 0.5742 MB / 468.7 MB, free: 2.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.7983, allocations: 0.5095 MB / 469.2 MB, free: 2.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.7983, allocations: 4 kB / 469.2 MB, free: 2.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003284/0.8016, allocations: 1.291 MB / 470.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.8017, allocations: 4 kB / 470.5 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.8017, allocations: 4 kB / 470.5 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.8017, allocations: 8 kB / 470.5 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.8028, allocations: 147.8 kB / 470.7 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.813e-05/0.8029, allocations: 12.31 kB / 470.7 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.8035, allocations: 47.44 kB / 470.7 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.8037, allocations: 75.97 kB / 470.8 MB, free: 0.6797 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.0002341/0.8039, allocations: 152.5 kB / 470.9 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.8042, allocations: 130.3 kB / 471.1 MB, free: 404 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004321/0.8085, allocations: 1.52 MB / 472.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.8086, allocations: 12 kB / 472.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.8086, allocations: 0 / 472.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.8087, allocations: 3.984 kB / 472.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.8144, allocations: 2.444 MB / 475.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.8145, allocations: 0 / 475.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.8156, allocations: 131.8 kB / 475.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.859e-05/0.8156, allocations: 4 kB / 475.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/0.8157, allocations: 27.98 kB / 475.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.8157, allocations: 0 / 475.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8158, allocations: 4 kB / 475.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004856/0.8206, allocations: 2.086 MB / 477.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.821, allocations: 203.2 kB / 477.5 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.8212, allocations: 12 kB / 477.5 MB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.8217, allocations: 12 kB / 477.5 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.8218, allocations: 52.44 kB / 477.6 MB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.822, allocations: 63.98 kB / 477.6 MB, free: 9.719 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001757/0.8238, allocations: 0.8348 MB / 478.5 MB, free: 8.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.8238, allocations: 0 / 478.5 MB, free: 8.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009682/0.8248, allocations: 211 kB / 478.7 MB, free: 8.676 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.003535/0.8283, allocations: 2.343 MB / 481 MB, free: 6.301 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.8303, allocations: 0.9204 MB / 481.9 MB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8303, allocations: 0 / 481.9 MB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008582/0.8312, allocations: 485.9 kB / 482.4 MB, free: 4.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.8319, allocations: 70.12 kB / 482.5 MB, free: 4.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.8379, allocations: 2.389 MB / 484.9 MB, free: 2.391 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.8393, allocations: 1.311 MB / 486.2 MB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.8397, allocations: 76.36 kB / 486.3 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009168/0.8407, allocations: 0.5696 MB / 486.8 MB, free: 420 kB / 410.7 MB Notification: Performance of SimCode: time 4.739e-06/0.8407, allocations: 0 / 486.8 MB, free: 420 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05779/0.8985, allocations: 16.53 MB / 0.4916 GB, free: 15.94 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/0.8989, allocations: 146.6 kB / 0.4917 GB, free: 15.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/3.898, allocations: 4 kB / 0.4917 GB, free: 15.71 MB / 442.7 MB