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.001126/0.001126, allocations: 111.3 kB / 16.51 MB, free: 6.707 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.001062/0.001062, allocations: 191.3 kB / 17.43 MB, free: 6.066 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1695/0.1695, allocations: 38.03 MB / 329.3 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 62.25 kB / 398.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1171, allocations: 58.06 MB / 456.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006174/0.1233, allocations: 4.883 MB / 461 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.1272, allocations: 2.719 MB / 463.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.1274, allocations: 27.75 kB / 463.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.1285, allocations: 314.9 kB / 464.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006875/0.1292, allocations: 310.9 kB / 464.4 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000813/0.13, allocations: 350 kB / 464.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007425/0.1307, allocations: 0.7872 MB / 465.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.1311, allocations: 185.6 kB / 465.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.1316, allocations: 223 kB / 465.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.1318, allocations: 239.1 kB / 466.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.1319, allocations: 20 kB / 466.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009145/0.1328, allocations: 0.6431 MB / 466.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.133, allocations: 119.5 kB / 466.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1332, allocations: 175.1 kB / 467.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007891/0.134, allocations: 0.7128 MB / 467.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.134, allocations: 3.938 kB / 467.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.134, allocations: 0 / 467.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.134, allocations: 0 / 467.8 MB, free: 12.8 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.001292/0.1353, allocations: 0.7784 MB / 468.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1354, allocations: 8.031 kB / 468.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.1364, allocations: 108.4 kB / 468.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.137, allocations: 411.6 kB / 469.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.137, allocations: 16.94 kB / 469.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.137, allocations: 32.11 kB / 469.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.1379, allocations: 449.2 kB / 469.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1379, allocations: 0 / 469.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.1379, allocations: 11.98 kB / 469.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.138, allocations: 28.42 kB / 469.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009977/0.139, allocations: 485.2 kB / 470.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.141, allocations: 1.779 MB / 471.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.142, allocations: 389.1 kB / 472.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.1424, allocations: 143.3 kB / 472.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.1424, allocations: 4 kB / 472.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005841/0.143, allocations: 289 kB / 472.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/0.143, allocations: 0 / 472.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.00137/0.1444, allocations: 0.5112 MB / 473.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.1446, allocations: 248 kB / 473.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.145, allocations: 357.6 kB / 473.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.145, allocations: 33.7 kB / 473.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1452, allocations: 216.2 kB / 474 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.1453, allocations: 86.81 kB / 474.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1454, allocations: 73.59 kB / 474.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1455, allocations: 350.8 kB / 474.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.1459, allocations: 148.2 kB / 474.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.1464, allocations: 269.8 kB / 475 MB, free: 5.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008561/0.1473, allocations: 478.3 kB / 475.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1473, allocations: 0 / 475.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001063/0.1483, allocations: 0.518 MB / 475.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.1484, allocations: 33.7 kB / 476 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.1484, allocations: 4 kB / 476 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1484, allocations: 11.98 kB / 476 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.1488, allocations: 91.83 kB / 476.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.1488, allocations: 12.36 kB / 476.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.1491, allocations: 51.61 kB / 476.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.1491, allocations: 19.98 kB / 476.2 MB, free: 3.926 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.0001966/0.1493, allocations: 197.6 kB / 476.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.1494, allocations: 39.47 kB / 476.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.1495, allocations: 55.27 kB / 476.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1495, allocations: 4 kB / 476.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1496, allocations: 0 / 476.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1496, allocations: 8 kB / 476.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.1503, allocations: 0.8468 MB / 477.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1503, allocations: 0 / 477.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.1506, allocations: 60.08 kB / 477.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1506, allocations: 8 kB / 477.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.1507, allocations: 15.98 kB / 477.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1507, allocations: 3.938 kB / 477.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1507, allocations: 4 kB / 477.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.1516, allocations: 453.6 kB / 477.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.1517, allocations: 116.6 kB / 478 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.1518, allocations: 19.94 kB / 478 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.152, allocations: 31.91 kB / 478 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.1521, allocations: 35.89 kB / 478 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.1521, allocations: 12 kB / 478.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.1524, allocations: 251.2 kB / 478.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1524, allocations: 0 / 478.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.1528, allocations: 95.84 kB / 478.4 MB, free: 1.559 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.001027/0.1538, allocations: 464.2 kB / 478.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008788/0.1547, allocations: 415.6 kB / 479.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1547, allocations: 0 / 479.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.1552, allocations: 185 kB / 479.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.1557, allocations: 73.45 kB / 479.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1569, allocations: 0.8195 MB / 480.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.1573, allocations: 0.8115 MB / 481.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.1575, allocations: 91.19 kB / 481.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1576, allocations: 43.42 kB / 481.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1576, allocations: 3.938 kB / 481.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Templates: time 0.008449/0.1661, allocations: 4.406 MB / 485.7 MB, free: 10.41 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