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.001295/0.001295, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001482/0.001482, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.184/0.184, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.002067/0.002067, allocations: 67.84 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.306, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005979/0.312, allocations: 4.191 MB / 0.546 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004012/0.316, allocations: 2.471 MB / 0.5484 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.3162, allocations: 15.41 kB / 0.5484 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.3172, allocations: 333.1 kB / 0.5488 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000868/0.3181, allocations: 381.9 kB / 0.5491 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.3189, allocations: 364.2 kB / 0.5495 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006987/0.3196, allocations: 0.6255 MB / 0.5501 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.32, allocations: 218.4 kB / 0.5503 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.3205, allocations: 281.8 kB / 0.5506 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.3209, allocations: 267.9 kB / 0.5508 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.321, allocations: 41.91 kB / 0.5509 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008436/0.3218, allocations: 0.5132 MB / 0.5514 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.322, allocations: 140.6 kB / 0.5515 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.3222, allocations: 165.6 kB / 0.5517 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.3233, allocations: 0.7502 MB / 0.5524 GB, free: 8.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3233, allocations: 3.938 kB / 0.5524 GB, free: 8.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3233, allocations: 0 / 0.5524 GB, free: 8.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3233, allocations: 4 kB / 0.5524 GB, free: 8.477 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.001386/0.3247, allocations: 0.7347 MB / 0.5531 GB, free: 7.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3247, allocations: 14.23 kB / 0.5531 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.247e-05/0.3248, allocations: 67.3 kB / 0.5532 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.3259, allocations: 117.6 kB / 0.5533 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.3265, allocations: 341.8 kB / 0.5536 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3265, allocations: 18.73 kB / 0.5536 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.3265, allocations: 27.56 kB / 0.5537 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.3274, allocations: 493.5 kB / 0.5541 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3274, allocations: 0 / 0.5541 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.3275, allocations: 10.42 kB / 0.5542 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.3275, allocations: 23.77 kB / 0.5542 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.3286, allocations: 0.5189 MB / 0.5547 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.3308, allocations: 1.718 MB / 0.5564 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.332, allocations: 405.1 kB / 0.5567 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.3324, allocations: 157.6 kB / 0.5569 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3324, allocations: 4 kB / 0.5569 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000598/0.333, allocations: 305.4 kB / 0.5572 GB, free: 4.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.333, allocations: 0 / 0.5572 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001481/0.3345, allocations: 0.5509 MB / 0.5577 GB, free: 3.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.3346, allocations: 247.2 kB / 0.558 GB, free: 3.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.3352, allocations: 417.6 kB / 0.5584 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.3352, allocations: 33.7 kB / 0.5584 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3354, allocations: 208.8 kB / 0.5586 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3355, allocations: 111.2 kB / 0.5587 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3356, allocations: 69.69 kB / 0.5588 GB, free: 2.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3358, allocations: 350.8 kB / 0.5591 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.3362, allocations: 178 kB / 0.5593 GB, free: 2.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.3367, allocations: 347.3 kB / 0.5596 GB, free: 1.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/0.3376, allocations: 494.2 kB / 0.5601 GB, free: 1.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3377, allocations: 0 / 0.5601 GB, free: 1.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001211/0.3389, allocations: 0.5864 MB / 0.5606 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.3389, allocations: 41.8 kB / 0.5607 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3389, allocations: 4 kB / 0.5607 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3389, allocations: 4 kB / 0.5607 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.3393, allocations: 95.81 kB / 0.5608 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3393, allocations: 15.92 kB / 0.5608 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3396, allocations: 47.72 kB / 0.5608 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.3397, allocations: 23.98 kB / 0.5609 GB, free: 324 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.0002282/0.3399, allocations: 193.7 kB / 0.5611 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.34, allocations: 47.64 kB / 0.5611 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.3411, allocations: 480.6 kB / 0.5616 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3411, allocations: 8 kB / 0.5616 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3411, allocations: 0 / 0.5616 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.3411, allocations: 7.984 kB / 0.5616 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.3421, allocations: 0.8265 MB / 0.5624 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3421, allocations: 4 kB / 0.5624 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.3424, allocations: 75.88 kB / 0.5625 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3424, allocations: 4 kB / 0.5625 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3424, allocations: 16 kB / 0.5625 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3424, allocations: 4 kB / 0.5625 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3424, allocations: 0 / 0.5625 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3435, allocations: 0.524 MB / 0.563 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.3436, allocations: 51.58 kB / 0.563 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.3437, allocations: 16 kB / 0.5631 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.3439, allocations: 27.97 kB / 0.5631 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.344, allocations: 39.88 kB / 0.5631 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.3441, allocations: 16 kB / 0.5631 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003509/0.3444, allocations: 303.1 kB / 0.5634 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3444, allocations: 0 / 0.5634 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004964/0.3449, allocations: 111.9 kB / 0.5635 GB, free: 13.48 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 (39): * Single equations (assignments): 34 * 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.003218/0.3481, allocations: 1.506 MB / 0.565 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.3492, allocations: 481.8 kB / 0.5655 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3492, allocations: 0 / 0.5655 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.3497, allocations: 212 kB / 0.5657 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.3502, allocations: 69.33 kB / 0.5657 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.3562, allocations: 4.042 MB / 0.5697 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3564, allocations: 218 kB / 0.5699 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.3568, allocations: 95.19 kB / 0.57 GB, free: 6.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.357, allocations: 131.4 kB / 0.5701 GB, free: 6.625 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.357, allocations: 0 / 0.5701 GB, free: 6.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.395, allocations: 10.63 MB / 0.5805 GB, free: 12.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.04, allocations: 7.922 kB / 0.5805 GB, free: 12.05 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 & 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: 14.863784965826198] Failed to read output from testmodel.py, exit status != 0: 12.209338084096089 12.224795691 11.898295303 Calling exit ...