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.001406/0.001406, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.493/1.493, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001685/0.001685, allocations: 122.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1657/0.1657, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.106e-05, allocations: 4 kB / 397.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.6004, allocations: 93.84 MB / 0.5319 GB, free: 31.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00188/0.6023, allocations: 0.6909 MB / 0.5326 GB, free: 31.22 MB / 378.7 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.04673/0.649, allocations: 20.21 MB / 0.5523 GB, free: 29.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.6491, allocations: 3.906 kB / 0.5523 GB, free: 29.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.6491, allocations: 11.81 kB / 0.5524 GB, free: 29.2 MB / 378.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.001107/0.6502, allocations: 0.7629 MB / 0.5531 GB, free: 28.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.6503, allocations: 15.66 kB / 0.5531 GB, free: 28.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.305e-05/0.6504, allocations: 56.94 kB / 0.5532 GB, free: 28.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/0.6513, allocations: 118.8 kB / 0.5533 GB, free: 28.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.6519, allocations: 395.1 kB / 0.5537 GB, free: 28.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.6519, allocations: 19.75 kB / 0.5537 GB, free: 28.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.652, allocations: 22.28 kB / 0.5537 GB, free: 28.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.6526, allocations: 435 kB / 0.5541 GB, free: 28.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6526, allocations: 0 / 0.5541 GB, free: 28.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.6527, allocations: 13.86 kB / 0.5541 GB, free: 28.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.6527, allocations: 23.39 kB / 0.5542 GB, free: 28.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/0.6533, allocations: 479.5 kB / 0.5546 GB, free: 28.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.6551, allocations: 1.866 MB / 0.5564 GB, free: 27.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.6558, allocations: 380.3 kB / 0.5568 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.656, allocations: 125.2 kB / 0.5569 GB, free: 27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.656, allocations: 4.203 kB / 0.5569 GB, free: 27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.6563, allocations: 259.9 kB / 0.5572 GB, free: 26.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.6564, allocations: 0 / 0.5572 GB, free: 26.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006029/0.657, allocations: 365 kB / 0.5575 GB, free: 26.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.6571, allocations: 245.6 kB / 0.5578 GB, free: 26.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.6574, allocations: 348.8 kB / 0.5581 GB, free: 26.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.6574, allocations: 36.67 kB / 0.5581 GB, free: 26.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.6575, allocations: 200.5 kB / 0.5583 GB, free: 26.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.6576, allocations: 98 kB / 0.5584 GB, free: 26.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.6576, allocations: 3.75 kB / 0.5584 GB, free: 26.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.6577, allocations: 352.7 kB / 0.5587 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.6579, allocations: 138.3 kB / 0.5589 GB, free: 25.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.6581, allocations: 270.8 kB / 0.5591 GB, free: 25.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.6584, allocations: 237 kB / 0.5594 GB, free: 25.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6584, allocations: 0 / 0.5594 GB, free: 25.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006569/0.659, allocations: 0.5594 MB / 0.5599 GB, free: 25.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.6591, allocations: 69.67 kB / 0.56 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.6591, allocations: 3.875 kB / 0.56 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.6592, allocations: 3.906 kB / 0.56 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.6595, allocations: 106.7 kB / 0.5601 GB, free: 25.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.6595, allocations: 7.906 kB / 0.5601 GB, free: 25.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.6599, allocations: 65 kB / 0.5602 GB, free: 25.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.6599, allocations: 22.97 kB / 0.5602 GB, free: 25.42 MB / 378.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.0001272/0.66, allocations: 138.8 kB / 0.5603 GB, free: 25.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.6601, allocations: 42.84 kB / 0.5603 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.6608, allocations: 426.3 kB / 0.5608 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6608, allocations: 7.781 kB / 0.5608 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6609, allocations: 0 / 0.5608 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6609, allocations: 11.3 kB / 0.5608 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.6616, allocations: 0.9132 MB / 0.5617 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6616, allocations: 7.859 kB / 0.5617 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.6619, allocations: 79.81 kB / 0.5617 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.6619, allocations: 3.875 kB / 0.5617 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.6619, allocations: 11.31 kB / 0.5618 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.662, allocations: 12 kB / 0.5618 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.662, allocations: 3.422 kB / 0.5618 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.6625, allocations: 0.5261 MB / 0.5623 GB, free: 24.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.6627, allocations: 160.3 kB / 0.5624 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.6628, allocations: 15.28 kB / 0.5625 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.663, allocations: 40.39 kB / 0.5625 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.6631, allocations: 41.09 kB / 0.5625 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.6631, allocations: 18.05 kB / 0.5626 GB, free: 24.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002319/0.6634, allocations: 262.9 kB / 0.5628 GB, free: 24.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6634, allocations: 0 / 0.5628 GB, free: 24.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.6638, allocations: 123.9 kB / 0.5629 GB, free: 24.14 MB / 378.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.001733/0.6656, allocations: 1.82 MB / 0.5647 GB, free: 22.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.6662, allocations: 487.6 kB / 0.5652 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6662, allocations: 1.125 kB / 0.5652 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.6665, allocations: 192.5 kB / 0.5653 GB, free: 22.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.6668, allocations: 66.25 kB / 0.5654 GB, free: 22.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.6681, allocations: 0.6701 MB / 0.5661 GB, free: 22.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.6685, allocations: 0.8246 MB / 0.5669 GB, free: 21.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002488/0.6687, allocations: 89.09 kB / 0.567 GB, free: 21.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6689, allocations: 131.9 kB / 0.5671 GB, free: 21.56 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6689, allocations: 0 / 0.5671 GB, free: 21.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.6892, allocations: 8.358 MB / 0.5752 GB, free: 20.22 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.6894, allocations: 204 kB / 0.5754 GB, free: 19.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.794, allocations: 0 / 0.5754 GB, free: 19.98 MB / 378.7 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)