Running command: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.444/2.444, allocations: 234.6 MB / 246.8 MB, free: 14.05 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.325e-05, allocations: 7.125 kB / 304.4 MB, free: 4.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4124, allocations: 54.62 MB / 359 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.5827, allocations: 78.42 MB / 437.5 MB, free: 2.449 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.583, allocations: 53.36 kB / 437.5 MB, free: 2.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05771/0.6408, allocations: 5.713 MB / 443.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6408, allocations: 0 / 443.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.719e-05/0.6409, allocations: 12 kB / 443.2 MB, free: 12.67 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001095/0.642, allocations: 0.6199 MB / 443.9 MB, free: 12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.642, allocations: 8.031 kB / 443.9 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.6423, allocations: 99.72 kB / 444 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.6424, allocations: 56.19 kB / 444 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.643, allocations: 319.1 kB / 444.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/0.6431, allocations: 37.31 kB / 444.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.6432, allocations: 56 kB / 444.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.6451, allocations: 476.5 kB / 444.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.6452, allocations: 0 / 444.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.6453, allocations: 24 kB / 444.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.6454, allocations: 19.98 kB / 444.9 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.6466, allocations: 258 kB / 445.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/0.6518, allocations: 1.672 MB / 446.9 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.6526, allocations: 179.7 kB / 447 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.6529, allocations: 76.86 kB / 447.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.653, allocations: 4.094 kB / 447.1 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.6531, allocations: 42.48 kB / 447.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 4.979e-06/0.6531, allocations: 0 / 447.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008337/0.6539, allocations: 189.6 kB / 447.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/0.6541, allocations: 55.41 kB / 447.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.6546, allocations: 227.2 kB / 447.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.6547, allocations: 25.7 kB / 447.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.6549, allocations: 259.7 kB / 447.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/0.655, allocations: 78.84 kB / 448 MB, free: 7.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.6551, allocations: 4 kB / 448 MB, free: 7.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6552, allocations: 346.8 kB / 448.3 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.6554, allocations: 56 kB / 448.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.6556, allocations: 118 kB / 448.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.6559, allocations: 79.78 kB / 448.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6559, allocations: 0 / 448.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005792/0.6565, allocations: 233.7 kB / 448.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6565, allocations: 4 kB / 448.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.6565, allocations: 4 kB / 448.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6566, allocations: 4 kB / 448.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.6569, allocations: 53.7 kB / 448.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.657, allocations: 4 kB / 448.8 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.6571, allocations: 19.75 kB / 448.9 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.6572, allocations: 11.98 kB / 448.9 MB, free: 6.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001173/0.6573, allocations: 120.9 kB / 449 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.6574, allocations: 23.72 kB / 449 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.911e-05/0.6575, allocations: 33.94 kB / 449.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.6575, allocations: 4 kB / 449.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6575, allocations: 1.312 kB / 449.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6575, allocations: 4 kB / 449.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6587, allocations: 0.6723 MB / 449.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6588, allocations: 0 / 449.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.6591, allocations: 39.92 kB / 449.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6591, allocations: 0 / 449.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.6592, allocations: 0 / 449.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6592, allocations: 0 / 449.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6592, allocations: 4 kB / 449.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.6599, allocations: 371.8 kB / 450.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.66, allocations: 100.8 kB / 450.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.6601, allocations: 4 kB / 450.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.6603, allocations: 11.94 kB / 450.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.6603, allocations: 7.984 kB / 450.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6603, allocations: 4 kB / 450.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002545/0.6606, allocations: 183.1 kB / 450.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6606, allocations: 0 / 450.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004716/0.6611, allocations: 91.38 kB / 450.5 MB, free: 4.992 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001011/0.6621, allocations: 0.9002 MB / 451.4 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.6626, allocations: 159.3 kB / 451.6 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6626, allocations: 0 / 451.6 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.6628, allocations: 80.31 kB / 451.7 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.6634, allocations: 36.83 kB / 451.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.6651, allocations: 0.5399 MB / 452.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.6656, allocations: 0.8259 MB / 453.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.6657, allocations: 30.06 kB / 453.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.666, allocations: 135.4 kB / 453.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.666, allocations: 0 / 453.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.6934, allocations: 4.384 MB / 457.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.6938, allocations: 146 kB / 457.8 MB, free: 13.67 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.057, allocations: 0 / 457.8 MB, free: 13.67 MB / 394.7 MB