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.001122/0.001123, allocations: 107 kB / 17.74 MB, free: 5.359 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.00111/0.00111, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.178/0.178, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 55.91 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 58.06 MB / 0.5048 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004524/0.2965, allocations: 4.245 MB / 0.5089 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.2992, allocations: 2.504 MB / 0.5114 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2994, allocations: 11.44 kB / 0.5114 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009027/0.3003, allocations: 346.3 kB / 0.5117 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006093/0.3009, allocations: 340.3 kB / 0.512 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.3017, allocations: 385.7 kB / 0.5124 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006761/0.3024, allocations: 0.6213 MB / 0.513 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.3028, allocations: 238.9 kB / 0.5132 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004313/0.3032, allocations: 273.1 kB / 0.5135 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.3036, allocations: 248.5 kB / 0.5137 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.3036, allocations: 39.44 kB / 0.5138 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000785/0.3044, allocations: 0.5383 MB / 0.5143 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.3046, allocations: 130 kB / 0.5144 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.3048, allocations: 203.1 kB / 0.5146 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007954/0.3056, allocations: 0.6899 MB / 0.5153 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3056, allocations: 1.375 kB / 0.5153 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3056, allocations: 0 / 0.5153 GB, free: 1.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3056, allocations: 0 / 0.5153 GB, free: 1.148 MB / 382.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.001106/0.3067, allocations: 0.7748 MB / 0.516 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3068, allocations: 12.58 kB / 0.516 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.3078, allocations: 118.4 kB / 0.5162 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.3084, allocations: 419.6 kB / 0.5166 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.3084, allocations: 18.81 kB / 0.5166 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.3085, allocations: 28.53 kB / 0.5166 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00082/0.3093, allocations: 456.6 kB / 0.517 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3093, allocations: 0 / 0.517 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.3093, allocations: 12.12 kB / 0.517 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.3094, allocations: 22.22 kB / 0.5171 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.3105, allocations: 490.4 kB / 0.5175 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.3127, allocations: 1.769 MB / 0.5193 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3137, allocations: 388 kB / 0.5196 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.3141, allocations: 141.6 kB / 0.5198 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.3142, allocations: 15.03 kB / 0.5198 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00054/0.3147, allocations: 288.6 kB / 0.5201 GB, free: 14.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.454e-06/0.3147, allocations: 0 / 0.5201 GB, free: 14.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001394/0.3161, allocations: 0.5155 MB / 0.5206 GB, free: 13.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.3163, allocations: 240.9 kB / 0.5208 GB, free: 13.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.3168, allocations: 360.2 kB / 0.5211 GB, free: 13.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.3168, allocations: 38.69 kB / 0.5212 GB, free: 13.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.317, allocations: 200.8 kB / 0.5214 GB, free: 13.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/0.3171, allocations: 99.33 kB / 0.5215 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.3172, allocations: 78.77 kB / 0.5215 GB, free: 13.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3174, allocations: 348.2 kB / 0.5219 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.3178, allocations: 140 kB / 0.522 GB, free: 12.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.3183, allocations: 283.1 kB / 0.5223 GB, free: 12.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008323/0.3192, allocations: 456.9 kB / 0.5227 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3192, allocations: 1.438 kB / 0.5227 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001071/0.3203, allocations: 0.5197 MB / 0.5232 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.3203, allocations: 45.67 kB / 0.5233 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3203, allocations: 4.906 kB / 0.5233 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3204, allocations: 6.062 kB / 0.5233 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.3207, allocations: 91.67 kB / 0.5234 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3207, allocations: 10.98 kB / 0.5234 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.321, allocations: 47.81 kB / 0.5234 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.3211, allocations: 24.27 kB / 0.5234 GB, free: 11.83 MB / 398.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.0002057/0.3213, allocations: 196.6 kB / 0.5236 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.3214, allocations: 41.64 kB / 0.5237 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3215, allocations: 49.55 kB / 0.5237 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3215, allocations: 2.953 kB / 0.5237 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3215, allocations: 7.109 kB / 0.5237 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.3216, allocations: 109.1 kB / 0.5238 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.3217, allocations: 14.73 kB / 0.5238 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3219, allocations: 28.08 kB / 0.5239 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.322, allocations: 41.31 kB / 0.5239 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001288/0.3233, allocations: 0.9334 MB / 0.5248 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001144/0.3245, allocations: 1.015 MB / 0.5258 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004308/0.3249, allocations: 181.7 kB / 0.526 GB, free: 9.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002994/0.3252, allocations: 249.8 kB / 0.5262 GB, free: 9.832 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3252, allocations: 3.938 kB / 0.5262 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00312/0.3284, allocations: 0.9895 MB / 0.5272 GB, free: 9.43 MB / 398.1 MB Notification: Performance of SimCode: time 0.001428/0.3298, allocations: 1.059 MB / 0.5282 GB, free: 8.629 MB / 398.1 MB Notification: Performance of Templates: time 0.01312/0.3429, allocations: 7.073 MB / 0.5351 GB, free: 5.848 MB / 398.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/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