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.00142/0.00142, allocations: 109.4 kB / 17.06 MB, free: 6.137 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.001756/0.001756, allocations: 192 kB / 18 MB, free: 5.219 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.43/1.43, allocations: 222.9 MB / 241.7 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.1762/0.1762, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 75.88 kB / 458.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4134, allocations: 58.05 MB / 0.5041 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005675/0.4192, allocations: 4.25 MB / 0.5082 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003241/0.4224, allocations: 2.504 MB / 0.5107 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.4227, allocations: 10.94 kB / 0.5107 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.4238, allocations: 346.9 kB / 0.511 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008522/0.4247, allocations: 335.9 kB / 0.5114 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.4259, allocations: 384.2 kB / 0.5117 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.4265, allocations: 0.617 MB / 0.5123 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.427, allocations: 237.5 kB / 0.5125 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.4275, allocations: 273.6 kB / 0.5128 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.4278, allocations: 247.3 kB / 0.513 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.4279, allocations: 40.03 kB / 0.5131 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.4289, allocations: 0.54 MB / 0.5136 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.4291, allocations: 129.4 kB / 0.5137 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.4293, allocations: 199 kB / 0.5139 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.4303, allocations: 0.6901 MB / 0.5146 GB, free: 1.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4304, allocations: 4.594 kB / 0.5146 GB, free: 1.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.4304, allocations: 0 / 0.5146 GB, free: 1.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.4304, allocations: 1.312 kB / 0.5146 GB, free: 1.098 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.00126/0.4316, allocations: 0.7744 MB / 0.5154 GB, free: 484 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4317, allocations: 13.7 kB / 0.5154 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.4328, allocations: 109.5 kB / 0.5155 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.4335, allocations: 426.3 kB / 0.5159 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.4335, allocations: 24 kB / 0.5159 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.4336, allocations: 28.75 kB / 0.5159 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.4344, allocations: 447.5 kB / 0.5164 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4345, allocations: 5.25 kB / 0.5164 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.4345, allocations: 11.42 kB / 0.5164 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.4346, allocations: 18.41 kB / 0.5164 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.4357, allocations: 490.7 kB / 0.5169 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.4381, allocations: 1.769 MB / 0.5186 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4392, allocations: 388.9 kB / 0.519 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.4396, allocations: 148.4 kB / 0.5191 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.4396, allocations: 11.8 kB / 0.5191 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006106/0.4403, allocations: 292.8 kB / 0.5194 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.4403, allocations: 0 / 0.5194 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001395/0.4417, allocations: 0.5159 MB / 0.5199 GB, free: 13.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.4418, allocations: 244 kB / 0.5201 GB, free: 13.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.4423, allocations: 357.3 kB / 0.5205 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.4424, allocations: 33.94 kB / 0.5205 GB, free: 13.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.4426, allocations: 201.8 kB / 0.5207 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.4427, allocations: 99.2 kB / 0.5208 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.4428, allocations: 74.09 kB / 0.5209 GB, free: 13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.443, allocations: 353.2 kB / 0.5212 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.4434, allocations: 140 kB / 0.5213 GB, free: 12.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.4438, allocations: 276 kB / 0.5216 GB, free: 12.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008237/0.4447, allocations: 461.3 kB / 0.522 GB, free: 12.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4447, allocations: 2.25 kB / 0.522 GB, free: 12.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001079/0.4458, allocations: 0.5218 MB / 0.5225 GB, free: 11.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.4458, allocations: 34.7 kB / 0.5226 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4458, allocations: 5.297 kB / 0.5226 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4459, allocations: 6.875 kB / 0.5226 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.4462, allocations: 97.72 kB / 0.5227 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.4462, allocations: 12.12 kB / 0.5227 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.4466, allocations: 46.91 kB / 0.5227 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.4466, allocations: 28 kB / 0.5228 GB, free: 11.77 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.0002405/0.4468, allocations: 201 kB / 0.523 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.4469, allocations: 42.5 kB / 0.523 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.4471, allocations: 53.62 kB / 0.523 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4471, allocations: 3.5 kB / 0.5231 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.4471, allocations: 2.375 kB / 0.5231 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4471, allocations: 4.172 kB / 0.5231 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009583/0.4481, allocations: 0.8477 MB / 0.5239 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4481, allocations: 5.406 kB / 0.5239 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.4484, allocations: 61.41 kB / 0.5239 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4484, allocations: 3.062 kB / 0.524 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.4484, allocations: 10.59 kB / 0.524 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4484, allocations: 3.266 kB / 0.524 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4484, allocations: 2.75 kB / 0.524 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009468/0.4494, allocations: 466.6 kB / 0.5244 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.4495, allocations: 121.2 kB / 0.5245 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.4495, allocations: 14.86 kB / 0.5245 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.4498, allocations: 23.97 kB / 0.5246 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4499, allocations: 33.09 kB / 0.5246 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.4499, allocations: 16.5 kB / 0.5246 GB, free: 10.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.4502, allocations: 250.9 kB / 0.5249 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4502, allocations: 4 kB / 0.5249 GB, free: 10.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.4507, allocations: 93.05 kB / 0.5249 GB, free: 10.3 MB / 398.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.001076/0.4517, allocations: 464.3 kB / 0.5254 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009383/0.4527, allocations: 416.6 kB / 0.5258 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4527, allocations: 1.125 kB / 0.5258 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.4532, allocations: 198.4 kB / 0.526 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.4537, allocations: 70.41 kB / 0.526 GB, free: 9.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.455, allocations: 0.6936 MB / 0.5267 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.4555, allocations: 0.8097 MB / 0.5275 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002588/0.4557, allocations: 93.45 kB / 0.5276 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.4558, allocations: 44.78 kB / 0.5276 GB, free: 8.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4558, allocations: 0.9375 kB / 0.5276 GB, free: 8.66 MB / 398.1 MB Notification: Performance of Templates: time 0.01005/0.4659, allocations: 4.731 MB / 0.5323 GB, free: 7.074 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/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