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.001392/0.001392, allocations: 114.8 kB / 16.63 MB, free: 6.812 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.001676/0.001676, allocations: 190 kB / 17.55 MB, free: 5.934 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.334/1.334, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1757/0.1757, allocations: 38.03 MB / 329.4 MB, free: 9.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.81 kB / 398.3 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09834, allocations: 58.06 MB / 456.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006954/0.1053, allocations: 4.89 MB / 461.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.1092, allocations: 2.68 MB / 463.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.1096, allocations: 27.81 kB / 463.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1107, allocations: 317.8 kB / 464.3 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.1115, allocations: 314.9 kB / 464.6 MB, free: 172 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.1125, allocations: 347.2 kB / 464.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000833/0.1134, allocations: 0.6273 MB / 465.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/0.1139, allocations: 246.1 kB / 465.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.1144, allocations: 263 kB / 466 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.1147, allocations: 255 kB / 466.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.1148, allocations: 40 kB / 466.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007667/0.1156, allocations: 0.5378 MB / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1157, allocations: 143.5 kB / 467 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.1159, allocations: 187.1 kB / 467.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007821/0.1167, allocations: 0.7245 MB / 467.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1167, allocations: 0 / 467.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1167, allocations: 7.938 kB / 467.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1167, allocations: 0 / 467.9 MB, free: 12.81 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.001248/0.118, allocations: 0.7745 MB / 468.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.118, allocations: 11.89 kB / 468.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.119, allocations: 116.4 kB / 468.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.1196, allocations: 411.7 kB / 469.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.1196, allocations: 16.92 kB / 469.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.1197, allocations: 36.05 kB / 469.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008107/0.1205, allocations: 453.2 kB / 469.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1205, allocations: 0 / 469.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.1205, allocations: 8 kB / 469.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.1206, allocations: 20.42 kB / 469.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009622/0.1215, allocations: 485.2 kB / 470.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.1235, allocations: 1.783 MB / 472 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.1245, allocations: 377.1 kB / 472.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.1248, allocations: 151.2 kB / 472.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.1249, allocations: 8 kB / 472.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005563/0.1255, allocations: 281.1 kB / 472.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.1255, allocations: 0 / 472.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001294/0.1268, allocations: 0.5197 MB / 473.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.1269, allocations: 239.3 kB / 473.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.1273, allocations: 353.6 kB / 473.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.1273, allocations: 37.7 kB / 473.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1275, allocations: 212.2 kB / 474.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.1275, allocations: 90.8 kB / 474.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1277, allocations: 89.56 kB / 474.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1278, allocations: 342.8 kB / 474.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.1282, allocations: 144.2 kB / 474.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.1286, allocations: 277.8 kB / 475.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.1294, allocations: 466.3 kB / 475.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1295, allocations: 0 / 475.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001052/0.1305, allocations: 0.5217 MB / 476 MB, free: 4.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.1306, allocations: 38.25 kB / 476.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.1306, allocations: 4 kB / 476.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1306, allocations: 8 kB / 476.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.131, allocations: 91.83 kB / 476.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.131, allocations: 15.97 kB / 476.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.1313, allocations: 51.59 kB / 476.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.1313, allocations: 20 kB / 476.3 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.0002303/0.1316, allocations: 193.6 kB / 476.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.1317, allocations: 47.47 kB / 476.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.1318, allocations: 51.27 kB / 476.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1318, allocations: 4 kB / 476.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.1318, allocations: 4 kB / 476.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1318, allocations: 0 / 476.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008563/0.1327, allocations: 0.8508 MB / 477.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1327, allocations: 4 kB / 477.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.133, allocations: 59.95 kB / 477.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.133, allocations: 4 kB / 477.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.133, allocations: 15.92 kB / 477.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.133, allocations: 4 kB / 477.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.133, allocations: 0 / 477.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.134, allocations: 469.6 kB / 477.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.1341, allocations: 108.7 kB / 478 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.1341, allocations: 12 kB / 478.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1344, allocations: 23.97 kB / 478.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/0.1345, allocations: 39.89 kB / 478.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.1345, allocations: 8 kB / 478.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.1348, allocations: 263.2 kB / 478.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1348, allocations: 0 / 478.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.1352, allocations: 95.78 kB / 478.5 MB, free: 1.562 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.00103/0.1362, allocations: 465.9 kB / 478.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.1373, allocations: 452.3 kB / 479.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1373, allocations: 0 / 479.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.1378, allocations: 192 kB / 479.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.1382, allocations: 68.14 kB / 479.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1395, allocations: 0.8207 MB / 480.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1399, allocations: 0.8112 MB / 481.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.1401, allocations: 99.17 kB / 481.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1403, allocations: 43.42 kB / 481.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1403, allocations: 0 / 481.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.009151/0.1494, allocations: 4.574 MB / 486 MB, free: 10.21 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