Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001342/0.001342, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001362/0.001362, allocations: 215 kB / 21.45 MB, free: 1.617 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.55/1.55, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1907/0.1907, allocations: 38.51 MB / 349.4 MB, free: 2.633 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_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.001987/0.001987, allocations: 67.25 kB / 487.8 MB, free: 32.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 62.42 MB / 0.5374 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006698/0.1232, allocations: 4.318 MB / 0.5416 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.1277, allocations: 2.673 MB / 0.5442 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.1281, allocations: 15.88 kB / 0.5442 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.1294, allocations: 350.5 kB / 0.5445 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.1306, allocations: 378.4 kB / 0.5449 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1317, allocations: 354.9 kB / 0.5452 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009247/0.1326, allocations: 0.6235 MB / 0.5458 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.133, allocations: 194.2 kB / 0.546 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.1336, allocations: 286.8 kB / 0.5463 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.1341, allocations: 271 kB / 0.5466 GB, free: 232 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.33e-05/0.1342, allocations: 44 kB / 0.5466 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1355, allocations: 0.5963 MB / 0.5472 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.1358, allocations: 151.5 kB / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.1362, allocations: 195 kB / 0.5475 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.1382, allocations: 0.7473 MB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1382, allocations: 0 / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1382, allocations: 0 / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.1383, allocations: 0 / 0.5482 GB, free: 14.5 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.002679/0.1409, allocations: 0.8087 MB / 0.549 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/0.141, allocations: 12.02 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.111e-05/0.141, allocations: 4.75 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.1412, allocations: 66.67 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.1427, allocations: 112.6 kB / 0.5492 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.1435, allocations: 432.6 kB / 0.5496 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.1436, allocations: 24.69 kB / 0.5496 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.1436, allocations: 23.98 kB / 0.5497 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1447, allocations: 449.2 kB / 0.5501 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1447, allocations: 7.938 kB / 0.5501 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.1447, allocations: 8 kB / 0.5501 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.1448, allocations: 24.42 kB / 0.5501 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.146, allocations: 489.2 kB / 0.5506 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.1484, allocations: 1.795 MB / 0.5524 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1495, allocations: 361.1 kB / 0.5527 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.1499, allocations: 137.6 kB / 0.5528 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.1499, allocations: 15.92 kB / 0.5528 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000601/0.1505, allocations: 285.5 kB / 0.5531 GB, free: 9.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.525e-06/0.1505, allocations: 0 / 0.5531 GB, free: 9.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.001461/0.152, allocations: 0.5093 MB / 0.5536 GB, free: 8.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.1521, allocations: 239.3 kB / 0.5538 GB, free: 8.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.1526, allocations: 369.6 kB / 0.5542 GB, free: 8.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.1527, allocations: 37.7 kB / 0.5542 GB, free: 7.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1529, allocations: 208.6 kB / 0.5544 GB, free: 7.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.153, allocations: 111.1 kB / 0.5545 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1531, allocations: 81.7 kB / 0.5546 GB, free: 7.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1533, allocations: 346.8 kB / 0.5549 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.1537, allocations: 140.2 kB / 0.5551 GB, free: 7.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.1542, allocations: 276.4 kB / 0.5553 GB, free: 6.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009273/0.1551, allocations: 469.5 kB / 0.5558 GB, free: 6.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.1551, allocations: 4 kB / 0.5558 GB, free: 6.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001245/0.1564, allocations: 0.5219 MB / 0.5563 GB, free: 5.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.1564, allocations: 38.2 kB / 0.5563 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1564, allocations: 8 kB / 0.5564 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.1565, allocations: 11.98 kB / 0.5564 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.1568, allocations: 87.89 kB / 0.5564 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.1568, allocations: 15.92 kB / 0.5565 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.1572, allocations: 51.72 kB / 0.5565 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.1572, allocations: 19.98 kB / 0.5565 GB, free: 5.445 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.0002421/0.1574, allocations: 197.7 kB / 0.5567 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.1575, allocations: 39.7 kB / 0.5568 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1576, allocations: 51.34 kB / 0.5568 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1577, allocations: 8 kB / 0.5568 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1577, allocations: 0 / 0.5568 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1577, allocations: 4 kB / 0.5568 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009146/0.1586, allocations: 0.8547 MB / 0.5577 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1586, allocations: 0 / 0.5577 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.1589, allocations: 67.89 kB / 0.5577 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.1589, allocations: 0 / 0.5577 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.1589, allocations: 15.98 kB / 0.5577 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1589, allocations: 0 / 0.5577 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1589, allocations: 7.938 kB / 0.5577 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.16, allocations: 464.7 kB / 0.5582 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1601, allocations: 116.8 kB / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.1601, allocations: 8 kB / 0.5583 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1604, allocations: 23.97 kB / 0.5583 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.1605, allocations: 43.83 kB / 0.5584 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.1605, allocations: 8 kB / 0.5584 GB, free: 3.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003147/0.1608, allocations: 271.2 kB / 0.5586 GB, free: 3.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1608, allocations: 0 / 0.5586 GB, free: 3.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000485/0.1613, allocations: 111.8 kB / 0.5587 GB, free: 3.055 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.003029/0.1643, allocations: 1.389 MB / 0.5601 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1653, allocations: 414.8 kB / 0.5605 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1653, allocations: 1.125 kB / 0.5605 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.1658, allocations: 176 kB / 0.5607 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.1663, allocations: 77.98 kB / 0.5607 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/0.173, allocations: 3.789 MB / 0.5644 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.1735, allocations: 0.8112 MB / 0.5652 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002874/0.1738, allocations: 83.2 kB / 0.5653 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.1741, allocations: 135.4 kB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1741, allocations: 0 / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.2036, allocations: 9.186 MB / 0.5744 GB, free: 2.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.83/9.033, allocations: 15.98 kB / 0.5744 GB, free: 2.914 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.151413383020554] Failed to read output from testmodel.py, exit status != 0: 9.2272864789702 9.251016941 9.109469314 Calling exit ...