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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1861/0.1861, allocations: 38.5 MB / 349.4 MB, free: 2.621 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 64.81 kB / 487.8 MB, free: 32.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1147, allocations: 62.42 MB / 0.5374 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005982/0.1207, allocations: 4.3 MB / 0.5416 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004123/0.1249, allocations: 2.68 MB / 0.5442 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.125, allocations: 15.88 kB / 0.5442 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.1261, allocations: 350.5 kB / 0.5445 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008634/0.1269, allocations: 378.4 kB / 0.5449 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008066/0.1277, allocations: 354.9 kB / 0.5452 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007319/0.1285, allocations: 0.6273 MB / 0.5458 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.1288, allocations: 194.2 kB / 0.546 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.1293, allocations: 282.9 kB / 0.5463 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.1297, allocations: 267.1 kB / 0.5465 GB, free: 112 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.1298, allocations: 40 kB / 0.5466 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1308, allocations: 0.5963 MB / 0.5472 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.131, allocations: 155.5 kB / 0.5473 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1312, allocations: 199 kB / 0.5475 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.1322, allocations: 0.7473 MB / 0.5482 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1322, allocations: 0 / 0.5482 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1322, allocations: 0 / 0.5482 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1322, allocations: 0 / 0.5482 GB, free: 14.38 MB / 414.1 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.00154/0.1338, allocations: 0.8086 MB / 0.549 GB, free: 13.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1338, allocations: 16.03 kB / 0.549 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.16e-05/0.1339, allocations: 8.75 kB / 0.549 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.147e-05/0.1339, allocations: 62.72 kB / 0.5491 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.135, allocations: 120.5 kB / 0.5492 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.1357, allocations: 424.6 kB / 0.5496 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.1358, allocations: 24.67 kB / 0.5497 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.1358, allocations: 20 kB / 0.5497 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.1367, allocations: 457.2 kB / 0.5501 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1367, allocations: 3.984 kB / 0.5501 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.1368, allocations: 12 kB / 0.5501 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.1368, allocations: 20.42 kB / 0.5501 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.1379, allocations: 493.2 kB / 0.5506 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1401, allocations: 1.787 MB / 0.5524 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.1411, allocations: 365.1 kB / 0.5527 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.1415, allocations: 133.6 kB / 0.5528 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.233e-05/0.1416, allocations: 23.92 kB / 0.5529 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.1421, allocations: 277.5 kB / 0.5531 GB, free: 9.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.1421, allocations: 0 / 0.5531 GB, free: 9.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.001427/0.1436, allocations: 0.5094 MB / 0.5536 GB, free: 8.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.1437, allocations: 251.3 kB / 0.5539 GB, free: 8.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.1442, allocations: 365.6 kB / 0.5542 GB, free: 7.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.1442, allocations: 37.7 kB / 0.5542 GB, free: 7.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1444, allocations: 208.6 kB / 0.5544 GB, free: 7.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1445, allocations: 111.1 kB / 0.5545 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1446, allocations: 73.64 kB / 0.5546 GB, free: 7.438 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1448, allocations: 350.8 kB / 0.555 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.1453, allocations: 140.3 kB / 0.5551 GB, free: 6.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.1458, allocations: 280.4 kB / 0.5554 GB, free: 6.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.1467, allocations: 469.5 kB / 0.5558 GB, free: 6.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1468, allocations: 0 / 0.5558 GB, free: 6.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001296/0.148, allocations: 0.522 MB / 0.5563 GB, free: 5.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.1481, allocations: 41.62 kB / 0.5563 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1481, allocations: 4 kB / 0.5564 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.1481, allocations: 4 kB / 0.5564 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.1485, allocations: 96.31 kB / 0.5564 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.1485, allocations: 11.94 kB / 0.5565 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.1489, allocations: 55.7 kB / 0.5565 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.1489, allocations: 20 kB / 0.5565 GB, free: 5.32 MB / 414.1 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 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.1492, allocations: 185.7 kB / 0.5567 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1493, allocations: 47.69 kB / 0.5568 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.1494, allocations: 47.36 kB / 0.5568 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1494, allocations: 8 kB / 0.5568 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1494, allocations: 4 kB / 0.5568 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1495, allocations: 3.984 kB / 0.5568 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.1504, allocations: 0.8547 MB / 0.5576 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.1504, allocations: 4 kB / 0.5577 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.1507, allocations: 68.02 kB / 0.5577 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1507, allocations: 4 kB / 0.5577 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.1507, allocations: 11.98 kB / 0.5577 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.1507, allocations: 4 kB / 0.5577 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1507, allocations: 7.938 kB / 0.5577 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1517, allocations: 456.6 kB / 0.5582 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1518, allocations: 116.8 kB / 0.5583 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.1519, allocations: 19.98 kB / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1521, allocations: 23.97 kB / 0.5583 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.1522, allocations: 35.84 kB / 0.5584 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.1523, allocations: 15.98 kB / 0.5584 GB, free: 3.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003147/0.1526, allocations: 263.2 kB / 0.5586 GB, free: 3.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1526, allocations: 0 / 0.5586 GB, free: 3.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000528/0.1531, allocations: 107.8 kB / 0.5587 GB, free: 2.934 MB / 414.1 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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003042/0.1561, allocations: 1.402 MB / 0.5601 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.1573, allocations: 411.3 kB / 0.5605 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1573, allocations: 0 / 0.5605 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.1578, allocations: 172.8 kB / 0.5607 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.1584, allocations: 76.7 kB / 0.5607 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/0.165, allocations: 3.785 MB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.1655, allocations: 0.8112 MB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.1658, allocations: 91.2 kB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.166, allocations: 123.4 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.166, allocations: 0 / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.1968, allocations: 9.178 MB / 0.5744 GB, free: 2.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.977/9.174, allocations: 15.81 kB / 0.5744 GB, free: 2.801 MB / 430.1 MB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.265267848037183] Failed to read output from testmodel.py, exit status != 0: 9.371089835010935 9.39615985 9.258851411 Calling exit ...