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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0012/0.0012, allocations: 112 kB / 17.07 MB, free: 5.945 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.001111/0.001111, allocations: 196 kB / 18.01 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2047/0.2047, allocations: 37.99 MB / 309.2 MB, free: 5.945 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 72.22 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1341, allocations: 55.24 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006845/0.141, allocations: 4.239 MB / 491.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.1448, allocations: 2.432 MB / 493.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.1452, allocations: 11.94 kB / 493.8 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.1466, allocations: 346.5 kB / 494.1 MB, free: 1.285 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1476, allocations: 334.5 kB / 494.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000975/0.1486, allocations: 359 kB / 494.8 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.1494, allocations: 0.6197 MB / 495.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.1498, allocations: 234 kB / 495.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.1503, allocations: 266.9 kB / 495.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.1507, allocations: 251 kB / 496.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.1507, allocations: 44 kB / 496.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009211/0.1517, allocations: 0.5378 MB / 496.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1518, allocations: 135.6 kB / 496.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.152, allocations: 199 kB / 497.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008867/0.1529, allocations: 0.6895 MB / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1529, allocations: 0 / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1529, allocations: 0 / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.153, allocations: 3.938 kB / 497.8 MB, free: 13.64 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.001354/0.1543, allocations: 0.7746 MB / 498.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1544, allocations: 11.89 kB / 498.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.1555, allocations: 112.3 kB / 498.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.1561, allocations: 431.6 kB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1561, allocations: 16.94 kB / 499.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.1562, allocations: 28.12 kB / 499.1 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/0.157, allocations: 453.2 kB / 499.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.157, allocations: 0 / 499.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.1571, allocations: 11.98 kB / 499.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.1571, allocations: 24.42 kB / 499.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009563/0.1581, allocations: 489.2 kB / 0.4884 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.1602, allocations: 1.779 MB / 0.4901 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.1612, allocations: 385.1 kB / 0.4905 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.1616, allocations: 141.6 kB / 0.4906 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1616, allocations: 11.98 kB / 0.4906 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005486/0.1622, allocations: 281.1 kB / 0.4909 GB, free: 8.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/0.1622, allocations: 4 kB / 0.4909 GB, free: 8.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001346/0.1635, allocations: 0.5052 MB / 0.4914 GB, free: 7.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.1637, allocations: 251.3 kB / 0.4916 GB, free: 7.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.1642, allocations: 349.7 kB / 0.4919 GB, free: 7.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.1642, allocations: 33.7 kB / 0.492 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.1644, allocations: 212.2 kB / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.1645, allocations: 102.6 kB / 0.4923 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.1647, allocations: 69.61 kB / 0.4923 GB, free: 6.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1649, allocations: 354.8 kB / 0.4927 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.1653, allocations: 144.3 kB / 0.4928 GB, free: 6.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.1659, allocations: 281.5 kB / 0.4931 GB, free: 6.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009328/0.1668, allocations: 469.5 kB / 0.4935 GB, free: 5.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1668, allocations: 0 / 0.4935 GB, free: 5.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001202/0.168, allocations: 0.5218 MB / 0.494 GB, free: 4.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.1681, allocations: 33.7 kB / 0.4941 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1681, allocations: 4 kB / 0.4941 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.1682, allocations: 4 kB / 0.4941 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.1685, allocations: 100.3 kB / 0.4942 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.1686, allocations: 8 kB / 0.4942 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.1689, allocations: 51.56 kB / 0.4942 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.1689, allocations: 20 kB / 0.4943 GB, free: 4.738 MB / 382.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.0003418/0.1693, allocations: 197.5 kB / 0.4944 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.1694, allocations: 39.56 kB / 0.4945 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.978e-05/0.1695, allocations: 43.28 kB / 0.4945 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1695, allocations: 8 kB / 0.4945 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1695, allocations: 4 kB / 0.4945 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1695, allocations: 3.984 kB / 0.4945 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.1704, allocations: 0.8507 MB / 0.4954 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1704, allocations: 4 kB / 0.4954 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.1706, allocations: 60.08 kB / 0.4954 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1707, allocations: 4 kB / 0.4954 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.1707, allocations: 8 kB / 0.4954 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1707, allocations: 7.938 kB / 0.4954 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1707, allocations: 0 / 0.4954 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008839/0.1716, allocations: 461.5 kB / 0.4959 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.1717, allocations: 112.7 kB / 0.496 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.1718, allocations: 15.98 kB / 0.496 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.172, allocations: 23.97 kB / 0.496 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1721, allocations: 35.89 kB / 0.4961 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.1721, allocations: 23.98 kB / 0.4961 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002776/0.1724, allocations: 247.2 kB / 0.4963 GB, free: 2.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1724, allocations: 3.938 kB / 0.4963 GB, free: 2.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.1728, allocations: 95.89 kB / 0.4964 GB, free: 2.387 MB / 382.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.001196/0.174, allocations: 456 kB / 0.4969 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008753/0.1749, allocations: 416 kB / 0.4973 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1749, allocations: 0 / 0.4973 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004213/0.1754, allocations: 189.2 kB / 0.4974 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.1758, allocations: 77.75 kB / 0.4975 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1771, allocations: 0.7082 MB / 0.4982 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1775, allocations: 0.815 MB / 0.499 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.1777, allocations: 95.17 kB / 0.4991 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1779, allocations: 43.42 kB / 0.4991 GB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1779, allocations: 0 / 0.4991 GB, free: 15.52 MB / 398.1 MB Notification: Performance of Templates: time 0.01049/0.1884, allocations: 4.731 MB / 0.5037 GB, free: 10.78 MB / 398.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)