Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Human_Fertility,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.449/2.449, allocations: 234.6 MB / 246.8 MB, free: 14.06 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.806e-05, allocations: 7.984 kB / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4125, allocations: 54.62 MB / 359 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5581, allocations: 79.07 MB / 438.1 MB, free: 1.906 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5584, allocations: 63.97 kB / 438.2 MB, free: 1.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07866/0.6371, allocations: 13.98 MB / 452.1 MB, free: 3.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.437e-06/0.6372, allocations: 0 / 452.1 MB, free: 3.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001617/0.6374, allocations: 24 kB / 452.2 MB, free: 3.828 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00421/0.6416, allocations: 1.095 MB / 453.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.615e-05/0.6417, allocations: 8.031 kB / 453.3 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008406/0.6426, allocations: 171.1 kB / 453.4 MB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/0.6432, allocations: 138.3 kB / 453.6 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.6458, allocations: 0.686 MB / 454.3 MB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.6461, allocations: 82.2 kB / 454.3 MB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004656/0.6466, allocations: 115.9 kB / 454.5 MB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004806/0.6514, allocations: 1.082 MB / 455.5 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/0.6515, allocations: 3.938 kB / 455.5 MB, free: 256 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.6518, allocations: 48 kB / 455.6 MB, free: 208 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.6519, allocations: 28 kB / 455.6 MB, free: 180 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003768/0.6556, allocations: 0.6949 MB / 456.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.6681, allocations: 4.173 MB / 460.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.6705, allocations: 467.3 kB / 460.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.6711, allocations: 205.4 kB / 461.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-05/0.6712, allocations: 16.27 kB / 461.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.6712, allocations: 38.84 kB / 461.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.306e-06/0.6713, allocations: 0 / 461.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001446/0.6727, allocations: 0.5067 MB / 461.7 MB, free: 9.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.6728, allocations: 55.39 kB / 461.8 MB, free: 9.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.674, allocations: 0.5779 MB / 462.3 MB, free: 9.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.6742, allocations: 33.7 kB / 462.4 MB, free: 9.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005724/0.6748, allocations: 0.5801 MB / 462.9 MB, free: 8.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.675, allocations: 138.1 kB / 463.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.6751, allocations: 12 kB / 463.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6752, allocations: 326 kB / 463.4 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.6759, allocations: 213 kB / 463.6 MB, free: 7.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.6766, allocations: 362.9 kB / 464 MB, free: 7.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.6773, allocations: 263.8 kB / 464.2 MB, free: 7.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.6773, allocations: 0 / 464.2 MB, free: 7.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00179/0.6791, allocations: 0.6721 MB / 464.9 MB, free: 6.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.6792, allocations: 4.109 kB / 464.9 MB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6792, allocations: 7.938 kB / 464.9 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.6793, allocations: 8 kB / 464.9 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008393/0.6801, allocations: 115.8 kB / 465 MB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.6802, allocations: 11.94 kB / 465 MB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.6807, allocations: 48.03 kB / 465.1 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.6808, allocations: 39.98 kB / 465.1 MB, free: 6.379 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 10 (Fert_Cont_Facil_PC.Smooth3.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0001821/0.681, allocations: 139 kB / 465.3 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.6812, allocations: 67.16 kB / 465.3 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.683, allocations: 0.6254 MB / 466 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6831, allocations: 4 kB / 466 MB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.6831, allocations: 3.953 kB / 466 MB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6831, allocations: 3.984 kB / 466 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.6849, allocations: 0.8326 MB / 466.8 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.685, allocations: 0 / 466.8 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.6858, allocations: 71.91 kB / 466.9 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.6859, allocations: 7.938 kB / 466.9 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.686, allocations: 19.98 kB / 466.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.686, allocations: 0 / 466.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.686, allocations: 3.984 kB / 466.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.6881, allocations: 0.8942 MB / 467.8 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.6884, allocations: 152.1 kB / 467.9 MB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.6886, allocations: 4 kB / 467.9 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.6889, allocations: 15.98 kB / 468 MB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6891, allocations: 27.97 kB / 468 MB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/0.6892, allocations: 27.98 kB / 468 MB, free: 3.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009337/0.6901, allocations: 459.1 kB / 468.5 MB, free: 2.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6901, allocations: 0 / 468.5 MB, free: 2.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009406/0.6911, allocations: 202.5 kB / 468.7 MB, free: 2.734 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.y,Del_Ind_Out_PC.Smooth1.Integrator1.y,Del_Ind_Out_PC.Smooth2.Integrator1.y,Del_Ind_Out_PC.Smooth3.Integrator1.y,Perc_Life_Expectancy.Smooth1.Integrator1.y,Perc_Life_Expectancy.Smooth2.Integrator1.y,Perc_Life_Expectancy.Smooth3.Integrator1.y,Fert_Cont_Facil_PC.Smooth1.Integrator1.y,Fert_Cont_Facil_PC.Smooth2.Integrator1.y,Fert_Cont_Facil_PC.Smooth3.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.002056/0.6932, allocations: 1.384 MB / 470 MB, free: 1.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.6943, allocations: 443.7 kB / 470.5 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6943, allocations: 7.938 kB / 470.5 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.6947, allocations: 203.8 kB / 470.7 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008445/0.6956, allocations: 96.03 kB / 470.8 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.7003, allocations: 1.535 MB / 472.3 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.7014, allocations: 1.089 MB / 473.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.7019, allocations: 64.25 kB / 473.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000832/0.7027, allocations: 407.3 kB / 473.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7027, allocations: 0 / 473.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04623/0.749, allocations: 11.75 MB / 485.6 MB, free: 1.742 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.7494, allocations: 156.1 kB / 485.8 MB, free: 1.516 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/3.55, allocations: 0 / 485.8 MB, free: 1.516 MB / 410.7 MB