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.001358/0.001358, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.001537/0.001537, allocations: 212 kB / 23.74 MB, free: 4.688 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1898/0.1898, allocations: 38.53 MB / 352.5 MB, free: 12.54 MB / 286.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.002227/0.002227, allocations: 71.89 kB / 492.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3242, allocations: 62.46 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00626/0.3305, allocations: 4.416 MB / 0.5463 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.3347, allocations: 2.707 MB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.335, allocations: 15.81 kB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.3361, allocations: 343.1 kB / 0.5493 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.3372, allocations: 388.9 kB / 0.5497 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3382, allocations: 354.8 kB / 0.55 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009891/0.3392, allocations: 0.6307 MB / 0.5506 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005146/0.3397, allocations: 221.9 kB / 0.5508 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007416/0.3405, allocations: 288.7 kB / 0.5511 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.341, allocations: 259.2 kB / 0.5513 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.3411, allocations: 39.56 kB / 0.5514 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.3422, allocations: 0.6054 MB / 0.552 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.3424, allocations: 143.5 kB / 0.5521 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3426, allocations: 196.5 kB / 0.5523 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3437, allocations: 0.7515 MB / 0.553 GB, free: 8.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3437, allocations: 0 / 0.553 GB, free: 8.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3437, allocations: 1.344 kB / 0.553 GB, free: 8.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.3437, allocations: 0 / 0.553 GB, free: 8.059 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.001445/0.3451, allocations: 0.7331 MB / 0.5538 GB, free: 7.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3452, allocations: 12.77 kB / 0.5538 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.949e-05/0.3452, allocations: 67.72 kB / 0.5538 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.3463, allocations: 114.5 kB / 0.5539 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.347, allocations: 362.9 kB / 0.5543 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.3471, allocations: 27.45 kB / 0.5543 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.3471, allocations: 27.25 kB / 0.5543 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/0.348, allocations: 450.1 kB / 0.5548 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.348, allocations: 1.125 kB / 0.5548 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.348, allocations: 19.05 kB / 0.5548 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.3481, allocations: 19.89 kB / 0.5548 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3491, allocations: 480.8 kB / 0.5553 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.3516, allocations: 1.758 MB / 0.557 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009857/0.3526, allocations: 361.9 kB / 0.5573 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3529, allocations: 141.6 kB / 0.5575 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.353, allocations: 4 kB / 0.5575 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005634/0.3535, allocations: 293.5 kB / 0.5577 GB, free: 4.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.3535, allocations: 0 / 0.5577 GB, free: 4.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.00135/0.3549, allocations: 0.5091 MB / 0.5582 GB, free: 3.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.355, allocations: 239.3 kB / 0.5585 GB, free: 3.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.3555, allocations: 373.9 kB / 0.5588 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.3555, allocations: 37.7 kB / 0.5589 GB, free: 2.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3557, allocations: 212.5 kB / 0.5591 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.3558, allocations: 95.23 kB / 0.5592 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3559, allocations: 77.64 kB / 0.5592 GB, free: 2.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.356, allocations: 346.8 kB / 0.5596 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.3564, allocations: 140.3 kB / 0.5597 GB, free: 2.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.3569, allocations: 281.8 kB / 0.56 GB, free: 1.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/0.3577, allocations: 461.5 kB / 0.5604 GB, free: 1.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3577, allocations: 8 kB / 0.5604 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001085/0.3588, allocations: 0.5221 MB / 0.5609 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.3589, allocations: 37.7 kB / 0.561 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3589, allocations: 4 kB / 0.561 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3589, allocations: 8 kB / 0.561 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.3592, allocations: 95.75 kB / 0.5611 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3593, allocations: 8 kB / 0.5611 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.3596, allocations: 67.98 kB / 0.5611 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3596, allocations: 19.98 kB / 0.5612 GB, free: 376 kB / 398.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.0002113/0.3598, allocations: 189.7 kB / 0.5613 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.3599, allocations: 43.69 kB / 0.5614 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3609, allocations: 415.2 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3609, allocations: 7.938 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.3609, allocations: 4 kB / 0.5618 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.3609, allocations: 3.938 kB / 0.5618 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009323/0.3618, allocations: 0.8266 MB / 0.5626 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3618, allocations: 8.031 kB / 0.5626 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.3621, allocations: 63.89 kB / 0.5627 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3621, allocations: 4 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.3622, allocations: 11.98 kB / 0.5627 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3622, allocations: 4 kB / 0.5627 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3622, allocations: 3.938 kB / 0.5627 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.3631, allocations: 454.4 kB / 0.5631 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.3632, allocations: 43.69 kB / 0.5632 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.3633, allocations: 12 kB / 0.5632 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3635, allocations: 27.97 kB / 0.5632 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3636, allocations: 39.81 kB / 0.5632 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.3636, allocations: 12 kB / 0.5632 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.3639, allocations: 263.2 kB / 0.5635 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3639, allocations: 4 kB / 0.5635 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004604/0.3644, allocations: 107.8 kB / 0.5636 GB, free: 13.74 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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * 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.002925/0.3673, allocations: 1.384 MB / 0.565 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009346/0.3682, allocations: 406.9 kB / 0.5653 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3682, allocations: 0 / 0.5653 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.3687, allocations: 181.1 kB / 0.5655 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.3691, allocations: 82 kB / 0.5656 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.3748, allocations: 3.781 MB / 0.5693 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.3754, allocations: 0.8151 MB / 0.5701 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002914/0.3756, allocations: 91.19 kB / 0.5702 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.3759, allocations: 127.4 kB / 0.5703 GB, free: 6.766 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3759, allocations: 4 kB / 0.5703 GB, free: 6.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03914/0.415, allocations: 9.489 MB / 0.5796 GB, free: 13.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 14.41 kB / 0.5796 GB, free: 13.31 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.748784604948014] Failed to read output from testmodel.py, exit status != 0: 12.062356573995203 12.07910066 11.731850111 Calling exit ...