Running command: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.495/2.495, allocations: 234.6 MB / 246.8 MB, free: 14.02 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.501e-05, allocations: 7.984 kB / 304.4 MB, free: 4.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 54.62 MB / 359 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.5621, allocations: 79.38 MB / 438.4 MB, free: 1.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5624, allocations: 63.97 kB / 438.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02097/0.5834, allocations: 4.626 MB / 443.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5835, allocations: 0 / 443.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.741e-05/0.5835, allocations: 4 kB / 443.1 MB, free: 12.91 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001202/0.5848, allocations: 0.5871 MB / 443.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5848, allocations: 8.031 kB / 443.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.585, allocations: 75.31 kB / 443.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.5851, allocations: 39.53 kB / 443.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.5856, allocations: 292.2 kB / 444.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.5857, allocations: 24.73 kB / 444.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.5858, allocations: 32 kB / 444.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.5865, allocations: 327.9 kB / 444.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.5866, allocations: 3.984 kB / 444.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.5866, allocations: 20 kB / 444.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.5867, allocations: 11.98 kB / 444.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.5873, allocations: 217.4 kB / 444.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.5896, allocations: 1.168 MB / 445.9 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.5902, allocations: 202.5 kB / 446.1 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.5904, allocations: 92.81 kB / 446.2 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/0.5905, allocations: 15.98 kB / 446.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.5909, allocations: 155.4 kB / 446.3 MB, free: 9.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 3.156e-06/0.5909, allocations: 0 / 446.3 MB, free: 9.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006777/0.5916, allocations: 231 kB / 446.6 MB, free: 9.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.5917, allocations: 55.41 kB / 446.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.5921, allocations: 231.1 kB / 446.9 MB, free: 8.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.5921, allocations: 33.7 kB / 446.9 MB, free: 8.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5923, allocations: 215.9 kB / 447.1 MB, free: 8.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.5924, allocations: 55.25 kB / 447.2 MB, free: 8.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.5925, allocations: 4.875 kB / 447.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5926, allocations: 338.8 kB / 447.5 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.5929, allocations: 84.2 kB / 447.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.5932, allocations: 120.9 kB / 447.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.5935, allocations: 125.6 kB / 447.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5935, allocations: 0 / 447.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007188/0.5942, allocations: 308.3 kB / 448.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.5943, allocations: 37.66 kB / 448.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5943, allocations: 7.938 kB / 448.2 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5943, allocations: 3.984 kB / 448.2 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.5947, allocations: 43.92 kB / 448.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5948, allocations: 4 kB / 448.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.595, allocations: 31.95 kB / 448.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.5951, allocations: 9.969 kB / 448.2 MB, free: 7.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.Hunting.T_start,Hunting.T_start,$PRE.Hunting.count,Hunting.count,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001218/0.5952, allocations: 122.9 kB / 448.4 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.5953, allocations: 23.72 kB / 448.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.5961, allocations: 275.4 kB / 448.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.5961, allocations: 0 / 448.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5961, allocations: 0 / 448.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.5961, allocations: 3.984 kB / 448.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.5973, allocations: 0.6553 MB / 449.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5973, allocations: 0 / 449.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.5977, allocations: 47.92 kB / 449.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.5977, allocations: 0 / 449.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.5977, allocations: 0 / 449.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5978, allocations: 4 kB / 449.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5978, allocations: 0 / 449.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/0.5987, allocations: 461.2 kB / 449.8 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.5988, allocations: 100.8 kB / 449.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.5988, allocations: 4 kB / 449.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.5991, allocations: 15.98 kB / 449.9 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.5992, allocations: 19.97 kB / 450 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.5993, allocations: 8 kB / 450 MB, free: 5.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.5996, allocations: 191.1 kB / 450.2 MB, free: 5.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5996, allocations: 3.938 kB / 450.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.6001, allocations: 71.75 kB / 450.2 MB, free: 5.395 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.001251/0.6014, allocations: 0.9619 MB / 451.2 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000552/0.602, allocations: 243.4 kB / 451.4 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.602, allocations: 4 kB / 451.4 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.6022, allocations: 87.83 kB / 451.5 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.6027, allocations: 31.45 kB / 451.5 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.6042, allocations: 0.5022 MB / 452 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.6047, allocations: 0.799 MB / 452.8 MB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.6048, allocations: 13.33 kB / 452.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.605, allocations: 103.3 kB / 453 MB, free: 2.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6051, allocations: 0 / 453 MB, free: 2.562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.6313, allocations: 4.384 MB / 457.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/0.6317, allocations: 162.5 kB / 457.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.982, allocations: 0 / 457.5 MB, free: 14.01 MB / 394.7 MB