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.001165/0.001166, allocations: 107.7 kB / 16.92 MB, free: 6.145 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.001235/0.001235, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.416/1.416, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.211/0.211, allocations: 38.04 MB / 329.7 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.16 kB / 398.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09588, allocations: 58.06 MB / 456.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005277/0.1012, allocations: 4.237 MB / 461.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.1046, allocations: 2.512 MB / 463.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1048, allocations: 11.94 kB / 463.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1059, allocations: 342.5 kB / 464 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007153/0.1066, allocations: 342.6 kB / 464.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.1074, allocations: 385.7 kB / 464.7 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.108, allocations: 0.6234 MB / 465.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.1084, allocations: 234.1 kB / 465.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.1088, allocations: 263 kB / 465.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1091, allocations: 239.1 kB / 466 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.1092, allocations: 40 kB / 466.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008066/0.11, allocations: 0.5417 MB / 466.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1102, allocations: 143.5 kB / 466.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1104, allocations: 187.1 kB / 466.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.1112, allocations: 0.6856 MB / 467.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1112, allocations: 0 / 467.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1112, allocations: 3.938 kB / 467.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1112, allocations: 0 / 467.6 MB, free: 13.3 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.001287/0.1125, allocations: 0.7668 MB / 468.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1126, allocations: 19.88 kB / 468.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.1136, allocations: 116.3 kB / 468.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.1142, allocations: 403.7 kB / 468.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.1143, allocations: 24.88 kB / 468.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.1143, allocations: 36.09 kB / 469 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.1151, allocations: 449.2 kB / 469.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1151, allocations: 0 / 469.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.1152, allocations: 8 kB / 469.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.1152, allocations: 28.42 kB / 469.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009478/0.1162, allocations: 485.2 kB / 469.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.1181, allocations: 1.783 MB / 471.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.1191, allocations: 381.1 kB / 472.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.1194, allocations: 137.6 kB / 472.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1195, allocations: 7.984 kB / 472.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.12, allocations: 289.6 kB / 472.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.12, allocations: 7.875 kB / 472.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001264/0.1213, allocations: 0.5151 MB / 473 MB, free: 7.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.1214, allocations: 244 kB / 473.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1218, allocations: 353.7 kB / 473.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.1218, allocations: 37.7 kB / 473.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.122, allocations: 208.2 kB / 473.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/0.1221, allocations: 94.7 kB / 473.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.1222, allocations: 77.59 kB / 474 MB, free: 6.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1223, allocations: 342.8 kB / 474.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.1227, allocations: 152.2 kB / 474.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.1231, allocations: 265.8 kB / 474.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.124, allocations: 474.3 kB / 475.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.124, allocations: 0 / 475.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001022/0.125, allocations: 0.518 MB / 475.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.1251, allocations: 33.7 kB / 475.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1251, allocations: 4 kB / 475.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.1251, allocations: 8 kB / 475.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.1255, allocations: 91.88 kB / 475.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.1255, allocations: 8.312 kB / 475.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.1258, allocations: 63.5 kB / 475.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.1258, allocations: 19.98 kB / 475.9 MB, free: 4.418 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.0001897/0.126, allocations: 189.7 kB / 476.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.1261, allocations: 39.56 kB / 476.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1262, allocations: 51.25 kB / 476.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1262, allocations: 7.938 kB / 476.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1262, allocations: 4 kB / 476.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1262, allocations: 8 kB / 476.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.127, allocations: 0.8468 MB / 477.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.127, allocations: 0 / 477.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.1272, allocations: 64.02 kB / 477.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1273, allocations: 8 kB / 477.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.1273, allocations: 11.98 kB / 477.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1273, allocations: 8 kB / 477.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1273, allocations: 7.938 kB / 477.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/0.1282, allocations: 449.6 kB / 477.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1284, allocations: 112.7 kB / 477.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-05/0.1285, allocations: 19.94 kB / 477.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.1287, allocations: 27.97 kB / 477.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.1288, allocations: 39.83 kB / 477.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.1289, allocations: 12 kB / 477.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.1292, allocations: 251.2 kB / 478.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1292, allocations: 0 / 478.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004257/0.1296, allocations: 99.77 kB / 478.2 MB, free: 2.051 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.001093/0.1307, allocations: 464.2 kB / 478.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.1318, allocations: 447.1 kB / 479.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1319, allocations: 0 / 479.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.1324, allocations: 196.9 kB / 479.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.1328, allocations: 71 kB / 479.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1341, allocations: 0.7161 MB / 480 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1345, allocations: 0.8151 MB / 480.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.1348, allocations: 83.2 kB / 480.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.1349, allocations: 47.42 kB / 481 MB, free: 15.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1349, allocations: 0 / 481 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Templates: time 0.009039/0.1439, allocations: 4.67 MB / 485.7 MB, free: 10.71 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 -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/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) Reference file matches