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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 112.6 kB / 17.69 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001639, allocations: 191 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1772/0.1772, allocations: 38.04 MB / 330.5 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 66.34 kB / 400.3 MB, free: 33.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.0939, allocations: 58.06 MB / 458.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005305/0.09924, allocations: 4.245 MB / 462.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.1026, allocations: 2.516 MB / 465.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1028, allocations: 11.94 kB / 465.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009632/0.1038, allocations: 334.6 kB / 465.4 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007159/0.1046, allocations: 338.5 kB / 465.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/0.1054, allocations: 385.1 kB / 466.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006061/0.106, allocations: 0.6195 MB / 466.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.1064, allocations: 238.1 kB / 467 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.1068, allocations: 262.9 kB / 467.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.1071, allocations: 251.1 kB / 467.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.1072, allocations: 40 kB / 467.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007727/0.108, allocations: 0.5339 MB / 468.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1081, allocations: 143.5 kB / 468.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.1083, allocations: 203 kB / 468.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.1091, allocations: 0.6856 MB / 469.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1091, allocations: 0 / 469.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1091, allocations: 0 / 469.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1091, allocations: 0 / 469.1 MB, free: 12.57 MB / 350.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.001206/0.1103, allocations: 0.7813 MB / 469.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1104, allocations: 15.89 kB / 469.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.1114, allocations: 112.3 kB / 470 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.112, allocations: 423.7 kB / 470.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1121, allocations: 16.92 kB / 470.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1121, allocations: 32.06 kB / 470.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000771/0.1129, allocations: 457.2 kB / 470.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1129, allocations: 0 / 470.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.113, allocations: 8 kB / 470.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.113, allocations: 24.42 kB / 470.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.114, allocations: 489.2 kB / 471.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.1159, allocations: 1.767 MB / 473.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.1169, allocations: 385.1 kB / 473.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.1173, allocations: 145.6 kB / 473.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.1173, allocations: 7.984 kB / 473.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005279/0.1178, allocations: 285.6 kB / 474 MB, free: 7.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.1178, allocations: 0 / 474 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001263/0.1191, allocations: 0.5119 MB / 474.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1192, allocations: 251.2 kB / 474.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.1196, allocations: 349.7 kB / 475.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.1197, allocations: 33.7 kB / 475.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1198, allocations: 204.2 kB / 475.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.1199, allocations: 102.7 kB / 475.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1201, allocations: 73.55 kB / 475.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1202, allocations: 354.8 kB / 475.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.1206, allocations: 144.2 kB / 476 MB, free: 5.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.121, allocations: 277.8 kB / 476.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007746/0.1218, allocations: 470.3 kB / 476.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1218, allocations: 0 / 476.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001005/0.1228, allocations: 0.514 MB / 477.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.1229, allocations: 33.7 kB / 477.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1229, allocations: 8.562 kB / 477.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.1229, allocations: 7.984 kB / 477.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.1232, allocations: 99.81 kB / 477.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1233, allocations: 8 kB / 477.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.1236, allocations: 55.5 kB / 477.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.1236, allocations: 16 kB / 477.4 MB, free: 3.684 MB / 350.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.0002056/0.1238, allocations: 197.4 kB / 477.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.1239, allocations: 43.55 kB / 477.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.873e-05/0.124, allocations: 51.28 kB / 477.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.124, allocations: 4 kB / 477.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.124, allocations: 0 / 477.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.124, allocations: 7.984 kB / 477.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.1248, allocations: 0.8545 MB / 478.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1248, allocations: 4.125 kB / 478.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1251, allocations: 63.95 kB / 478.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1251, allocations: 0 / 478.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.1251, allocations: 12 kB / 478.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1251, allocations: 3.938 kB / 478.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1251, allocations: 4 kB / 478.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.126, allocations: 465.5 kB / 479.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.1261, allocations: 108.7 kB / 479.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.1261, allocations: 19.98 kB / 479.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.1264, allocations: 23.97 kB / 479.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.1265, allocations: 31.91 kB / 479.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.1265, allocations: 12 kB / 479.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.1268, allocations: 251.2 kB / 479.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1268, allocations: 4 kB / 479.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004063/0.1272, allocations: 103.8 kB / 479.7 MB, free: 1.309 MB / 350.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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * 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.001/0.1282, allocations: 451.3 kB / 480.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008772/0.1291, allocations: 418.9 kB / 480.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1291, allocations: 1.125 kB / 480.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.1295, allocations: 188.1 kB / 480.7 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.13, allocations: 78 kB / 480.8 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1312, allocations: 0.7045 MB / 481.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.1316, allocations: 0.8151 MB / 482.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.1318, allocations: 83.2 kB / 482.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.1319, allocations: 43.42 kB / 482.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.132, allocations: 4 kB / 482.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Templates: time 0.009208/0.1412, allocations: 4.667 MB / 487.1 MB, free: 10.02 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (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 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches