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.001345/0.001345, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001432/0.001432, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.447/1.447, 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.1856/0.1856, 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.002088/0.002088, allocations: 63.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2892, allocations: 62.48 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005962/0.2952, allocations: 4.406 MB / 0.5463 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004349/0.2995, allocations: 2.703 MB / 0.5489 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.2998, allocations: 14.5 kB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3009, allocations: 355.8 kB / 0.5493 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.3019, allocations: 380.1 kB / 0.5497 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009305/0.3028, allocations: 359.2 kB / 0.55 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008094/0.3036, allocations: 0.6264 MB / 0.5506 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.304, allocations: 218.5 kB / 0.5508 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.3046, allocations: 288.6 kB / 0.5511 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004044/0.305, allocations: 267.2 kB / 0.5513 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.3051, allocations: 39.78 kB / 0.5514 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.3061, allocations: 0.6012 MB / 0.552 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3063, allocations: 143.9 kB / 0.5521 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.3065, allocations: 196.5 kB / 0.5523 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3076, allocations: 0.7474 MB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3076, allocations: 0 / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3076, allocations: 1.031 kB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3076, allocations: 0 / 0.553 GB, free: 8.066 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.00141/0.309, allocations: 0.7329 MB / 0.5537 GB, free: 7.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.309, allocations: 13.83 kB / 0.5538 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.766e-05/0.3091, allocations: 67.84 kB / 0.5538 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.3102, allocations: 117.9 kB / 0.5539 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.3109, allocations: 363.5 kB / 0.5543 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.3109, allocations: 22.69 kB / 0.5543 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.3109, allocations: 27.86 kB / 0.5543 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/0.3118, allocations: 457.9 kB / 0.5548 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3119, allocations: 1.062 kB / 0.5548 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.3119, allocations: 14.12 kB / 0.5548 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.3119, allocations: 19.7 kB / 0.5548 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3129, allocations: 485.5 kB / 0.5553 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.3152, allocations: 1.759 MB / 0.557 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.3163, allocations: 365.6 kB / 0.5573 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.3166, allocations: 137.6 kB / 0.5575 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.3167, allocations: 4 kB / 0.5575 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/0.3173, allocations: 293.5 kB / 0.5577 GB, free: 4.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/0.3173, allocations: 0 / 0.5577 GB, free: 4.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001441/0.3187, allocations: 0.513 MB / 0.5582 GB, free: 3.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.3189, allocations: 239.6 kB / 0.5585 GB, free: 3.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.3194, allocations: 373.6 kB / 0.5588 GB, free: 2.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.3194, allocations: 37.7 kB / 0.5589 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.3196, allocations: 208.6 kB / 0.5591 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.3197, allocations: 99.22 kB / 0.5592 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3198, allocations: 77.64 kB / 0.5592 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.32, allocations: 346.8 kB / 0.5596 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.3204, allocations: 144.3 kB / 0.5597 GB, free: 1.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.3209, allocations: 277.8 kB / 0.56 GB, free: 1.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/0.3218, allocations: 461.5 kB / 0.5604 GB, free: 1.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3218, allocations: 8 kB / 0.5604 GB, free: 1.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001175/0.323, allocations: 0.5182 MB / 0.5609 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.323, allocations: 40.5 kB / 0.561 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.323, allocations: 7.938 kB / 0.561 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3231, allocations: 8 kB / 0.561 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.3234, allocations: 95.81 kB / 0.5611 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3234, allocations: 4 kB / 0.5611 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.3238, allocations: 64.02 kB / 0.5611 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.3238, allocations: 16 kB / 0.5611 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.0002388/0.324, allocations: 189.7 kB / 0.5613 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.3241, allocations: 43.7 kB / 0.5614 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.3252, allocations: 415.2 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3252, allocations: 7.938 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3252, allocations: 4 kB / 0.5618 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3252, allocations: 0 / 0.5618 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.3262, allocations: 0.8383 MB / 0.5626 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3262, allocations: 7.969 kB / 0.5626 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.3265, allocations: 59.89 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.3265, allocations: 8 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.3265, allocations: 8 kB / 0.5627 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.3265, allocations: 7.984 kB / 0.5627 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3265, allocations: 3.938 kB / 0.5627 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.3275, allocations: 458.4 kB / 0.5631 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.3276, allocations: 39.69 kB / 0.5632 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.3277, allocations: 12 kB / 0.5632 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.3279, allocations: 27.97 kB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/0.328, allocations: 35.83 kB / 0.5632 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.328, allocations: 15.98 kB / 0.5632 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.3284, allocations: 263.2 kB / 0.5635 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3284, allocations: 4 kB / 0.5635 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000504/0.3289, allocations: 103.8 kB / 0.5636 GB, free: 13.73 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.003138/0.332, allocations: 1.39 MB / 0.565 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.3331, allocations: 402.9 kB / 0.5653 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3331, allocations: 0 / 0.5653 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.3336, allocations: 189 kB / 0.5655 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.3341, allocations: 78.31 kB / 0.5656 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006029/0.3402, allocations: 3.783 MB / 0.5693 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.3407, allocations: 0.8112 MB / 0.5701 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.3409, allocations: 95.19 kB / 0.5702 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3412, allocations: 127.4 kB / 0.5703 GB, free: 6.754 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3412, allocations: 4 kB / 0.5703 GB, free: 6.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04332/0.3845, allocations: 9.48 MB / 0.5796 GB, free: 13.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.26, allocations: 9.438 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 & 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.127481236006133] Failed to read output from testmodel.py, exit status != 0: 12.419127396999102 12.436666634 12.125697742 Calling exit ...