Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001188/0.001188, allocations: 179.8 kB / 8.353 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.719/1.719, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00179/0.00179, allocations: 109.6 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1863/0.1863, allocations: 37.93 MB / 330.9 MB, free: 7.32 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.753e-05, allocations: 4 kB / 390.5 MB, free: 78.14 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 53.24 MB / 443.7 MB, free: 25.01 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5364, allocations: 93.17 MB / 0.5243 GB, free: 9.871 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001446/0.5379, allocations: 0.5741 MB / 0.5248 GB, free: 9.77 MB / 347.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.04454/0.5825, allocations: 20.13 MB / 0.5445 GB, free: 13.66 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5825, allocations: 0 / 0.5445 GB, free: 13.66 MB / 363.1 MB Notification: Performance of Transformations before backend: time 3.076e-05/0.5826, allocations: 4 kB / 0.5445 GB, free: 13.66 MB / 363.1 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.001427/0.584, allocations: 0.762 MB / 0.5452 GB, free: 12.86 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.584, allocations: 8.031 kB / 0.5453 GB, free: 12.86 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009826/0.585, allocations: 123.3 kB / 0.5454 GB, free: 12.73 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.5857, allocations: 390.9 kB / 0.5457 GB, free: 12.37 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.5857, allocations: 4 kB / 0.5457 GB, free: 12.36 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.5858, allocations: 19.98 kB / 0.5458 GB, free: 12.34 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005916/0.5864, allocations: 399.2 kB / 0.5461 GB, free: 12.07 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.5869, allocations: 398.2 kB / 0.5465 GB, free: 11.73 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.587, allocations: 3.938 kB / 0.5465 GB, free: 11.73 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.587, allocations: 7.984 kB / 0.5465 GB, free: 11.72 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.5871, allocations: 24.25 kB / 0.5466 GB, free: 11.7 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.5892, allocations: 1.854 MB / 0.5484 GB, free: 10.08 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.5899, allocations: 345.6 kB / 0.5487 GB, free: 9.828 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.5901, allocations: 116.3 kB / 0.5488 GB, free: 9.75 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.5901, allocations: 4.234 kB / 0.5488 GB, free: 9.746 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.5904, allocations: 265.2 kB / 0.5491 GB, free: 9.512 MB / 363.1 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.5905, allocations: 0 / 0.5491 GB, free: 9.512 MB / 363.1 MB Notification: Performance of matching and sorting (n=31): time 0.0006124/0.5911, allocations: 357.3 kB / 0.5494 GB, free: 9.234 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.5912, allocations: 242.3 kB / 0.5496 GB, free: 8.945 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.5916, allocations: 318.7 kB / 0.5499 GB, free: 8.695 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.5916, allocations: 29.7 kB / 0.55 GB, free: 8.66 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5917, allocations: 198.8 kB / 0.5502 GB, free: 8.508 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.42e-05/0.5918, allocations: 95.7 kB / 0.5503 GB, free: 8.426 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.5919, allocations: 0 / 0.5503 GB, free: 8.426 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.592, allocations: 350.9 kB / 0.5506 GB, free: 8.09 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.5922, allocations: 127.2 kB / 0.5507 GB, free: 8.016 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.5925, allocations: 269.5 kB / 0.551 GB, free: 7.762 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.5928, allocations: 172.5 kB / 0.5511 GB, free: 7.648 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5928, allocations: 0 / 0.5511 GB, free: 7.648 MB / 363.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007222/0.5935, allocations: 486.1 kB / 0.5516 GB, free: 7.277 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.5936, allocations: 62.97 kB / 0.5517 GB, free: 7.207 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5936, allocations: 4 kB / 0.5517 GB, free: 7.203 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5936, allocations: 8 kB / 0.5517 GB, free: 7.195 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.594, allocations: 103.2 kB / 0.5518 GB, free: 7.098 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.594, allocations: 15.92 kB / 0.5518 GB, free: 7.082 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.5944, allocations: 55.7 kB / 0.5518 GB, free: 7.027 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.5944, allocations: 23.11 kB / 0.5519 GB, free: 7.008 MB / 363.1 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 (46): * Single equations (assignments): 44 * 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.0001307/0.5946, allocations: 124.3 kB / 0.552 GB, free: 6.883 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005241/0.5951, allocations: 357.4 kB / 0.5523 GB, free: 6.605 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.5952, allocations: 43.55 kB / 0.5524 GB, free: 6.562 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.5958, allocations: 398.3 kB / 0.5527 GB, free: 6.266 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.5958, allocations: 8 kB / 0.5527 GB, free: 6.258 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5958, allocations: 0 / 0.5527 GB, free: 6.258 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.5959, allocations: 7.984 kB / 0.5527 GB, free: 6.25 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008255/0.5967, allocations: 0.8542 MB / 0.5536 GB, free: 5.469 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5967, allocations: 0 / 0.5536 GB, free: 5.469 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.5971, allocations: 94.55 kB / 0.5537 GB, free: 5.379 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5971, allocations: 4 kB / 0.5537 GB, free: 5.375 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.5971, allocations: 4.125 kB / 0.5537 GB, free: 5.371 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5971, allocations: 8 kB / 0.5537 GB, free: 5.363 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5971, allocations: 0 / 0.5537 GB, free: 5.363 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006312/0.5978, allocations: 0.5123 MB / 0.5542 GB, free: 4.875 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.5979, allocations: 164.9 kB / 0.5543 GB, free: 4.719 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.598, allocations: 7.5 kB / 0.5544 GB, free: 4.715 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.5982, allocations: 27.97 kB / 0.5544 GB, free: 4.688 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.5983, allocations: 38.89 kB / 0.5544 GB, free: 4.656 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.5984, allocations: 26.88 kB / 0.5544 GB, free: 4.633 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.5986, allocations: 235.6 kB / 0.5547 GB, free: 4.457 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5986, allocations: 0 / 0.5547 GB, free: 4.457 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.5991, allocations: 110.1 kB / 0.5548 GB, free: 4.352 MB / 363.1 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 (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.0019/0.601, allocations: 1.758 MB / 0.5565 GB, free: 2.699 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.6016, allocations: 472.8 kB / 0.5569 GB, free: 2.336 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.6017, allocations: 0 / 0.5569 GB, free: 2.336 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.6019, allocations: 186.4 kB / 0.5571 GB, free: 2.215 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.6023, allocations: 55.81 kB / 0.5572 GB, free: 2.172 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.6036, allocations: 0.6325 MB / 0.5578 GB, free: 1.574 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.604, allocations: 0.8266 MB / 0.5586 GB, free: 0.7305 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.6043, allocations: 83.16 kB / 0.5587 GB, free: 0.6484 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.6045, allocations: 135.9 kB / 0.5588 GB, free: 0.5938 MB / 363.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6045, allocations: 0 / 0.5588 GB, free: 0.5938 MB / 363.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0401/0.6447, allocations: 7.638 MB / 0.5663 GB, free: 8.961 MB / 379.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/0.645, allocations: 174.5 kB / 0.5664 GB, free: 8.766 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.682, allocations: 0 / 0.5664 GB, free: 8.766 MB / 379.1 MB (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)