Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.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.WindFarmLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmLoadTest",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.001916/0.001916, allocations: 181.8 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.636/1.636, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001697/0.001697, allocations: 124.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1581/0.1581, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.174e-05, allocations: 4 kB / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.6326, allocations: 93.36 MB / 0.5315 GB, free: 31.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001965/0.6346, allocations: 0.6883 MB / 0.5321 GB, free: 31.14 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. Notification: Performance of FrontEnd - DAE generated: time 0.05113/0.6858, allocations: 21 MB / 0.5526 GB, free: 29.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6858, allocations: 0 / 0.5526 GB, free: 29.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.6859, allocations: 7.812 kB / 0.5526 GB, free: 29.09 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001932/0.6878, allocations: 0.7954 MB / 0.5534 GB, free: 28.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.6879, allocations: 7.75 kB / 0.5534 GB, free: 28.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/0.6881, allocations: 70.2 kB / 0.5535 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.6895, allocations: 157.4 kB / 0.5536 GB, free: 28.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008191/0.6903, allocations: 407.6 kB / 0.554 GB, free: 28.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.6904, allocations: 20.03 kB / 0.5541 GB, free: 28.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.956e-05/0.6905, allocations: 34.75 kB / 0.5541 GB, free: 28.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.6913, allocations: 0.5161 MB / 0.5546 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.6914, allocations: 0 / 0.5546 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.6914, allocations: 18.22 kB / 0.5546 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.177e-05/0.6915, allocations: 26.64 kB / 0.5546 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.6923, allocations: 0.5956 MB / 0.5552 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.6949, allocations: 2.01 MB / 0.5572 GB, free: 27.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.696, allocations: 0.9684 MB / 0.5581 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.6962, allocations: 179.4 kB / 0.5583 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.6963, allocations: 8.094 kB / 0.5583 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.6967, allocations: 272.7 kB / 0.5586 GB, free: 26.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.434e-06/0.6967, allocations: 0 / 0.5586 GB, free: 26.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001219/0.6979, allocations: 0.7256 MB / 0.5593 GB, free: 26.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.698, allocations: 106.7 kB / 0.5594 GB, free: 26.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.6983, allocations: 341.9 kB / 0.5597 GB, free: 26.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.6984, allocations: 36.55 kB / 0.5597 GB, free: 25.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.6985, allocations: 227.7 kB / 0.56 GB, free: 25.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.131e-05/0.6986, allocations: 127.9 kB / 0.5601 GB, free: 25.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.6986, allocations: 11.22 kB / 0.5601 GB, free: 25.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.6987, allocations: 349.3 kB / 0.5604 GB, free: 25.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.699, allocations: 169.4 kB / 0.5606 GB, free: 25.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.6994, allocations: 309.5 kB / 0.5609 GB, free: 25.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.6997, allocations: 281.7 kB / 0.5611 GB, free: 25.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6997, allocations: 0 / 0.5611 GB, free: 25.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008651/0.7006, allocations: 0.6619 MB / 0.5618 GB, free: 25.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.7007, allocations: 66.3 kB / 0.5619 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.7007, allocations: 3.906 kB / 0.5619 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.7008, allocations: 31.78 kB / 0.5619 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.7012, allocations: 105 kB / 0.562 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008742/0.7021, allocations: 1.333 MB / 0.5633 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.7025, allocations: 41.2 kB / 0.5633 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.7025, allocations: 23.47 kB / 0.5634 GB, free: 23.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.7027, allocations: 134.6 kB / 0.5635 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.7027, allocations: 46.81 kB / 0.5635 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000795/0.7035, allocations: 0.5336 MB / 0.564 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7036, allocations: 3.906 kB / 0.5641 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7036, allocations: 4 kB / 0.5641 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.7036, allocations: 3.984 kB / 0.5641 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.705, allocations: 1.15 MB / 0.5652 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.705, allocations: 0 / 0.5652 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.7053, allocations: 87.78 kB / 0.5653 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/0.7054, allocations: 27.3 kB / 0.5653 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.7054, allocations: 15.2 kB / 0.5653 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006336/0.7061, allocations: 1.319 MB / 0.5666 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7061, allocations: 3.938 kB / 0.5666 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006929/0.7068, allocations: 0.6338 MB / 0.5672 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.707, allocations: 158.7 kB / 0.5674 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.7071, allocations: 18.36 kB / 0.5674 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.7074, allocations: 33.47 kB / 0.5674 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.7075, allocations: 48.69 kB / 0.5675 GB, free: 21.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.7075, allocations: 17.38 kB / 0.5675 GB, free: 21.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002562/0.7078, allocations: 263 kB / 0.5677 GB, free: 21.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7078, allocations: 3.906 kB / 0.5677 GB, free: 21.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005457/0.7084, allocations: 146.6 kB / 0.5679 GB, free: 21.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.wind.nextTimeEvent,windFarm.disturbance.count,windFarm.wind.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/0.7101, allocations: 1.717 MB / 0.5696 GB, free: 20.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008272/0.711, allocations: 0.6719 MB / 0.5702 GB, free: 19.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.711, allocations: 1.062 kB / 0.5702 GB, free: 19.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.7113, allocations: 331.4 kB / 0.5705 GB, free: 19.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.7117, allocations: 60.62 kB / 0.5706 GB, free: 19.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.7132, allocations: 0.7693 MB / 0.5713 GB, free: 19.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.7134, allocations: 0.8595 MB / 0.5722 GB, free: 18.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002657/0.7137, allocations: 98.86 kB / 0.5723 GB, free: 18.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.714, allocations: 151.7 kB / 0.5724 GB, free: 18.76 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.714, allocations: 3.906 kB / 0.5724 GB, free: 18.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.7386, allocations: 9.645 MB / 0.5818 GB, free: 16.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.7388, allocations: 230.6 kB / 0.5821 GB, free: 15.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.02, allocations: 0 / 0.5821 GB, free: 15.93 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmLoadTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmLoadTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe 2>&1)