Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.337/2.337, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.878e-05/5.881e-05, allocations: 7.984 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 53.23 MB / 355.5 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.5809, allocations: 93.84 MB / 449.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002467/0.5834, allocations: 0.683 MB / 450.1 MB, free: 7.094 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems 1.0.0/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems 1.0.0/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). Notification: Performance of FrontEnd - DAE generated: time 0.08469/0.6681, allocations: 20.19 MB / 470.2 MB, free: 2.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6682, allocations: 0 / 470.2 MB, free: 2.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.753e-05/0.6682, allocations: 8 kB / 470.2 MB, free: 2.711 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001833/0.6701, allocations: 0.7554 MB / 471 MB, free: 1.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6701, allocations: 8.031 kB / 471 MB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.6703, allocations: 62.53 kB / 471.1 MB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.6718, allocations: 123.9 kB / 471.2 MB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009501/0.6728, allocations: 390.6 kB / 471.6 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.6729, allocations: 16.56 kB / 471.6 MB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.673, allocations: 27.98 kB / 471.6 MB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.674, allocations: 428.2 kB / 472 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.6741, allocations: 0 / 472 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/0.6741, allocations: 15.92 kB / 472 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-05/0.6742, allocations: 20.44 kB / 472.1 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.6755, allocations: 472.5 kB / 472.5 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.6791, allocations: 1.874 MB / 474.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6806, allocations: 361.6 kB / 474.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.6809, allocations: 126.2 kB / 474.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.681, allocations: 8.234 kB / 474.9 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000578/0.6816, allocations: 253.5 kB / 475.1 MB, free: 13.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.056e-06/0.6816, allocations: 0 / 475.1 MB, free: 13.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.001123/0.6827, allocations: 369.2 kB / 475.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.6829, allocations: 235.3 kB / 475.7 MB, free: 12.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.6836, allocations: 347.5 kB / 476.1 MB, free: 12.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.6836, allocations: 37.89 kB / 476.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.6839, allocations: 211.9 kB / 476.3 MB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.684, allocations: 94.73 kB / 476.4 MB, free: 12.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.6841, allocations: 8 kB / 476.4 MB, free: 12.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.6842, allocations: 350.8 kB / 476.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.6847, allocations: 132.8 kB / 476.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005313/0.6852, allocations: 276.1 kB / 477.2 MB, free: 11.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.6857, allocations: 231.2 kB / 477.4 MB, free: 11.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6858, allocations: 0 / 477.4 MB, free: 11.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001402/0.6872, allocations: 0.5551 MB / 477.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.6873, allocations: 63.39 kB / 478 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6873, allocations: 4 kB / 478 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.6873, allocations: 8 kB / 478 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.6881, allocations: 100.2 kB / 478.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.6881, allocations: 12 kB / 478.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.6887, allocations: 67.5 kB / 478.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.6888, allocations: 20 kB / 478.2 MB, free: 10.24 MB / 410.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 (45): * Single equations (assignments): 43 * 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.0002153/0.689, allocations: 140.8 kB / 478.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.6892, allocations: 35.53 kB / 478.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.6904, allocations: 432.3 kB / 478.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.6904, allocations: 4 kB / 478.8 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6904, allocations: 3.984 kB / 478.8 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6905, allocations: 4 kB / 478.8 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.6918, allocations: 0.9053 MB / 479.7 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/0.6919, allocations: 7.984 kB / 479.7 MB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.6925, allocations: 79.89 kB / 479.8 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.6925, allocations: 4 kB / 479.8 MB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.6926, allocations: 8 kB / 479.8 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.6926, allocations: 4 kB / 479.8 MB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.6926, allocations: 8.109 kB / 479.8 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.6937, allocations: 0.531 MB / 480.4 MB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.694, allocations: 160.5 kB / 480.5 MB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6941, allocations: 16 kB / 480.5 MB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.6946, allocations: 35.97 kB / 480.6 MB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.6947, allocations: 43.89 kB / 480.6 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.6948, allocations: 16 kB / 480.6 MB, free: 7.637 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004401/0.6953, allocations: 266.1 kB / 480.9 MB, free: 7.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.435e-06/0.6953, allocations: 0 / 480.9 MB, free: 7.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007032/0.696, allocations: 127.6 kB / 481 MB, free: 7.254 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 34 * 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.002797/0.6988, allocations: 1.844 MB / 482.8 MB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.6999, allocations: 478.5 kB / 483.3 MB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7, allocations: 1.125 kB / 483.3 MB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.7005, allocations: 192.1 kB / 483.5 MB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.7012, allocations: 68.8 kB / 483.6 MB, free: 4.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.7034, allocations: 0.6675 MB / 484.2 MB, free: 3.949 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.7042, allocations: 0.8237 MB / 485.1 MB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006561/0.7049, allocations: 91.11 kB / 485.2 MB, free: 3.008 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.7054, allocations: 135.4 kB / 485.3 MB, free: 2.879 MB / 410.7 MB Notification: Performance of SimCode: time 8.716e-06/0.7054, allocations: 0 / 485.3 MB, free: 2.879 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/0.7541, allocations: 8.349 MB / 493.6 MB, free: 10.54 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/0.7545, allocations: 199.1 kB / 493.8 MB, free: 10.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.39, allocations: 0 / 493.8 MB, free: 10.31 MB / 426.7 MB