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.001379/0.001379, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001461/0.001461, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.97/0.97, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.116/0.116, allocations: 29.43 MB / 292 MB, free: 2.621 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.852e-05, allocations: 3.125 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00301/0.003028, allocations: 4.153 MB / 375 MB, free: 28.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.004868, allocations: 2.134 MB / 377.2 MB, free: 25.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.005017, allocations: 19.88 kB / 377.2 MB, free: 25.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.005593, allocations: 274.7 kB / 377.5 MB, free: 25.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.006048, allocations: 358.1 kB / 377.8 MB, free: 25.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.006512, allocations: 362.5 kB / 378.2 MB, free: 24.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.006913, allocations: 0.635 MB / 378.8 MB, free: 24.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.007149, allocations: 222.1 kB / 379 MB, free: 24.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.00752, allocations: 359 kB / 379.4 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.007739, allocations: 235.3 kB / 379.6 MB, free: 23.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.007775, allocations: 44 kB / 379.6 MB, free: 23.51 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.008194, allocations: 470.7 kB / 380.1 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.008294, allocations: 151.6 kB / 380.2 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.008381, allocations: 135.6 kB / 380.4 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.009005, allocations: 0.6035 MB / 381 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.009007, allocations: 4 kB / 381 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.009008, allocations: 0 / 381 MB, free: 22.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.009013, allocations: 0 / 381 MB, free: 22.16 MB / 314.7 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.0007693/0.009782, allocations: 0.8332 MB / 381.8 MB, free: 21.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.009812, allocations: 8.031 kB / 381.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007898/0.0106, allocations: 180.2 kB / 382 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.01094, allocations: 345 kB / 382.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.01096, allocations: 16.88 kB / 382.4 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.011, allocations: 28.36 kB / 382.4 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.01136, allocations: 340.3 kB / 382.7 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.01137, allocations: 3.938 kB / 382.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.0114, allocations: 19.98 kB / 382.7 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.01143, allocations: 20.48 kB / 382.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.0117, allocations: 201.1 kB / 383 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.01282, allocations: 1.87 MB / 384.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.01322, allocations: 261.5 kB / 385.1 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.0133, allocations: 55.34 kB / 385.1 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.01332, allocations: 8 kB / 385.1 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.01352, allocations: 215.1 kB / 385.3 MB, free: 17.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.01353, allocations: 0 / 385.3 MB, free: 17.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004317/0.01396, allocations: 291.2 kB / 385.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.014, allocations: 255.2 kB / 385.9 MB, free: 16.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.01421, allocations: 374.5 kB / 386.2 MB, free: 16.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.01423, allocations: 41.7 kB / 386.3 MB, free: 16.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.01433, allocations: 263.2 kB / 386.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.01438, allocations: 99.2 kB / 386.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.01447, allocations: 83.27 kB / 386.7 MB, free: 16.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.01453, allocations: 0.5273 MB / 387.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.01461, allocations: 62.05 kB / 387.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01474, allocations: 293.7 kB / 387.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.01497, allocations: 333.5 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01498, allocations: 4 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003982/0.01538, allocations: 381.7 kB / 388.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.0154, allocations: 37.69 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.0154, allocations: 4 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.01542, allocations: 8 kB / 388.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.01563, allocations: 91.83 kB / 388.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01564, allocations: 11.88 kB / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.0158, allocations: 48.14 kB / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.01582, allocations: 16 kB / 388.5 MB, free: 14 MB / 314.7 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 9.469e-05/0.01591, allocations: 192.4 kB / 388.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.01598, allocations: 51.77 kB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.01633, allocations: 288.6 kB / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01634, allocations: 4 kB / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01634, allocations: 7.938 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01635, allocations: 3.984 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.01679, allocations: 0.8924 MB / 389.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.01679, allocations: 4 kB / 389.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.01696, allocations: 63.91 kB / 390 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01696, allocations: 7.938 kB / 390 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.01698, allocations: 15.98 kB / 390 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01699, allocations: 8 kB / 390 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01699, allocations: 0 / 390 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.01732, allocations: 370.5 kB / 390.4 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.01736, allocations: 43.77 kB / 390.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.0174, allocations: 19.94 kB / 390.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.01751, allocations: 19.98 kB / 390.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.01757, allocations: 39.94 kB / 390.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.01759, allocations: 15.98 kB / 390.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.01771, allocations: 243 kB / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01771, allocations: 0 / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.01812, allocations: 119.8 kB / 390.9 MB, free: 11.51 MB / 314.7 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.001181/0.0193, allocations: 0.5039 MB / 391.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.01959, allocations: 283.4 kB / 391.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.0196, allocations: 4.125 kB / 391.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.01972, allocations: 103.5 kB / 391.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.02005, allocations: 102 kB / 391.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.02107, allocations: 0.6882 MB / 392.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.02113, allocations: 114.1 kB / 392.7 MB, free: 9.852 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.02127, allocations: 63.23 kB / 392.7 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.02145, allocations: 150.1 kB / 392.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02145, allocations: 0 / 392.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of Templates: time 0.007879/0.02933, allocations: 6.288 MB / 399.2 MB, free: 3.441 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.18594884313643]