Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [: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.001062/0.001062, allocations: 194.3 kB / 8.136 MB, free: 2.184 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.283/1.283, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001775/0.001775, allocations: 116.8 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1717/0.1717, allocations: 37.91 MB / 330.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.733e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 53.23 MB / 443 MB, free: 24.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2615/0.3701, allocations: 89.79 MB / 0.5203 GB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.006188/0.3764, allocations: 2.192 MB / 0.5225 GB, free: 9.863 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. Notification: Performance of FrontEnd: time 0.03702/0.4134, allocations: 15.77 MB / 0.5379 GB, free: 1.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.4135, allocations: 12 kB / 0.5379 GB, free: 1.957 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001088/0.4146, allocations: 0.7747 MB / 0.5386 GB, free: 1.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4146, allocations: 8.031 kB / 0.5386 GB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009747/0.4156, allocations: 123.3 kB / 0.5388 GB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.4161, allocations: 387.3 kB / 0.5391 GB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4162, allocations: 8 kB / 0.5391 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.4162, allocations: 19.94 kB / 0.5392 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005807/0.4168, allocations: 410.2 kB / 0.5396 GB, free: 368 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.4173, allocations: 405.3 kB / 0.5399 GB, free: 36 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4173, allocations: 0 / 0.5399 GB, free: 36 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.4174, allocations: 0 / 0.5399 GB, free: 36 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.4174, allocations: 27.86 kB / 0.54 GB, free: 12 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.4196, allocations: 1.716 MB / 0.5416 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.4201, allocations: 294.1 kB / 0.5419 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.4203, allocations: 125.2 kB / 0.542 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4203, allocations: 12.06 kB / 0.5421 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.4207, allocations: 254.6 kB / 0.5423 GB, free: 14.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.4207, allocations: 0 / 0.5423 GB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006051/0.4213, allocations: 336.7 kB / 0.5426 GB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.4214, allocations: 302.2 kB / 0.5429 GB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4218, allocations: 302.6 kB / 0.5432 GB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.4218, allocations: 32.95 kB / 0.5432 GB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.4219, allocations: 162.4 kB / 0.5434 GB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.782e-05/0.422, allocations: 101.3 kB / 0.5435 GB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.422, allocations: 0 / 0.5435 GB, free: 12.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4221, allocations: 345 kB / 0.5438 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4224, allocations: 127.7 kB / 0.5439 GB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.4227, allocations: 268.6 kB / 0.5442 GB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.4229, allocations: 165.7 kB / 0.5443 GB, free: 12.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4229, allocations: 4 kB / 0.5443 GB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007132/0.4237, allocations: 461 kB / 0.5448 GB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4237, allocations: 4.562 kB / 0.5448 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4237, allocations: 8 kB / 0.5448 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4237, allocations: 8 kB / 0.5448 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.4241, allocations: 98.88 kB / 0.5449 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4241, allocations: 11.94 kB / 0.5449 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.4245, allocations: 62.56 kB / 0.545 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.4245, allocations: 19.44 kB / 0.545 GB, free: 11.55 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 (44): * Single equations (assignments): 42 * 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.0001565/0.4247, allocations: 128.7 kB / 0.5451 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.4248, allocations: 39.61 kB / 0.5451 GB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.4255, allocations: 392.3 kB / 0.5455 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4255, allocations: 4 kB / 0.5455 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4255, allocations: 4 kB / 0.5455 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4255, allocations: 4 kB / 0.5455 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009646/0.4265, allocations: 1.038 MB / 0.5465 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4265, allocations: 4 kB / 0.5466 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.4269, allocations: 87.7 kB / 0.5466 GB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4269, allocations: 4 kB / 0.5466 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.4269, allocations: 4 kB / 0.5466 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.4269, allocations: 4 kB / 0.5466 GB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.4269, allocations: 11.89 kB / 0.5467 GB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007136/0.4276, allocations: 0.5216 MB / 0.5472 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.4278, allocations: 164.4 kB / 0.5473 GB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.4279, allocations: 15.19 kB / 0.5473 GB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.4282, allocations: 27.97 kB / 0.5474 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.4283, allocations: 42.31 kB / 0.5474 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.4283, allocations: 19.3 kB / 0.5474 GB, free: 9.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002154/0.4286, allocations: 231.8 kB / 0.5476 GB, free: 9.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.429, allocations: 107 kB / 0.5477 GB, free: 8.949 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0008251/0.4299, allocations: 366 kB / 0.5481 GB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005656/0.4304, allocations: 395.1 kB / 0.5485 GB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4305, allocations: 4 kB / 0.5485 GB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.4308, allocations: 201.2 kB / 0.5487 GB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.4311, allocations: 64.3 kB / 0.5487 GB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.4322, allocations: 0.539 MB / 0.5493 GB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/0.4328, allocations: 0.8696 MB / 0.5501 GB, free: 6.801 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4328, allocations: 4 kB / 0.5501 GB, free: 6.797 MB / 362.7 MB Notification: Performance of Templates: time 0.009216/0.442, allocations: 4.756 MB / 0.5548 GB, free: 2.074 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1)