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.0009726/0.0009726, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009504/0.0009504, allocations: 170.4 kB / 24.92 MB, free: 9.188 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2338/0.2338, allocations: 29.43 MB / 291.2 MB, free: 2.391 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 3.517e-06/3.517e-06, allocations: 3.984 kB / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.261e-05, allocations: 5.656 kB / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00497/0.004993, allocations: 4.202 MB / 321.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.007551, allocations: 2.166 MB / 323.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.007722, allocations: 15.88 kB / 323.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.008323, allocations: 294.5 kB / 323.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.00887, allocations: 350.1 kB / 323.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.009425, allocations: 354.6 kB / 324.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005126/0.009938, allocations: 0.6352 MB / 324.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.01021, allocations: 224.2 kB / 325.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.01062, allocations: 363.6 kB / 325.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.01088, allocations: 227.3 kB / 325.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.01092, allocations: 40 kB / 325.7 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.01147, allocations: 474.7 kB / 326.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.01158, allocations: 155.5 kB / 326.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.01168, allocations: 131.7 kB / 326.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008404/0.01252, allocations: 0.6035 MB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.01252, allocations: 0 / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01252, allocations: 0 / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.01252, allocations: 0 / 327.1 MB, free: 5.703 MB / 298.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.0007495/0.01327, allocations: 0.7003 MB / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.01331, allocations: 11.98 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007099/0.01402, allocations: 184.5 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.01443, allocations: 314.2 kB / 328.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.01446, allocations: 24.8 kB / 328.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.01449, allocations: 24.38 kB / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.01486, allocations: 325.6 kB / 328.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.01487, allocations: 7.938 kB / 328.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.0149, allocations: 7.984 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.01493, allocations: 24.48 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.01517, allocations: 188 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.01624, allocations: 1.344 MB / 330.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.01659, allocations: 259.8 kB / 330.5 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.01665, allocations: 49.69 kB / 330.5 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01667, allocations: 8 kB / 330.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.01692, allocations: 198.7 kB / 330.7 MB, free: 1.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.01692, allocations: 0 / 330.7 MB, free: 1.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.000335/0.01726, allocations: 194.5 kB / 330.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.01737, allocations: 251.2 kB / 331.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.01763, allocations: 321.8 kB / 331.5 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.01767, allocations: 37.7 kB / 331.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01778, allocations: 185.1 kB / 331.7 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.01784, allocations: 99.19 kB / 331.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.01793, allocations: 73.61 kB / 331.8 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.01806, allocations: 350.7 kB / 332.2 MB, free: 240 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.01815, allocations: 68.89 kB / 332.3 MB, free: 164 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.01831, allocations: 221.9 kB / 332.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.01853, allocations: 288 kB / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01853, allocations: 4 kB / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002694/0.0188, allocations: 283.9 kB / 333 MB, free: 15.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.01883, allocations: 45.69 kB / 333.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01884, allocations: 4 kB / 333.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01886, allocations: 4 kB / 333.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.01908, allocations: 103.8 kB / 333.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01909, allocations: 4 kB / 333.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.01921, allocations: 47.75 kB / 333.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.01923, allocations: 27.91 kB / 333.3 MB, free: 14.98 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 0.0001078/0.01934, allocations: 148.4 kB / 333.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.01938, allocations: 35.97 kB / 333.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.01962, allocations: 204.4 kB / 333.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.01962, allocations: 15.94 kB / 333.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.01963, allocations: 0 / 333.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.01964, allocations: 7.984 kB / 333.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008305/0.02047, allocations: 0.6199 MB / 334.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.02047, allocations: 3.938 kB / 334.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.02066, allocations: 83.95 kB / 334.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.02067, allocations: 4 kB / 334.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.02069, allocations: 11.98 kB / 334.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.02069, allocations: 4 kB / 334.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.02069, allocations: 4 kB / 334.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.02093, allocations: 258.3 kB / 334.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.02097, allocations: 43.58 kB / 334.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.02101, allocations: 19.98 kB / 334.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.0211, allocations: 23.98 kB / 334.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.02118, allocations: 35.94 kB / 334.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.0212, allocations: 12 kB / 334.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.02132, allocations: 127.6 kB / 334.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02132, allocations: 0 / 334.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.02165, allocations: 115.8 kB / 335 MB, free: 13.13 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.001364/0.02301, allocations: 0.6514 MB / 335.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.02329, allocations: 262.2 kB / 335.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.02329, allocations: 4 kB / 335.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.0234, allocations: 96.61 kB / 336 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.02365, allocations: 80.91 kB / 336.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.02472, allocations: 0.6757 MB / 336.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.0248, allocations: 122.1 kB / 336.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.02493, allocations: 63.22 kB / 337 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.02511, allocations: 127.3 kB / 337.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of SimCode: time 5.62e-07/0.02511, allocations: 4 kB / 337.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of Templates: time 0.008123/0.03323, allocations: 6.095 MB / 343.2 MB, free: 5.316 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 -s gbode -gbm=radauIIA3 -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.068423703778535]