Running command: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Influenza.Flu,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Influenza_Flu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SystemDynamics): time 2.584/2.584, 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 3.635e-05/3.644e-05, allocations: 0 / 304.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4623, allocations: 54.63 MB / 359 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.6082, allocations: 78.6 MB / 437.6 MB, free: 2.371 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.6085, allocations: 62.03 kB / 437.7 MB, free: 2.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02211/0.6306, allocations: 5.345 MB / 443 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6306, allocations: 0 / 443 MB, free: 12.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.316e-05/0.6307, allocations: 12 kB / 443.1 MB, free: 12.96 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001014/0.6317, allocations: 0.5763 MB / 443.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6318, allocations: 8.031 kB / 443.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.632, allocations: 95.5 kB / 443.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.6321, allocations: 55.34 kB / 443.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.6326, allocations: 310 kB / 444.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.6327, allocations: 40.95 kB / 444.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.6328, allocations: 48 kB / 444.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.6338, allocations: 430.2 kB / 444.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.6338, allocations: 3.938 kB / 444.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.6339, allocations: 29.28 kB / 444.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.6339, allocations: 16 kB / 444.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.6346, allocations: 209.9 kB / 444.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.6374, allocations: 1.696 MB / 446.6 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.638, allocations: 166.6 kB / 446.7 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.6383, allocations: 88.75 kB / 446.8 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.6383, allocations: 4 kB / 446.8 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.6386, allocations: 113 kB / 446.9 MB, free: 8.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 3.577e-06/0.6386, allocations: 0 / 446.9 MB, free: 8.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005179/0.6392, allocations: 179.9 kB / 447.1 MB, free: 8.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.6392, allocations: 55.41 kB / 447.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.6396, allocations: 227.1 kB / 447.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.6396, allocations: 29.7 kB / 447.4 MB, free: 8.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.6398, allocations: 239.9 kB / 447.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.113e-05/0.6399, allocations: 78.89 kB / 447.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.6399, allocations: 4 kB / 447.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6401, allocations: 342.8 kB / 448 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.6403, allocations: 56.56 kB / 448.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.6405, allocations: 131.4 kB / 448.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.6407, allocations: 79.83 kB / 448.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.6408, allocations: 0 / 448.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006035/0.6414, allocations: 241.7 kB / 448.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6414, allocations: 8 kB / 448.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6414, allocations: 288 / 448.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.6415, allocations: 19.94 kB / 448.6 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.6419, allocations: 43.92 kB / 448.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.6419, allocations: 7.938 kB / 448.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.6421, allocations: 23.69 kB / 448.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.6422, allocations: 16 kB / 448.7 MB, free: 7.043 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,Immune.Integrator1.local_reset,Sick.Integrator1.local_reset,Infected.Integrator1.local_reset,Non_infected.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001199/0.6423, allocations: 122.6 kB / 448.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.6424, allocations: 23.72 kB / 448.8 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/0.6429, allocations: 199.1 kB / 449 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6429, allocations: 4 kB / 449 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6429, allocations: 7.953 kB / 449 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.643, allocations: 3.984 kB / 449 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.644, allocations: 0.627 MB / 449.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.6441, allocations: 4 kB / 449.6 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.6444, allocations: 31.98 kB / 449.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.6445, allocations: 0 / 449.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.6445, allocations: 15.89 kB / 449.7 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6445, allocations: 3.938 kB / 449.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6445, allocations: 4 kB / 449.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.6452, allocations: 351.1 kB / 450 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.6453, allocations: 100.8 kB / 450.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.6454, allocations: 4 kB / 450.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.6456, allocations: 15.89 kB / 450.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.6457, allocations: 12.02 kB / 450.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.6458, allocations: 4 kB / 450.2 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.646, allocations: 183.1 kB / 450.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.646, allocations: 0 / 450.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005149/0.6466, allocations: 79.53 kB / 450.4 MB, free: 5.172 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Non_infected.Integrator1.y,Infected.Integrator1.y,Sick.Integrator1.y,Immune.Integrator1.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.001018/0.6476, allocations: 0.8958 MB / 451.3 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.6481, allocations: 160.3 kB / 451.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6481, allocations: 0 / 451.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.6483, allocations: 75.94 kB / 451.6 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.6488, allocations: 40.48 kB / 451.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.6505, allocations: 0.5323 MB / 452.1 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.6509, allocations: 0.8185 MB / 452.9 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.6511, allocations: 22.25 kB / 453 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.6513, allocations: 123.4 kB / 453.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6513, allocations: 0 / 453.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.6859, allocations: 4.476 MB / 457.6 MB, free: 14.02 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003239/0.6863, allocations: 158 kB / 457.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.297, allocations: 4.062 kB / 457.7 MB, free: 13.78 MB / 394.7 MB