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.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.001779/0.001779, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00215/0.00215, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.584/1.584, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2699/0.2699, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="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: 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.002159/0.002159, allocations: 63.89 kB / 493 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3707, allocations: 62.46 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006205/0.3769, allocations: 4.182 MB / 0.5465 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.3811, allocations: 2.474 MB / 0.5489 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.3813, allocations: 19.41 kB / 0.5489 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.3824, allocations: 324.3 kB / 0.5492 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009568/0.3833, allocations: 382.2 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009441/0.3843, allocations: 363.8 kB / 0.55 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007602/0.385, allocations: 0.6336 MB / 0.5506 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.3855, allocations: 213.7 kB / 0.5508 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.386, allocations: 285.5 kB / 0.5511 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.3864, allocations: 247.5 kB / 0.5513 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/0.3864, allocations: 42.66 kB / 0.5513 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008966/0.3873, allocations: 0.5006 MB / 0.5518 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3875, allocations: 144.8 kB / 0.552 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3877, allocations: 157.6 kB / 0.5521 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.3888, allocations: 0.7575 MB / 0.5528 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3888, allocations: 0 / 0.5528 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3888, allocations: 1.469 kB / 0.5528 GB, free: 8.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.3888, allocations: 3.938 kB / 0.5529 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.001406/0.3902, allocations: 0.738 MB / 0.5536 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3902, allocations: 12.89 kB / 0.5536 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.3913, allocations: 118.2 kB / 0.5537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.3919, allocations: 338.2 kB / 0.554 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.392, allocations: 18.06 kB / 0.554 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.392, allocations: 28.53 kB / 0.5541 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.393, allocations: 492.3 kB / 0.5545 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.393, allocations: 5.125 kB / 0.5545 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.3931, allocations: 14.2 kB / 0.5546 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.3931, allocations: 20.02 kB / 0.5546 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.3943, allocations: 0.5333 MB / 0.5551 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.3968, allocations: 1.666 MB / 0.5567 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.398, allocations: 409.1 kB / 0.5571 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.3984, allocations: 145.6 kB / 0.5572 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3984, allocations: 0 / 0.5572 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/0.399, allocations: 301.5 kB / 0.5575 GB, free: 4.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/0.399, allocations: 0 / 0.5575 GB, free: 4.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.0015/0.4005, allocations: 0.5589 MB / 0.5581 GB, free: 3.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.4007, allocations: 243.3 kB / 0.5583 GB, free: 3.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/0.4013, allocations: 401.6 kB / 0.5587 GB, free: 3.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.4013, allocations: 33.7 kB / 0.5587 GB, free: 3.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.4016, allocations: 212.5 kB / 0.5589 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.4017, allocations: 107.2 kB / 0.559 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4018, allocations: 69.69 kB / 0.5591 GB, free: 2.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.402, allocations: 350.8 kB / 0.5594 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.4025, allocations: 181.9 kB / 0.5596 GB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.403, allocations: 351.3 kB / 0.5599 GB, free: 1.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009477/0.4039, allocations: 490.2 kB / 0.5604 GB, free: 1.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4039, allocations: 4 kB / 0.5604 GB, free: 1.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0012/0.4051, allocations: 0.5784 MB / 0.561 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.4052, allocations: 37.64 kB / 0.561 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4052, allocations: 7.938 kB / 0.561 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.4052, allocations: 8 kB / 0.561 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.4056, allocations: 91.88 kB / 0.5611 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.4056, allocations: 15.92 kB / 0.5611 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.4059, allocations: 52.11 kB / 0.5612 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.406, allocations: 19.92 kB / 0.5612 GB, free: 452 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.0002517/0.4062, allocations: 193.7 kB / 0.5614 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.4063, allocations: 39.7 kB / 0.5614 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.4075, allocations: 492.4 kB / 0.5619 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4075, allocations: 8 kB / 0.5619 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4075, allocations: 4 kB / 0.5619 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4075, allocations: 3.984 kB / 0.5619 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009985/0.4085, allocations: 0.7802 MB / 0.5627 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4085, allocations: 4 kB / 0.5627 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.4088, allocations: 75.89 kB / 0.5627 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.4088, allocations: 4 kB / 0.5628 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.4088, allocations: 12.12 kB / 0.5628 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.4088, allocations: 7.984 kB / 0.5628 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4088, allocations: 0 / 0.5628 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4099, allocations: 0.5162 MB / 0.5633 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.41, allocations: 43.69 kB / 0.5633 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/0.4101, allocations: 20 kB / 0.5633 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.4103, allocations: 27.97 kB / 0.5634 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4104, allocations: 39.94 kB / 0.5634 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.4104, allocations: 19.92 kB / 0.5634 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003344/0.4108, allocations: 283.2 kB / 0.5637 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4108, allocations: 0 / 0.5637 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005129/0.4113, allocations: 115.8 kB / 0.5638 GB, free: 13.68 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.001947/0.4132, allocations: 0.5482 MB / 0.5643 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.4143, allocations: 480.5 kB / 0.5648 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4143, allocations: 0 / 0.5648 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.4148, allocations: 213.1 kB / 0.565 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4152, allocations: 69.39 kB / 0.5651 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.4166, allocations: 0.747 MB / 0.5658 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.4169, allocations: 214 kB / 0.566 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.4171, allocations: 95.19 kB / 0.5661 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.4173, allocations: 43.36 kB / 0.5661 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4173, allocations: 7.938 kB / 0.5661 GB, free: 11.42 MB / 414.1 MB Notification: Performance of Templates: time 0.01236/0.4296, allocations: 5.96 MB / 0.572 GB, free: 5.527 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.566848382353783]