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.001373/0.001373, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001505/0.001505, allocations: 209 kB / 24.48 MB, free: 3.938 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2026/0.2026, allocations: 38.56 MB / 353.2 MB, free: 12.37 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: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [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.00215/0.00215, allocations: 67.89 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2973, allocations: 62.46 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006143/0.3035, allocations: 4.185 MB / 0.5472 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.3078, allocations: 2.471 MB / 0.5497 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.308, allocations: 14.69 kB / 0.5497 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3091, allocations: 333.2 kB / 0.55 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009802/0.3101, allocations: 385.6 kB / 0.5504 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008979/0.311, allocations: 355.6 kB / 0.5507 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007251/0.3117, allocations: 0.6302 MB / 0.5513 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.3121, allocations: 214.7 kB / 0.5515 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/0.3126, allocations: 281.7 kB / 0.5518 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.313, allocations: 255.7 kB / 0.552 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.3131, allocations: 42.31 kB / 0.5521 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009765/0.3141, allocations: 0.4968 MB / 0.5526 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3142, allocations: 145.4 kB / 0.5527 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.3144, allocations: 165.3 kB / 0.5528 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3156, allocations: 0.7538 MB / 0.5536 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3156, allocations: 4 kB / 0.5536 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3156, allocations: 0 / 0.5536 GB, free: 8.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3156, allocations: 1.25 kB / 0.5536 GB, free: 8.672 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.001447/0.3171, allocations: 0.7299 MB / 0.5543 GB, free: 8.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3171, allocations: 13.83 kB / 0.5543 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.3182, allocations: 117.1 kB / 0.5544 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.3188, allocations: 342.4 kB / 0.5548 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3188, allocations: 19.11 kB / 0.5548 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.3189, allocations: 27.66 kB / 0.5548 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009216/0.3198, allocations: 492.4 kB / 0.5553 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3198, allocations: 5.406 kB / 0.5553 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.3199, allocations: 10.38 kB / 0.5553 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.3199, allocations: 28.02 kB / 0.5553 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.321, allocations: 0.5184 MB / 0.5558 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.3233, allocations: 1.667 MB / 0.5574 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.3245, allocations: 409 kB / 0.5578 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.3249, allocations: 149.6 kB / 0.558 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3249, allocations: 12 kB / 0.558 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000623/0.3255, allocations: 305.5 kB / 0.5583 GB, free: 4.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.355e-06/0.3255, allocations: 0 / 0.5583 GB, free: 4.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001474/0.327, allocations: 0.5587 MB / 0.5588 GB, free: 3.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.3271, allocations: 239.3 kB / 0.5591 GB, free: 3.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.3276, allocations: 397.6 kB / 0.5594 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.3277, allocations: 37.7 kB / 0.5595 GB, free: 3.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3278, allocations: 208.5 kB / 0.5597 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3279, allocations: 107.1 kB / 0.5598 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3281, allocations: 73.69 kB / 0.5598 GB, free: 2.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3282, allocations: 347.1 kB / 0.5602 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.3287, allocations: 190 kB / 0.5604 GB, free: 2.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.3292, allocations: 339.2 kB / 0.5607 GB, free: 1.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/0.3302, allocations: 498.2 kB / 0.5611 GB, free: 1.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3302, allocations: 4 kB / 0.5612 GB, free: 1.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001203/0.3314, allocations: 0.5783 MB / 0.5617 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.3314, allocations: 41.62 kB / 0.5618 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3314, allocations: 4.562 kB / 0.5618 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.3315, allocations: 11.94 kB / 0.5618 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.3318, allocations: 99.81 kB / 0.5619 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3318, allocations: 4 kB / 0.5619 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.3321, allocations: 47.75 kB / 0.5619 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.3322, allocations: 20 kB / 0.5619 GB, free: 432 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.0002355/0.3324, allocations: 189.7 kB / 0.5621 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.3325, allocations: 43.69 kB / 0.5622 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3337, allocations: 492.5 kB / 0.5626 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3337, allocations: 8 kB / 0.5626 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3337, allocations: 0 / 0.5626 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3337, allocations: 4 kB / 0.5626 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009668/0.3346, allocations: 0.7764 MB / 0.5634 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.3347, allocations: 8.031 kB / 0.5634 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.335, allocations: 71.89 kB / 0.5635 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.335, allocations: 3.938 kB / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.335, allocations: 19.98 kB / 0.5635 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.335, allocations: 7.938 kB / 0.5635 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.335, allocations: 0 / 0.5635 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3361, allocations: 0.5161 MB / 0.564 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.3362, allocations: 43.7 kB / 0.5641 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.3362, allocations: 15.98 kB / 0.5641 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.3365, allocations: 31.97 kB / 0.5641 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.3366, allocations: 31.94 kB / 0.5641 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.3366, allocations: 23.94 kB / 0.5641 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003391/0.337, allocations: 283.2 kB / 0.5644 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.337, allocations: 0 / 0.5644 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005002/0.3375, allocations: 123.8 kB / 0.5645 GB, free: 13.66 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.00196/0.3394, allocations: 0.5479 MB / 0.5651 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3405, allocations: 481.2 kB / 0.5655 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.3405, allocations: 4 kB / 0.5655 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.341, allocations: 203.7 kB / 0.5657 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.3415, allocations: 61.39 kB / 0.5658 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.3429, allocations: 0.8001 MB / 0.5666 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3432, allocations: 218 kB / 0.5668 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3433, allocations: 47.41 kB / 0.5668 GB, free: 11.44 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3433, allocations: 0 / 0.5668 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Templates: time 0.01023/0.3536, allocations: 6.171 MB / 0.5728 GB, free: 5.293 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.416578968055546] Failed to read output from testmodel.py, exit status != 0: 0.36233924189582467 0.37768157299999994 0.058725004000000004 Calling exit ...