Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1891/0.1891, allocations: 38.53 MB / 344.5 MB, free: 2.609 MB / 270.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.88 kB / 482.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 61.24 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005445/0.3453, allocations: 4.353 MB / 0.5348 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3485, allocations: 2.549 MB / 0.5373 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.3487, allocations: 12.78 kB / 0.5373 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.3499, allocations: 353.8 kB / 0.5377 GB, free: 360 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008484/0.3507, allocations: 343.3 kB / 0.538 GB, free: 88 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.352, allocations: 381.1 kB / 0.5383 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008517/0.3529, allocations: 0.618 MB / 0.5389 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.3533, allocations: 173.9 kB / 0.5391 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.3539, allocations: 281.3 kB / 0.5394 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.3543, allocations: 257.3 kB / 0.5396 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.3544, allocations: 39 kB / 0.5397 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.3557, allocations: 0.551 MB / 0.5402 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.3558, allocations: 139.7 kB / 0.5403 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.3561, allocations: 196.6 kB / 0.5405 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.3574, allocations: 0.6893 MB / 0.5412 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3574, allocations: 0 / 0.5412 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3574, allocations: 4 kB / 0.5412 GB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3574, allocations: 0 / 0.5412 GB, free: 14 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.001749/0.3591, allocations: 0.7919 MB / 0.542 GB, free: 13.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.3592, allocations: 17.03 kB / 0.542 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.3604, allocations: 113.5 kB / 0.5421 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.3612, allocations: 424 kB / 0.5425 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.3612, allocations: 25.97 kB / 0.5425 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.3613, allocations: 31.97 kB / 0.5426 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.3624, allocations: 447.8 kB / 0.543 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3624, allocations: 0 / 0.543 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.3624, allocations: 11.78 kB / 0.543 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/0.3625, allocations: 23.64 kB / 0.543 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.3637, allocations: 489 kB / 0.5435 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.3665, allocations: 1.775 MB / 0.5452 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.3676, allocations: 361.3 kB / 0.5456 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.368, allocations: 135.8 kB / 0.5457 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.368, allocations: 9.234 kB / 0.5457 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/0.3686, allocations: 284.1 kB / 0.546 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.444e-06/0.3686, allocations: 0 / 0.546 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001471/0.3701, allocations: 0.52 MB / 0.5465 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/0.3703, allocations: 244.9 kB / 0.5467 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.3709, allocations: 356.3 kB / 0.5471 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.371, allocations: 41.94 kB / 0.5471 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.3712, allocations: 199.4 kB / 0.5473 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.3713, allocations: 111.4 kB / 0.5474 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.3714, allocations: 74.91 kB / 0.5475 GB, free: 9.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3717, allocations: 348.6 kB / 0.5478 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.3721, allocations: 137.1 kB / 0.5479 GB, free: 8.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.3726, allocations: 284.6 kB / 0.5482 GB, free: 8.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009043/0.3735, allocations: 466.6 kB / 0.5486 GB, free: 8.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3735, allocations: 1.031 kB / 0.5486 GB, free: 8.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001139/0.3746, allocations: 0.5279 MB / 0.5492 GB, free: 7.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.3747, allocations: 40.78 kB / 0.5492 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.3747, allocations: 5.781 kB / 0.5492 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/0.3747, allocations: 5.531 kB / 0.5492 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.3751, allocations: 91.5 kB / 0.5493 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.3751, allocations: 10.56 kB / 0.5493 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.3754, allocations: 51.81 kB / 0.5494 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.3755, allocations: 16.03 kB / 0.5494 GB, free: 7.648 MB / 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.0002809/0.3757, allocations: 205.9 kB / 0.5496 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.3758, allocations: 41.77 kB / 0.5496 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.3769, allocations: 414.6 kB / 0.55 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3769, allocations: 4.5 kB / 0.55 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3769, allocations: 6.25 kB / 0.55 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3769, allocations: 2.312 kB / 0.55 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3779, allocations: 0.8509 MB / 0.5508 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3779, allocations: 1.312 kB / 0.5508 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.3782, allocations: 65.58 kB / 0.5509 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.3782, allocations: 6.562 kB / 0.5509 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.3782, allocations: 14.02 kB / 0.5509 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3782, allocations: 2.719 kB / 0.5509 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3782, allocations: 1.531 kB / 0.5509 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3793, allocations: 464.2 kB / 0.5514 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3794, allocations: 111.5 kB / 0.5515 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.3794, allocations: 13.97 kB / 0.5515 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.3797, allocations: 29 kB / 0.5515 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3798, allocations: 37.89 kB / 0.5516 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3798, allocations: 10.38 kB / 0.5516 GB, free: 5.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003371/0.3801, allocations: 256.2 kB / 0.5518 GB, free: 5.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 1.062 kB / 0.5518 GB, free: 5.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.3806, allocations: 94.67 kB / 0.5519 GB, free: 5.746 MB / 398.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.001737/0.3824, allocations: 471.9 kB / 0.5524 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3834, allocations: 397.3 kB / 0.5527 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3834, allocations: 0 / 0.5527 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.3839, allocations: 182.1 kB / 0.5529 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.3843, allocations: 75.7 kB / 0.553 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3856, allocations: 0.7096 MB / 0.5537 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.3861, allocations: 0.8034 MB / 0.5545 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.3863, allocations: 95.2 kB / 0.5545 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3864, allocations: 43.42 kB / 0.5546 GB, free: 3.496 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3864, allocations: 0 / 0.5546 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Templates: time 0.009931/0.3964, allocations: 4.861 MB / 0.5593 GB, free: 14.69 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.068723025731742]