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: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001576/0.001576, allocations: 194.1 kB / 8.137 MB, free: 2.18 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.213/1.213, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001539/0.001539, allocations: 121.1 kB / 247.8 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1678/0.1678, allocations: 37.91 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.113e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08262/0.08264, allocations: 53.24 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/0.3422, allocations: 93.15 MB / 0.5236 GB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.006095/0.3483, allocations: 2.202 MB / 0.5258 GB, free: 9.031 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: time 0.04607/0.3944, allocations: 19.77 MB / 0.5451 GB, free: 12.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.3945, allocations: 12 kB / 0.5451 GB, free: 12.54 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.001738/0.3962, allocations: 0.7978 MB / 0.5459 GB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3963, allocations: 8.031 kB / 0.5459 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.3976, allocations: 126.7 kB / 0.546 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.3985, allocations: 386 kB / 0.5464 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3985, allocations: 8 kB / 0.5464 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.3986, allocations: 23.3 kB / 0.5464 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007122/0.3993, allocations: 399.2 kB / 0.5468 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.4, allocations: 412.8 kB / 0.5472 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4, allocations: 0 / 0.5472 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.4, allocations: 0 / 0.5472 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.4001, allocations: 20.42 kB / 0.5472 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.4027, allocations: 1.865 MB / 0.549 GB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.4032, allocations: 295 kB / 0.5493 GB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.4035, allocations: 123.7 kB / 0.5494 GB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.4035, allocations: 4.234 kB / 0.5494 GB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.4039, allocations: 252 kB / 0.5497 GB, free: 8.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.4039, allocations: 0 / 0.5497 GB, free: 8.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006793/0.4046, allocations: 332.7 kB / 0.55 GB, free: 8.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.4047, allocations: 235.3 kB / 0.5502 GB, free: 7.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.4051, allocations: 316.8 kB / 0.5505 GB, free: 7.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.4051, allocations: 33.2 kB / 0.5505 GB, free: 7.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4053, allocations: 170.8 kB / 0.5507 GB, free: 7.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4054, allocations: 92.97 kB / 0.5508 GB, free: 7.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.4054, allocations: 0 / 0.5508 GB, free: 7.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4056, allocations: 349.6 kB / 0.5511 GB, free: 6.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.4058, allocations: 141.7 kB / 0.5512 GB, free: 6.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.4061, allocations: 265.1 kB / 0.5515 GB, free: 6.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.4065, allocations: 171.3 kB / 0.5517 GB, free: 6.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.4065, allocations: 4 kB / 0.5517 GB, free: 6.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007877/0.4073, allocations: 461.5 kB / 0.5521 GB, free: 6.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4073, allocations: 4 kB / 0.5521 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.4073, allocations: 8 kB / 0.5521 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4073, allocations: 4 kB / 0.5521 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.4078, allocations: 107.5 kB / 0.5522 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.4078, allocations: 11.98 kB / 0.5522 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.4082, allocations: 59.52 kB / 0.5523 GB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.4082, allocations: 23.23 kB / 0.5523 GB, free: 5.977 MB / 362.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 (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.0001339/0.4084, allocations: 124.1 kB / 0.5524 GB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.4084, allocations: 35.53 kB / 0.5525 GB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006868/0.4091, allocations: 400.4 kB / 0.5529 GB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4092, allocations: 11.91 kB / 0.5529 GB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4092, allocations: 0 / 0.5529 GB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4092, allocations: 7.984 kB / 0.5529 GB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008519/0.41, allocations: 0.8592 MB / 0.5537 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.4101, allocations: 4 kB / 0.5537 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.4104, allocations: 83.39 kB / 0.5538 GB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.4104, allocations: 8 kB / 0.5538 GB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.4105, allocations: 11.89 kB / 0.5538 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4105, allocations: 8 kB / 0.5538 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4105, allocations: 0 / 0.5538 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006318/0.4111, allocations: 0.4887 MB / 0.5543 GB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4113, allocations: 161.8 kB / 0.5545 GB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.4114, allocations: 14.62 kB / 0.5545 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.4117, allocations: 27.97 kB / 0.5545 GB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.4118, allocations: 34.39 kB / 0.5545 GB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.4118, allocations: 19.36 kB / 0.5545 GB, free: 3.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000244/0.4121, allocations: 242.8 kB / 0.5548 GB, free: 3.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.4126, allocations: 111.6 kB / 0.5549 GB, free: 3.613 MB / 362.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 (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.0008547/0.4135, allocations: 379 kB / 0.5552 GB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005927/0.4141, allocations: 390.1 kB / 0.5556 GB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4141, allocations: 0 / 0.5556 GB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.4144, allocations: 194.2 kB / 0.5558 GB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.4148, allocations: 57.81 kB / 0.5559 GB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4159, allocations: 0.54 MB / 0.5564 GB, free: 2.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.4165, allocations: 0.8763 MB / 0.5572 GB, free: 1.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4165, allocations: 0 / 0.5572 GB, free: 1.48 MB / 362.7 MB Notification: Performance of Templates: time 0.009583/0.4261, allocations: 4.826 MB / 0.562 GB, free: 12.69 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (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 & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)