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.001298/0.001298, allocations: 182.4 kB / 16.39 MB, free: 5.742 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.195/1.195, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001614/0.001614, allocations: 120 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1592/0.1592, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 12 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09048, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/0.3984, allocations: 93.94 MB / 0.5381 GB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001558/0.4, allocations: 0.8565 MB / 0.539 GB, free: 1.477 MB / 346.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.04633/0.4463, allocations: 20.33 MB / 0.5588 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4464, allocations: 0 / 0.5588 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.4464, allocations: 8 kB / 0.5588 GB, free: 0.543 MB / 362.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.001241/0.4476, allocations: 0.8075 MB / 0.5596 GB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4477, allocations: 19.95 kB / 0.5596 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.73e-05/0.4478, allocations: 64.08 kB / 0.5597 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009293/0.4487, allocations: 119.4 kB / 0.5598 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/0.4493, allocations: 388.8 kB / 0.5602 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.4494, allocations: 18.42 kB / 0.5602 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.4494, allocations: 34.41 kB / 0.5602 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.4502, allocations: 477 kB / 0.5607 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4503, allocations: 0 / 0.5607 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.4503, allocations: 11.44 kB / 0.5607 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.4503, allocations: 23.55 kB / 0.5607 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/0.4513, allocations: 0.5583 MB / 0.5613 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.4534, allocations: 1.867 MB / 0.5631 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4544, allocations: 465 kB / 0.5635 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.4545, allocations: 12.2 kB / 0.5635 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.455, allocations: 303.1 kB / 0.5638 GB, free: 11.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.764e-06/0.455, allocations: 0 / 0.5638 GB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001258/0.4563, allocations: 0.6035 MB / 0.5644 GB, free: 11.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.4564, allocations: 243.3 kB / 0.5646 GB, free: 11.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.4567, allocations: 343 kB / 0.565 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.4568, allocations: 36.08 kB / 0.565 GB, free: 10.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4569, allocations: 200.7 kB / 0.5652 GB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/0.457, allocations: 104 kB / 0.5653 GB, free: 10.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.457, allocations: 7.438 kB / 0.5653 GB, free: 10.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4571, allocations: 346.8 kB / 0.5656 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.4575, allocations: 186.9 kB / 0.5658 GB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.458, allocations: 314.4 kB / 0.5661 GB, free: 9.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.4584, allocations: 275.2 kB / 0.5664 GB, free: 9.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4584, allocations: 3.953 kB / 0.5664 GB, free: 9.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001038/0.4594, allocations: 0.6506 MB / 0.567 GB, free: 9.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.4595, allocations: 67.33 kB / 0.5671 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.4595, allocations: 7.938 kB / 0.5671 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4595, allocations: 8 kB / 0.5671 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.4599, allocations: 99.38 kB / 0.5672 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4599, allocations: 15.92 kB / 0.5672 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.4602, allocations: 57.64 kB / 0.5673 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.4603, allocations: 22.67 kB / 0.5673 GB, free: 8.84 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 () * Number of clocked 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.0001878/0.4605, allocations: 200.8 kB / 0.5675 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.4605, allocations: 43.48 kB / 0.5675 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009799/0.4615, allocations: 0.4994 MB / 0.568 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4615, allocations: 4 kB / 0.568 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4615, allocations: 4 kB / 0.568 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4615, allocations: 0 / 0.568 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.4624, allocations: 0.9162 MB / 0.5689 GB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4624, allocations: 0 / 0.5689 GB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.4627, allocations: 83.02 kB / 0.569 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4627, allocations: 8.125 kB / 0.569 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.4627, allocations: 22.11 kB / 0.569 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4628, allocations: 4 kB / 0.569 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4628, allocations: 0 / 0.569 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009299/0.4637, allocations: 0.608 MB / 0.5696 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.4639, allocations: 170.6 kB / 0.5698 GB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.4639, allocations: 19.8 kB / 0.5698 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.4642, allocations: 31.66 kB / 0.5698 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.4643, allocations: 39.47 kB / 0.5699 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.4643, allocations: 12 kB / 0.5699 GB, free: 6.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002453/0.4646, allocations: 281 kB / 0.5701 GB, free: 6.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4646, allocations: 0 / 0.5701 GB, free: 6.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.465, allocations: 123.5 kB / 0.5703 GB, free: 6.141 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) * Number of clocked states: 0 () * 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.002126/0.4672, allocations: 1.946 MB / 0.5722 GB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009314/0.4681, allocations: 0.5693 MB / 0.5727 GB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4681, allocations: 0 / 0.5727 GB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.4686, allocations: 239.7 kB / 0.5729 GB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.4689, allocations: 63.3 kB / 0.573 GB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.4713, allocations: 4.032 MB / 0.5769 GB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.4717, allocations: 0.8256 MB / 0.5777 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002622/0.472, allocations: 95.08 kB / 0.5778 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.4722, allocations: 127.2 kB / 0.578 GB, free: 14.59 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4722, allocations: 0 / 0.578 GB, free: 14.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.4922, allocations: 8.244 MB / 0.586 GB, free: 6.328 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.4924, allocations: 222.9 kB / 0.5862 GB, free: 6.086 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.444, allocations: 0 / 0.5862 GB, free: 6.086 MB / 394.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)