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.001596/0.001596, allocations: 101.6 kB / 16.5 MB, free: 6.688 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.001871/0.001871, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1762/0.1762, allocations: 38.02 MB / 329.3 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 65.95 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1007, allocations: 58.05 MB / 456.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006958/0.1077, allocations: 4.879 MB / 461 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.1117, allocations: 2.723 MB / 463.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.1121, allocations: 23.81 kB / 463.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1132, allocations: 310.9 kB / 464.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008457/0.114, allocations: 314.9 kB / 464.4 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.1149, allocations: 357.3 kB / 464.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.1158, allocations: 0.7794 MB / 465.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/0.1162, allocations: 185.6 kB / 465.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.1167, allocations: 215 kB / 465.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.1171, allocations: 247 kB / 466.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.1172, allocations: 20 kB / 466.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.1182, allocations: 0.643 MB / 466.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1184, allocations: 127.5 kB / 466.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.1186, allocations: 175 kB / 467.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1196, allocations: 0.7165 MB / 467.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1197, allocations: 0 / 467.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1197, allocations: 0 / 467.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1197, allocations: 0 / 467.8 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.001455/0.1211, allocations: 0.7746 MB / 468.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1212, allocations: 8.031 kB / 468.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1223, allocations: 112.4 kB / 468.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.1229, allocations: 403.7 kB / 469.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1229, allocations: 24.86 kB / 469.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.123, allocations: 32.11 kB / 469.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00085/0.1238, allocations: 449.2 kB / 469.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1238, allocations: 4 kB / 469.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.1239, allocations: 7.938 kB / 469.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.1239, allocations: 24.42 kB / 469.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.125, allocations: 485.3 kB / 470.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.1272, allocations: 1.787 MB / 471.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.1283, allocations: 383.7 kB / 472.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.1286, allocations: 145.6 kB / 472.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.1287, allocations: 7.984 kB / 472.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005547/0.1292, allocations: 281.1 kB / 472.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.685e-06/0.1293, allocations: 0 / 472.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001328/0.1306, allocations: 0.513 MB / 473.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.1307, allocations: 243.3 kB / 473.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.1311, allocations: 353.6 kB / 473.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1312, allocations: 33.7 kB / 473.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.1313, allocations: 216.5 kB / 474 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.1314, allocations: 94.73 kB / 474.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1315, allocations: 73.59 kB / 474.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1317, allocations: 350.8 kB / 474.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.132, allocations: 144.2 kB / 474.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.1325, allocations: 273.8 kB / 474.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.1334, allocations: 474.3 kB / 475.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1334, allocations: 0 / 475.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001079/0.1345, allocations: 0.5222 MB / 475.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.1345, allocations: 37.73 kB / 476 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1345, allocations: 7.938 kB / 476 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1346, allocations: 4 kB / 476 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.1349, allocations: 95.81 kB / 476.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.1349, allocations: 11.98 kB / 476.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.1352, allocations: 47.61 kB / 476.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.1353, allocations: 23.98 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.0002106/0.1355, allocations: 193.6 kB / 476.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.1356, allocations: 43.47 kB / 476.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.1357, allocations: 55.25 kB / 476.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1357, allocations: 4 kB / 476.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1357, allocations: 0 / 476.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1357, allocations: 4 kB / 476.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.1365, allocations: 0.8508 MB / 477.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1365, allocations: 0 / 477.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.1368, allocations: 67.89 kB / 477.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1368, allocations: 0 / 477.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.1368, allocations: 15.98 kB / 477.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1368, allocations: 0 / 477.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1368, allocations: 7.984 kB / 477.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009401/0.1378, allocations: 465.6 kB / 477.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.1379, allocations: 108.7 kB / 478 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.1379, allocations: 16 kB / 478 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1382, allocations: 23.97 kB / 478 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.1383, allocations: 35.89 kB / 478 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.1383, allocations: 16 kB / 478 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.1386, allocations: 255.2 kB / 478.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.686e-06/0.1386, allocations: 0 / 478.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.139, allocations: 95.78 kB / 478.4 MB, free: 1.57 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.0009848/0.14, allocations: 457.6 kB / 478.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009073/0.1409, allocations: 412.4 kB / 479.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1409, allocations: 4.125 kB / 479.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.1414, allocations: 183.8 kB / 479.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1418, allocations: 84 kB / 479.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1432, allocations: 0.8179 MB / 480.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1436, allocations: 0.8115 MB / 481.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002595/0.1438, allocations: 87.2 kB / 481.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.144, allocations: 47.42 kB / 481.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.144, allocations: 0 / 481.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Templates: time 0.008997/0.153, allocations: 4.408 MB / 485.7 MB, free: 10.42 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)