Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001503/0.001503, allocations: 106.8 kB / 16.62 MB, free: 6.809 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.001819/0.001819, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.321/1.321, 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/package.mo): time 0.1691/0.1691, allocations: 38.02 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.91 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1162, allocations: 58.05 MB / 456.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006497/0.1228, allocations: 4.887 MB / 461.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.1263, allocations: 2.68 MB / 463.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.1265, allocations: 27.81 kB / 463.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009903/0.1275, allocations: 322.9 kB / 464.2 MB, free: 496 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006679/0.1282, allocations: 310.9 kB / 464.5 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.1291, allocations: 353.1 kB / 464.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.1298, allocations: 0.6157 MB / 465.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.1302, allocations: 254.1 kB / 465.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.1306, allocations: 259 kB / 466 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1309, allocations: 263 kB / 466.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.131, allocations: 36 kB / 466.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008093/0.1318, allocations: 0.5417 MB / 466.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.132, allocations: 139.6 kB / 467 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.1322, allocations: 198.9 kB / 467.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008504/0.133, allocations: 0.7245 MB / 467.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.133, allocations: 0 / 467.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1331, allocations: 0 / 467.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1331, allocations: 0 / 467.9 MB, free: 12.82 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.001242/0.1343, allocations: 0.7745 MB / 468.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1344, allocations: 15.89 kB / 468.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.1354, allocations: 112.4 kB / 468.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.136, allocations: 403.7 kB / 469.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.136, allocations: 16.92 kB / 469.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.1361, allocations: 28.12 kB / 469.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/0.137, allocations: 461.1 kB / 469.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.137, allocations: 3.984 kB / 469.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.137, allocations: 12 kB / 469.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.1371, allocations: 28.36 kB / 469.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/0.138, allocations: 481.3 kB / 470.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.14, allocations: 1.779 MB / 472 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/0.141, allocations: 386.8 kB / 472.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.1414, allocations: 133.6 kB / 472.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.1414, allocations: 19.97 kB / 472.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/0.142, allocations: 281.1 kB / 472.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.494e-06/0.142, allocations: 4 kB / 472.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001298/0.1433, allocations: 0.5119 MB / 473.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.1434, allocations: 239.4 kB / 473.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.1438, allocations: 357.6 kB / 473.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1439, allocations: 37.7 kB / 473.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.144, allocations: 204.2 kB / 474.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/0.1441, allocations: 94.78 kB / 474.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1442, allocations: 69.61 kB / 474.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1444, allocations: 354.7 kB / 474.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.1448, allocations: 148.2 kB / 474.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.1452, allocations: 273.8 kB / 475 MB, free: 5.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008123/0.146, allocations: 470.3 kB / 475.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1461, allocations: 4 kB / 475.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001035/0.1471, allocations: 0.5217 MB / 476 MB, free: 4.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.1472, allocations: 33.7 kB / 476.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1472, allocations: 4 kB / 476.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1472, allocations: 11.94 kB / 476.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.1475, allocations: 100.3 kB / 476.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1476, allocations: 4 kB / 476.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.1479, allocations: 51.59 kB / 476.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1479, allocations: 20 kB / 476.2 MB, free: 3.938 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.0002246/0.1481, allocations: 197.6 kB / 476.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.1482, allocations: 39.47 kB / 476.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1483, allocations: 51.27 kB / 476.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1484, allocations: 8 kB / 476.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1484, allocations: 4 kB / 476.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1484, allocations: 3.984 kB / 476.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.1493, allocations: 0.8508 MB / 477.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1494, allocations: 0 / 477.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1496, allocations: 68.02 kB / 477.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1496, allocations: 4 kB / 477.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.1497, allocations: 4 kB / 477.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1497, allocations: 7.984 kB / 477.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1497, allocations: 0 / 477.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009395/0.1506, allocations: 466 kB / 477.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.1507, allocations: 112.7 kB / 478 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.1508, allocations: 16 kB / 478 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.151, allocations: 27.97 kB / 478.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1511, allocations: 31.91 kB / 478.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.1512, allocations: 19.98 kB / 478.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.1514, allocations: 251.2 kB / 478.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1515, allocations: 0 / 478.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.1519, allocations: 95.83 kB / 478.5 MB, free: 1.574 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.001176/0.1531, allocations: 473.1 kB / 478.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.1541, allocations: 455.1 kB / 479.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1542, allocations: 0 / 479.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.1546, allocations: 189.2 kB / 479.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.1551, allocations: 73.27 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.001367/0.1565, allocations: 0.8241 MB / 480.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.1569, allocations: 0.8112 MB / 481.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.1572, allocations: 91.14 kB / 481.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1573, allocations: 43.42 kB / 481.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1573, allocations: 0 / 481.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.009079/0.1664, allocations: 4.564 MB / 486 MB, free: 10.22 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)