Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmGridTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.344/2.344, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.165e-05/4.168e-05, allocations: 7.938 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 53.25 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5791, allocations: 90.47 MB / 446 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002545/0.5817, allocations: 0.683 MB / 446.7 MB, free: 10.43 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.06893/0.6507, allocations: 16.15 MB / 462.8 MB, free: 10.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6508, allocations: 0 / 462.8 MB, free: 10.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.508e-05/0.6508, allocations: 8 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.001945/0.6528, allocations: 0.732 MB / 463.6 MB, free: 9.348 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6529, allocations: 8.031 kB / 463.6 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/0.6531, allocations: 62.55 kB / 463.7 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.6546, allocations: 119.9 kB / 463.8 MB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.6561, allocations: 386.5 kB / 464.2 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.6562, allocations: 16.42 kB / 464.2 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.6563, allocations: 28 kB / 464.2 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.6582, allocations: 425.9 kB / 464.6 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.6582, allocations: 3.938 kB / 464.6 MB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.6583, allocations: 8 kB / 464.6 MB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.6584, allocations: 16.44 kB / 464.6 MB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.6599, allocations: 496.5 kB / 465.1 MB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/0.6639, allocations: 1.773 MB / 466.9 MB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.6655, allocations: 349.6 kB / 467.2 MB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/0.666, allocations: 130.2 kB / 467.4 MB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.666, allocations: 4.234 kB / 467.4 MB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006412/0.6667, allocations: 271.2 kB / 467.6 MB, free: 5.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 3.456e-06/0.6667, allocations: 0 / 467.6 MB, free: 5.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.0012/0.6679, allocations: 377.4 kB / 468 MB, free: 4.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.6681, allocations: 295 kB / 468.3 MB, free: 4.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.6688, allocations: 322.6 kB / 468.6 MB, free: 4.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.669, allocations: 45.62 kB / 468.7 MB, free: 3.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.6692, allocations: 192.2 kB / 468.8 MB, free: 3.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.6693, allocations: 102.5 kB / 468.9 MB, free: 3.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.6694, allocations: 8 kB / 468.9 MB, free: 3.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.6696, allocations: 346.8 kB / 469.3 MB, free: 3.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.6701, allocations: 136.4 kB / 469.4 MB, free: 3.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.6708, allocations: 271.8 kB / 469.7 MB, free: 2.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.6713, allocations: 227.3 kB / 469.9 MB, free: 2.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.6714, allocations: 0 / 469.9 MB, free: 2.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001505/0.6729, allocations: 0.5559 MB / 470.5 MB, free: 2.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.673, allocations: 63.39 kB / 470.5 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.673, allocations: 4 kB / 470.5 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.673, allocations: 8.562 kB / 470.5 MB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/0.6738, allocations: 103.8 kB / 470.6 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.6738, allocations: 8 kB / 470.6 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.6745, allocations: 63.56 kB / 470.7 MB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/0.6745, allocations: 16 kB / 470.7 MB, free: 1.766 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.0002195/0.6748, allocations: 148.7 kB / 470.9 MB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.6749, allocations: 39.56 kB / 470.9 MB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.6763, allocations: 416.3 kB / 471.3 MB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.6764, allocations: 4 kB / 471.3 MB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.6764, allocations: 4 kB / 471.3 MB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6764, allocations: 3.984 kB / 471.3 MB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.6782, allocations: 1.089 MB / 472.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.6782, allocations: 0 / 472.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.6789, allocations: 88.08 kB / 472.5 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.6789, allocations: 4 kB / 472.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.6789, allocations: 11.98 kB / 472.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.679, allocations: 4 kB / 472.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.679, allocations: 7.938 kB / 472.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.6803, allocations: 0.5717 MB / 473.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.6806, allocations: 164.5 kB / 473.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.6808, allocations: 16 kB / 473.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.6813, allocations: 31.97 kB / 473.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.6815, allocations: 43.91 kB / 473.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/0.6816, allocations: 15.98 kB / 473.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000509/0.6821, allocations: 254.1 kB / 473.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6822, allocations: 0 / 473.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008135/0.683, allocations: 119.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.003132/0.6861, allocations: 2.036 MB / 475.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.6876, allocations: 474.9 kB / 476.2 MB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.6877, allocations: 0 / 476.2 MB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006629/0.6884, allocations: 207.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.0006854/0.6891, allocations: 60.62 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.002278/0.6914, allocations: 0.6643 MB / 477.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.692, allocations: 0.8242 MB / 478 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005128/0.6925, allocations: 90.78 kB / 478.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.693, allocations: 123.4 kB / 478.2 MB, free: 9.973 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.693, allocations: 0 / 478.2 MB, free: 9.973 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/0.7382, allocations: 8.189 MB / 486.4 MB, free: 1.793 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/0.7386, allocations: 199.2 kB / 486.6 MB, free: 1.566 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.283, allocations: 0 / 486.6 MB, free: 1.566 MB / 410.7 MB