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.001886/0.001886, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00229/0.00229, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.1877/0.1877, allocations: 38.55 MB / 352.5 MB, free: 12.31 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.002297/0.002297, allocations: 67.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2988, allocations: 62.47 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005889/0.3047, allocations: 4.179 MB / 0.546 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.3086, allocations: 2.468 MB / 0.5484 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.3088, allocations: 18.25 kB / 0.5484 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.31, allocations: 333.7 kB / 0.5488 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008861/0.3108, allocations: 381.8 kB / 0.5491 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.3117, allocations: 355.5 kB / 0.5495 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006889/0.3124, allocations: 0.6343 MB / 0.5501 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.3127, allocations: 217.6 kB / 0.5503 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.3133, allocations: 281.7 kB / 0.5506 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.3136, allocations: 248.3 kB / 0.5508 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.3137, allocations: 42.66 kB / 0.5508 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.3146, allocations: 0.4924 MB / 0.5513 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.3147, allocations: 149.2 kB / 0.5515 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3149, allocations: 165.5 kB / 0.5516 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.3159, allocations: 0.757 MB / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3159, allocations: 1.438 kB / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3159, allocations: 0 / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.3159, allocations: 0 / 0.5524 GB, free: 8.496 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.001348/0.3173, allocations: 0.7271 MB / 0.5531 GB, free: 7.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3173, allocations: 12.77 kB / 0.5531 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.22e-05/0.3174, allocations: 71.61 kB / 0.5532 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.3184, allocations: 118.3 kB / 0.5533 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.319, allocations: 333.4 kB / 0.5536 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.3191, allocations: 27 kB / 0.5536 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.3191, allocations: 24.28 kB / 0.5536 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/0.32, allocations: 496.1 kB / 0.5541 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.32, allocations: 9.062 kB / 0.5541 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.32, allocations: 10.39 kB / 0.5541 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.3201, allocations: 23.67 kB / 0.5541 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.3212, allocations: 0.5224 MB / 0.5547 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.3235, allocations: 1.72 MB / 0.5563 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.3247, allocations: 413 kB / 0.5567 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.3251, allocations: 145.6 kB / 0.5569 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.3251, allocations: 4 kB / 0.5569 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005986/0.3257, allocations: 301.5 kB / 0.5572 GB, free: 4.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.225e-06/0.3257, allocations: 4 kB / 0.5572 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001447/0.3272, allocations: 0.5551 MB / 0.5577 GB, free: 3.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.3273, allocations: 239.4 kB / 0.5579 GB, free: 3.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.3278, allocations: 417.6 kB / 0.5583 GB, free: 3.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.3278, allocations: 37.7 kB / 0.5584 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.328, allocations: 204.6 kB / 0.5586 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.3281, allocations: 111.1 kB / 0.5587 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3282, allocations: 73.69 kB / 0.5587 GB, free: 2.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3284, allocations: 346.8 kB / 0.5591 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.3288, allocations: 182 kB / 0.5592 GB, free: 2.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.3294, allocations: 349.2 kB / 0.5596 GB, free: 1.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/0.3303, allocations: 494.2 kB / 0.56 GB, free: 1.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3303, allocations: 4 kB / 0.5601 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001195/0.3315, allocations: 0.5783 MB / 0.5606 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.3316, allocations: 45.62 kB / 0.5607 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3316, allocations: 4 kB / 0.5607 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3316, allocations: 8 kB / 0.5607 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.332, allocations: 87.88 kB / 0.5608 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.332, allocations: 8.312 kB / 0.5608 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.3323, allocations: 63.7 kB / 0.5608 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.3323, allocations: 16 kB / 0.5608 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.0002421/0.3326, allocations: 189.7 kB / 0.561 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.3327, allocations: 47.69 kB / 0.5611 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.3338, allocations: 484.6 kB / 0.5615 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3338, allocations: 4 kB / 0.5615 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3338, allocations: 4 kB / 0.5615 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3338, allocations: 0 / 0.5615 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.3348, allocations: 0.8304 MB / 0.5623 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3348, allocations: 0 / 0.5623 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.3351, allocations: 75.83 kB / 0.5624 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3351, allocations: 8.125 kB / 0.5624 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.3351, allocations: 8 kB / 0.5624 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.3351, allocations: 11.98 kB / 0.5624 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3351, allocations: 4 kB / 0.5625 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3362, allocations: 0.52 MB / 0.563 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.3363, allocations: 55.58 kB / 0.563 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.3363, allocations: 16 kB / 0.563 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3366, allocations: 27.97 kB / 0.5631 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3367, allocations: 39.88 kB / 0.5631 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.3367, allocations: 19.98 kB / 0.5631 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.337, allocations: 291.2 kB / 0.5634 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.337, allocations: 0 / 0.5634 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.3375, allocations: 111.9 kB / 0.5635 GB, free: 13.49 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.003179/0.3407, allocations: 1.52 MB / 0.565 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3417, allocations: 481.6 kB / 0.5654 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3417, allocations: 0 / 0.5654 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.3422, allocations: 207.7 kB / 0.5656 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.0004851/0.3427, allocations: 72.14 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.006336/0.349, 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.0002487/0.3492, allocations: 218 kB / 0.5699 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.3495, allocations: 91.2 kB / 0.5699 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.3498, allocations: 139.4 kB / 0.5701 GB, free: 6.621 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3498, allocations: 0 / 0.5701 GB, free: 6.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.3912, allocations: 10.48 MB / 0.5803 GB, free: 12.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.15, allocations: 3.938 kB / 0.5803 GB, free: 12.2 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: 15.075804133433849] Failed to read output from testmodel.py, exit status != 0: 12.325010287575424 12.343909482 12.024752036 Calling exit ...