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.001045/0.001045, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001352/0.001352, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2518/0.2518, allocations: 29.41 MB / 291.2 MB, free: 2.371 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 2.074e-06/2.074e-06, allocations: 0 / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.951e-05, allocations: 2.312 kB / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006551/0.006581, allocations: 4.169 MB / 321 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003873/0.01045, allocations: 2.17 MB / 323.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.01073, allocations: 15.88 kB / 323.2 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009869/0.01172, allocations: 294.5 kB / 323.5 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.01281, allocations: 358.2 kB / 323.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.01371, allocations: 354.6 kB / 324.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.01455, allocations: 0.6391 MB / 324.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.01491, allocations: 220.2 kB / 325 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.01543, allocations: 366.9 kB / 325.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.01573, allocations: 227.3 kB / 325.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.01577, allocations: 40 kB / 325.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.0164, allocations: 462.8 kB / 326.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.01654, allocations: 155.5 kB / 326.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.01665, allocations: 135.6 kB / 326.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007233/0.01737, allocations: 0.5996 MB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01737, allocations: 0 / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01738, allocations: 0 / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.01738, allocations: 0 / 327 MB, free: 5.812 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.0008407/0.01822, allocations: 0.7004 MB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.01826, allocations: 11.98 kB / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000643/0.0189, allocations: 180.5 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.0193, allocations: 314.2 kB / 328.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.01932, allocations: 24.86 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.01936, allocations: 20.38 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.01972, allocations: 329.6 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01973, allocations: 3.938 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.01975, allocations: 11.98 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.01979, allocations: 20.48 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.02003, allocations: 188 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.02117, allocations: 1.352 MB / 330.1 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.02155, allocations: 259.3 kB / 330.4 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.02161, allocations: 49.7 kB / 330.4 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.02163, allocations: 4 kB / 330.4 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.02184, allocations: 200 kB / 330.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.02184, allocations: 0 / 330.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003038/0.02214, allocations: 194.9 kB / 330.8 MB, free: 1.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.02223, allocations: 251.9 kB / 331.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.02246, allocations: 317 kB / 331.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.02249, allocations: 45.7 kB / 331.4 MB, free: 1.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.02257, allocations: 181.1 kB / 331.6 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.02263, allocations: 99.19 kB / 331.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.02271, allocations: 73.61 kB / 331.8 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.0228, allocations: 350.7 kB / 332.1 MB, free: 352 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.02288, allocations: 64.89 kB / 332.2 MB, free: 276 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.02304, allocations: 229.9 kB / 332.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.02328, allocations: 280 kB / 332.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.02329, allocations: 4 kB / 332.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003062/0.0236, allocations: 295.8 kB / 333 MB, free: 15.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.02364, allocations: 37.69 kB / 333 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.02365, allocations: 4 kB / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.02367, allocations: 8 kB / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.0239, allocations: 87.88 kB / 333.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.02391, allocations: 11.88 kB / 333.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.02406, allocations: 43.77 kB / 333.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.02408, allocations: 15.98 kB / 333.2 MB, free: 15.11 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.0001271/0.0242, allocations: 152.5 kB / 333.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.02425, allocations: 31.91 kB / 333.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.02452, allocations: 212.4 kB / 333.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.02453, allocations: 4 kB / 333.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.02453, allocations: 7.938 kB / 333.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.02454, allocations: 3.984 kB / 333.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.02504, allocations: 0.6277 MB / 334.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.02504, allocations: 0 / 334.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.02519, allocations: 72.03 kB / 334.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.0252, allocations: 3.984 kB / 334.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.02521, allocations: 15.94 kB / 334.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02522, allocations: 0 / 334.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02522, allocations: 4 kB / 334.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.02545, allocations: 258.3 kB / 334.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.0255, allocations: 43.62 kB / 334.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.02554, allocations: 23.94 kB / 334.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.02564, allocations: 23.98 kB / 334.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.0257, allocations: 35.94 kB / 334.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.02572, allocations: 15.98 kB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.02583, allocations: 135.5 kB / 334.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02583, allocations: 0 / 334.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.02614, allocations: 111.8 kB / 334.9 MB, free: 13.25 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.001463/0.0276, allocations: 0.6458 MB / 335.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.02795, allocations: 262.5 kB / 335.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.02796, allocations: 4 kB / 335.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.02807, allocations: 88.69 kB / 335.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.02835, allocations: 86.8 kB / 336 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.02943, allocations: 0.6728 MB / 336.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.863e-05/0.02951, allocations: 122.1 kB / 336.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.02964, allocations: 63.22 kB / 336.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.02982, allocations: 123.3 kB / 337 MB, free: 11.46 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02982, allocations: 4 kB / 337 MB, free: 11.46 MB / 314.7 MB Notification: Performance of Templates: time 0.008023/0.03784, allocations: 6.024 MB / 343 MB, free: 5.523 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.1600632700137794]