Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.325/2.325, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.561e-05, allocations: 4 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5024/0.6136, allocations: 90.47 MB / 446 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002476/0.6161, allocations: 0.6909 MB / 446.7 MB, free: 10.42 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.06764/0.6838, allocations: 16.14 MB / 462.8 MB, free: 10.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6839, allocations: 0 / 462.8 MB, free: 10.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.6839, allocations: 12 kB / 462.9 MB, free: 10.14 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001826/0.6858, allocations: 0.7359 MB / 463.6 MB, free: 9.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6858, allocations: 11.97 kB / 463.6 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.686, allocations: 66.53 kB / 463.7 MB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.6874, allocations: 119.9 kB / 463.8 MB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009357/0.6883, allocations: 382.5 kB / 464.2 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.6884, allocations: 20.44 kB / 464.2 MB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.6885, allocations: 20 kB / 464.2 MB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.6895, allocations: 426 kB / 464.6 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6896, allocations: 3.938 kB / 464.6 MB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.6896, allocations: 12 kB / 464.6 MB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.6897, allocations: 16.42 kB / 464.6 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.691, allocations: 492.5 kB / 465.1 MB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.6947, allocations: 1.773 MB / 466.9 MB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.696, allocations: 361.7 kB / 467.2 MB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.6964, allocations: 122.2 kB / 467.4 MB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.6965, allocations: 240 / 467.4 MB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006139/0.6971, allocations: 287.2 kB / 467.6 MB, free: 5.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 4.559e-06/0.6971, allocations: 0 / 467.6 MB, free: 5.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001137/0.6983, allocations: 369.4 kB / 468 MB, free: 4.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.6985, allocations: 302.9 kB / 468.3 MB, free: 4.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.6991, allocations: 322.6 kB / 468.6 MB, free: 3.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.6992, allocations: 41.7 kB / 468.7 MB, free: 3.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.6994, allocations: 180.2 kB / 468.8 MB, free: 3.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.6996, allocations: 110.5 kB / 468.9 MB, free: 3.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.6996, allocations: 8 kB / 469 MB, free: 3.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6998, allocations: 346.8 kB / 469.3 MB, free: 3.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.7002, allocations: 136.4 kB / 469.4 MB, free: 3.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.7008, allocations: 275.8 kB / 469.7 MB, free: 2.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.7014, allocations: 223.3 kB / 469.9 MB, free: 2.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.7014, allocations: 0 / 469.9 MB, free: 2.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001421/0.7028, allocations: 0.552 MB / 470.5 MB, free: 2.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.7029, allocations: 67.39 kB / 470.5 MB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7029, allocations: 8 kB / 470.5 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.703, allocations: 4.562 kB / 470.5 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.7037, allocations: 103.8 kB / 470.6 MB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.7037, allocations: 4 kB / 470.6 MB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.7043, allocations: 59.56 kB / 470.7 MB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.7044, allocations: 24 kB / 470.7 MB, free: 1.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 2 * 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.0002004/0.7046, allocations: 140.7 kB / 470.9 MB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.7047, allocations: 39.58 kB / 470.9 MB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.7059, allocations: 412.3 kB / 471.3 MB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.706, allocations: 8 kB / 471.3 MB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.706, allocations: 0 / 471.3 MB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.706, allocations: 4 kB / 471.3 MB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.7075, allocations: 1.093 MB / 472.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.7076, allocations: 4 kB / 472.4 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/0.7082, allocations: 88.02 kB / 472.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.7083, allocations: 4 kB / 472.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.7083, allocations: 12 kB / 472.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/0.7083, allocations: 7.984 kB / 472.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.7083, allocations: 0 / 472.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.7096, allocations: 0.5678 MB / 473.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.7099, allocations: 160.5 kB / 473.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.71, allocations: 19.98 kB / 473.3 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.7104, allocations: 39.97 kB / 473.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.7106, allocations: 43.84 kB / 473.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.7107, allocations: 19.98 kB / 473.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004391/0.7111, allocations: 250.2 kB / 473.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7111, allocations: 0 / 473.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000721/0.7119, allocations: 115.8 kB / 473.7 MB, free: 14.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003012/0.7149, allocations: 2.036 MB / 475.8 MB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.7161, allocations: 483.1 kB / 476.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7161, allocations: 0 / 476.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.7167, allocations: 199.8 kB / 476.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.7174, allocations: 53.17 kB / 476.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.7195, allocations: 0.664 MB / 477.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.7201, allocations: 0.832 MB / 478 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004843/0.7206, allocations: 86.84 kB / 478.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.7209, allocations: 127.4 kB / 478.2 MB, free: 9.965 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.721, allocations: 0 / 478.2 MB, free: 9.965 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.7627, allocations: 8.192 MB / 486.4 MB, free: 1.785 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003817/0.7631, allocations: 214.7 kB / 486.6 MB, free: 1.551 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.421, allocations: 0 / 486.6 MB, free: 1.551 MB / 410.7 MB