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.001325/0.001325, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001455/0.001455, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.1844/0.1844, allocations: 38.5 MB / 348.7 MB, free: 2.617 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="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"}) [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.001955/0.001955, allocations: 71.88 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1171, allocations: 62.41 MB / 0.5367 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.0064/0.1235, allocations: 4.31 MB / 0.5409 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.1276, allocations: 2.68 MB / 0.5435 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1278, allocations: 19.81 kB / 0.5435 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.1288, allocations: 346.5 kB / 0.5438 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009213/0.1298, allocations: 374.5 kB / 0.5442 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.1306, allocations: 354.9 kB / 0.5445 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007443/0.1313, allocations: 0.6311 MB / 0.5451 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/0.1317, allocations: 190.2 kB / 0.5453 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.1322, allocations: 294.9 kB / 0.5456 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.1326, allocations: 259.1 kB / 0.5458 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.1326, allocations: 43.94 kB / 0.5459 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1337, allocations: 0.6041 MB / 0.5465 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.1338, allocations: 143.6 kB / 0.5466 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.134, allocations: 194.9 kB / 0.5468 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.135, allocations: 0.7474 MB / 0.5475 GB, free: 12.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1351, allocations: 4 kB / 0.5475 GB, free: 12.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1351, allocations: 0 / 0.5475 GB, free: 12.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.1351, allocations: 4 kB / 0.5475 GB, free: 12.39 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.001416/0.1365, allocations: 0.8008 MB / 0.5483 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1365, allocations: 12.03 kB / 0.5483 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.346e-05/0.1366, allocations: 66.7 kB / 0.5484 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.1377, allocations: 112.6 kB / 0.5485 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.1384, allocations: 428.6 kB / 0.5489 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.1384, allocations: 28.84 kB / 0.5489 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.1384, allocations: 23.94 kB / 0.549 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009268/0.1394, allocations: 457.2 kB / 0.5494 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1394, allocations: 0 / 0.5494 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.1394, allocations: 12 kB / 0.5494 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.1395, allocations: 24.42 kB / 0.5494 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1406, allocations: 481.2 kB / 0.5499 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.1428, allocations: 1.798 MB / 0.5517 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1439, allocations: 365.1 kB / 0.552 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.1443, allocations: 133.6 kB / 0.5521 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.1444, allocations: 11.97 kB / 0.5521 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006218/0.145, allocations: 289.5 kB / 0.5524 GB, free: 7.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.145, allocations: 0 / 0.5524 GB, free: 7.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.00148/0.1465, allocations: 0.5164 MB / 0.5529 GB, free: 6.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.1466, allocations: 239.3 kB / 0.5531 GB, free: 6.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.1471, allocations: 377.6 kB / 0.5535 GB, free: 5.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.1472, allocations: 33.7 kB / 0.5535 GB, free: 5.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.1474, allocations: 212.9 kB / 0.5537 GB, free: 5.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1475, allocations: 107.1 kB / 0.5538 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.1476, allocations: 69.66 kB / 0.5539 GB, free: 5.477 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1477, allocations: 354.8 kB / 0.5542 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.1481, allocations: 140.3 kB / 0.5544 GB, free: 4.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.1487, allocations: 276.4 kB / 0.5546 GB, free: 4.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.1496, allocations: 465.5 kB / 0.5551 GB, free: 4.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1496, allocations: 0 / 0.5551 GB, free: 4.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001205/0.1508, allocations: 0.5263 MB / 0.5556 GB, free: 3.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.1508, allocations: 37.7 kB / 0.5556 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1508, allocations: 4 kB / 0.5556 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.1509, allocations: 12 kB / 0.5557 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.1512, allocations: 91.88 kB / 0.5557 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.1512, allocations: 15.92 kB / 0.5558 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.1515, allocations: 51.72 kB / 0.5558 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.1516, allocations: 19.98 kB / 0.5558 GB, free: 3.359 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.0002294/0.1518, allocations: 193.7 kB / 0.556 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.1519, allocations: 43.7 kB / 0.5561 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.152, allocations: 51.34 kB / 0.5561 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.152, allocations: 4 kB / 0.5561 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.152, allocations: 4 kB / 0.5561 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.152, allocations: 3.938 kB / 0.5561 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009101/0.1529, allocations: 0.8586 MB / 0.557 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1529, allocations: 7.938 kB / 0.557 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.1532, allocations: 63.89 kB / 0.557 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.1532, allocations: 4 kB / 0.557 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.1533, allocations: 11.98 kB / 0.557 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1533, allocations: 4 kB / 0.557 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1533, allocations: 4.062 kB / 0.557 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1543, allocations: 457.8 kB / 0.5575 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1544, allocations: 116.8 kB / 0.5576 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.1545, allocations: 8 kB / 0.5576 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.1547, allocations: 27.97 kB / 0.5576 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1548, allocations: 43.83 kB / 0.5577 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.1548, allocations: 12 kB / 0.5577 GB, free: 1.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003194/0.1551, allocations: 263.2 kB / 0.5579 GB, free: 1.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1551, allocations: 0 / 0.5579 GB, free: 1.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.1557, allocations: 111.8 kB / 0.558 GB, free: 0.9609 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.00318/0.1588, allocations: 1.405 MB / 0.5594 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.1599, allocations: 403.9 kB / 0.5598 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1599, allocations: 4.188 kB / 0.5598 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.1604, allocations: 171.8 kB / 0.56 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.1609, allocations: 76.42 kB / 0.56 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/0.1674, allocations: 3.782 MB / 0.5637 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.1679, allocations: 0.8112 MB / 0.5645 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000299/0.1682, allocations: 91.19 kB / 0.5646 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.1685, allocations: 131.4 kB / 0.5647 GB, free: 9.977 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1685, allocations: 0 / 0.5647 GB, free: 9.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.2007, allocations: 9.144 MB / 0.5737 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.587, allocations: 11.88 kB / 0.5737 GB, free: 0.8516 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.597763573008706] Failed to read output from testmodel.py, exit status != 0: 8.719743166991975 8.736049659 8.597693115 Calling exit ...