Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.493/2.493, allocations: 233 MB / 246.1 MB, free: 14.78 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.41e-05/5.411e-05, allocations: 4 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 53.25 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.6254, allocations: 93.84 MB / 449.4 MB, free: 7.742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002672/0.6281, allocations: 0.6859 MB / 450.1 MB, free: 7.059 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 latest/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 latest/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.09045/0.7186, allocations: 20.17 MB / 470.2 MB, free: 2.695 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7187, allocations: 0 / 470.2 MB, free: 2.695 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.134e-05/0.7188, allocations: 8 kB / 470.2 MB, free: 2.688 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.002089/0.7209, allocations: 0.7554 MB / 471 MB, free: 1.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.7209, allocations: 16.02 kB / 471 MB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/0.7211, allocations: 54.55 kB / 471.1 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.7228, allocations: 119.9 kB / 471.2 MB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.7241, allocations: 390.6 kB / 471.6 MB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.7242, allocations: 20.56 kB / 471.6 MB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.7243, allocations: 31.97 kB / 471.6 MB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.7255, allocations: 424.2 kB / 472 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.7255, allocations: 0 / 472 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.7256, allocations: 16 kB / 472.1 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.7257, allocations: 24.34 kB / 472.1 MB, free: 0.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.7271, allocations: 476.5 kB / 472.5 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.7312, allocations: 1.867 MB / 474.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.7327, allocations: 361.6 kB / 474.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.7332, allocations: 134.2 kB / 474.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.7332, allocations: 240 / 474.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/0.7339, allocations: 257.5 kB / 475.1 MB, free: 13.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.816e-06/0.7339, allocations: 0 / 475.1 MB, free: 13.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.001289/0.7352, allocations: 365.3 kB / 475.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.7354, allocations: 243.3 kB / 475.7 MB, free: 12.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.7362, allocations: 343.5 kB / 476.1 MB, free: 12.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.7363, allocations: 37.7 kB / 476.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.7366, allocations: 196.1 kB / 476.3 MB, free: 12.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.7367, allocations: 106.9 kB / 476.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.7368, allocations: 11.94 kB / 476.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.737, allocations: 342.8 kB / 476.8 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.7374, allocations: 140.8 kB / 476.9 MB, free: 11.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.7381, allocations: 272.1 kB / 477.2 MB, free: 11.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.7387, allocations: 235.2 kB / 477.4 MB, free: 11.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.7387, allocations: 4 kB / 477.4 MB, free: 11.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001547/0.7403, allocations: 0.5437 MB / 477.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/0.7404, allocations: 67.39 kB / 478 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.7404, allocations: 8 kB / 478 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.7405, allocations: 7.984 kB / 478 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.7413, allocations: 103.8 kB / 478.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/0.7413, allocations: 7.984 kB / 478.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.742, allocations: 71.55 kB / 478.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.7421, allocations: 23.98 kB / 478.2 MB, free: 10.2 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.0002275/0.7424, allocations: 132.8 kB / 478.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7425, allocations: 39.53 kB / 478.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.7438, allocations: 432.3 kB / 478.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.7439, allocations: 4 kB / 478.8 MB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.7439, allocations: 4 kB / 478.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7439, allocations: 0 / 478.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.7455, allocations: 0.9092 MB / 479.7 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7456, allocations: 128 / 479.7 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.7463, allocations: 83.89 kB / 479.8 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.7463, allocations: 3.938 kB / 479.8 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.7464, allocations: 19.98 kB / 479.8 MB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.7464, allocations: 4 kB / 479.8 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.7464, allocations: 0 / 479.8 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.7477, allocations: 0.5232 MB / 480.4 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.7481, allocations: 164.5 kB / 480.5 MB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.7482, allocations: 19.98 kB / 480.5 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.7487, allocations: 31.97 kB / 480.6 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.7489, allocations: 43.91 kB / 480.6 MB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.7489, allocations: 12 kB / 480.6 MB, free: 7.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005059/0.7494, allocations: 266.1 kB / 480.9 MB, free: 7.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7494, allocations: 0 / 480.9 MB, free: 7.355 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008524/0.7503, allocations: 131.7 kB / 481 MB, free: 7.227 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.003159/0.7535, allocations: 1.84 MB / 482.9 MB, free: 5.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.7549, allocations: 482.5 kB / 483.3 MB, free: 4.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.755, allocations: 0 / 483.3 MB, free: 4.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.7556, allocations: 185.1 kB / 483.5 MB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.7563, allocations: 65.38 kB / 483.6 MB, free: 4.656 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.7586, allocations: 0.6714 MB / 484.2 MB, free: 3.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.7593, allocations: 0.8314 MB / 485.1 MB, free: 3.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005357/0.7598, allocations: 91.14 kB / 485.2 MB, free: 2.977 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.7602, allocations: 123.4 kB / 485.3 MB, free: 2.859 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7602, allocations: 0 / 485.3 MB, free: 2.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/0.808, allocations: 8.352 MB / 493.6 MB, free: 10.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003359/0.8084, allocations: 206.7 kB / 493.8 MB, free: 10.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.476, allocations: 8.062 kB / 493.8 MB, free: 10.29 MB / 426.7 MB