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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 123.9 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 185.2 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.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.1779/0.1779, allocations: 38.5 MB / 342.5 MB, free: 8.008 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 65.33 kB / 478.6 MB, free: 33.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09617, allocations: 61.24 MB / 0.5272 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005791/0.102, allocations: 4.29 MB / 0.5314 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.1057, allocations: 2.528 MB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.1059, allocations: 11.94 kB / 0.5339 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1069, allocations: 346.1 kB / 0.5342 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007456/0.1077, allocations: 334.6 kB / 0.5345 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.1085, allocations: 386.9 kB / 0.5349 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007268/0.1093, allocations: 0.6195 MB / 0.5355 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.1096, allocations: 186.2 kB / 0.5357 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.1101, allocations: 275 kB / 0.5359 GB, free: 8.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.1105, allocations: 263 kB / 0.5362 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.1105, allocations: 40 kB / 0.5362 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008698/0.1114, allocations: 0.5534 MB / 0.5368 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.1116, allocations: 143.5 kB / 0.5369 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.1118, allocations: 195 kB / 0.5371 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009333/0.1127, allocations: 0.7006 MB / 0.5378 GB, free: 6.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1127, allocations: 0 / 0.5378 GB, free: 6.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1127, allocations: 0 / 0.5378 GB, free: 6.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1127, allocations: 0 / 0.5378 GB, free: 6.508 MB / 398.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.001385/0.1141, allocations: 0.7815 MB / 0.5385 GB, free: 5.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1141, allocations: 15.89 kB / 0.5385 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.629e-05/0.1142, allocations: 62.72 kB / 0.5386 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.1153, allocations: 120.5 kB / 0.5387 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006685/0.1159, allocations: 423.9 kB / 0.5391 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.116, allocations: 16.94 kB / 0.5391 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.116, allocations: 35.92 kB / 0.5392 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/0.1169, allocations: 453.2 kB / 0.5396 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1169, allocations: 3.938 kB / 0.5396 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.1169, allocations: 8 kB / 0.5396 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.117, allocations: 24.42 kB / 0.5396 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009788/0.1179, allocations: 481.3 kB / 0.5401 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.1202, allocations: 1.787 MB / 0.5418 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.1212, allocations: 369.1 kB / 0.5422 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.1215, allocations: 129.6 kB / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.1215, allocations: 8 kB / 0.5423 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/0.1222, allocations: 285.6 kB / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.1222, allocations: 0 / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.00137/0.1235, allocations: 0.52 MB / 0.5431 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.1237, allocations: 243.3 kB / 0.5433 GB, free: 444 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.1241, allocations: 357.9 kB / 0.5437 GB, free: 76 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.1241, allocations: 41.7 kB / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.1243, allocations: 200.6 kB / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/0.1244, allocations: 111.1 kB / 0.544 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.1246, allocations: 69.7 kB / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1247, allocations: 350.7 kB / 0.5444 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.1251, allocations: 136.3 kB / 0.5446 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.1256, allocations: 285.8 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/0.1265, allocations: 457.6 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1265, allocations: 0 / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001093/0.1276, allocations: 0.5339 MB / 0.5458 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.1276, allocations: 41.58 kB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1276, allocations: 4 kB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1276, allocations: 4 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.128, allocations: 91.88 kB / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.128, allocations: 11.94 kB / 0.5459 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.1283, allocations: 55.94 kB / 0.546 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1283, allocations: 20 kB / 0.546 GB, free: 13.53 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.000239/0.1286, allocations: 197.4 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.1286, allocations: 47.69 kB / 0.5462 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1287, allocations: 51.27 kB / 0.5463 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1288, allocations: 4 kB / 0.5463 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.1288, allocations: 4 kB / 0.5463 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1288, allocations: 3.984 kB / 0.5463 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009176/0.1297, allocations: 0.8508 MB / 0.5471 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1297, allocations: 4 kB / 0.5471 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.13, allocations: 63.89 kB / 0.5472 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.13, allocations: 4 kB / 0.5472 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.13, allocations: 8 kB / 0.5472 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.13, allocations: 8.125 kB / 0.5472 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.13, allocations: 0 / 0.5472 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.1309, allocations: 461.7 kB / 0.5476 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.131, allocations: 116.8 kB / 0.5478 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.1311, allocations: 11.98 kB / 0.5478 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1313, allocations: 23.97 kB / 0.5478 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.1314, allocations: 39.91 kB / 0.5478 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.1314, allocations: 8 kB / 0.5478 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002872/0.1317, allocations: 259.2 kB / 0.5481 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1317, allocations: 3.938 kB / 0.5481 GB, free: 11.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.1321, allocations: 95.88 kB / 0.5482 GB, free: 11.16 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.002736/0.1348, allocations: 1.333 MB / 0.5495 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009133/0.1357, allocations: 411.2 kB / 0.5499 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1357, allocations: 0 / 0.5499 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.1362, allocations: 184.5 kB / 0.5501 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1366, allocations: 82.89 kB / 0.5501 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.1423, allocations: 3.751 MB / 0.5538 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1427, allocations: 0.8034 MB / 0.5546 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.143, allocations: 91.19 kB / 0.5547 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.1432, allocations: 127.4 kB / 0.5548 GB, free: 4.273 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1432, allocations: 8 kB / 0.5548 GB, free: 4.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.1743, allocations: 8.625 MB / 0.5632 GB, free: 11.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.586, allocations: 13.45 kB / 0.5632 GB, free: 11.64 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 sys.exit(0), Time elapsed: 11.323331560008228] Failed to read output from testmodel.py, exit status != 0: 8.718630626332015 8.744636339 8.627280222 Calling exit ...