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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001099/0.001099, allocations: 189.5 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.19/1.19, allocations: 194.2 MB / 212.2 MB, free: 2.375 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001705/0.001705, allocations: 116.5 kB / 256.6 MB, free: 4.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1649/0.1649, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08119, allocations: 52.19 MB / 454 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004373/0.0856, allocations: 4.839 MB / 458.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.08802, allocations: 2.638 MB / 461.5 MB, free: 9.047 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.08823, allocations: 31.81 kB / 461.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007707/0.089, allocations: 306.9 kB / 461.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.08946, allocations: 295 kB / 462.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.08994, allocations: 319.2 kB / 462.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.09041, allocations: 0.7912 MB / 463.2 MB, free: 7.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.09069, allocations: 185.5 kB / 463.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.09101, allocations: 234.1 kB / 463.6 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.09124, allocations: 251 kB / 463.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.09131, allocations: 20 kB / 463.9 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.09199, allocations: 0.6547 MB / 464.5 MB, free: 5.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.0921, allocations: 115.7 kB / 464.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.09223, allocations: 183 kB / 464.8 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.09282, allocations: 0.7321 MB / 465.5 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09283, allocations: 0 / 465.5 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09284, allocations: 4 kB / 465.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.09285, allocations: 0 / 465.5 MB, free: 4.961 MB / 314.7 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.00104/0.0939, allocations: 0.8248 MB / 466.4 MB, free: 4.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.09394, allocations: 8.031 kB / 466.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.09484, allocations: 116.4 kB / 466.5 MB, free: 3.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.09529, allocations: 403.7 kB / 466.9 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.09532, allocations: 24.92 kB / 466.9 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.09537, allocations: 27.94 kB / 466.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.09603, allocations: 457.2 kB / 467.4 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.09605, allocations: 8 kB / 467.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.09608, allocations: 4 kB / 467.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.09612, allocations: 24.42 kB / 467.4 MB, free: 2.945 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008113/0.09694, allocations: 497.2 kB / 467.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.09844, allocations: 1.826 MB / 469.7 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.09932, allocations: 393.1 kB / 470.1 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.09967, allocations: 153.7 kB / 470.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.09972, allocations: 11.92 kB / 470.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/0.1003, allocations: 282.1 kB / 470.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.1003, allocations: 0 / 470.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.001281/0.1016, allocations: 0.5326 MB / 471.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1017, allocations: 239.3 kB / 471.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.102, allocations: 357.5 kB / 471.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1021, allocations: 33.7 kB / 471.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1022, allocations: 200.3 kB / 471.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.1023, allocations: 102.6 kB / 472 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1024, allocations: 78.06 kB / 472.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1025, allocations: 350.8 kB / 472.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.1029, allocations: 156.7 kB / 472.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.1034, allocations: 292.4 kB / 472.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/0.1042, allocations: 0.5227 MB / 473.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1043, allocations: 4 kB / 473.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001081/0.1053, allocations: 0.6093 MB / 474 MB, free: 11.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.1054, allocations: 71.39 kB / 474.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1054, allocations: 4 kB / 474.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1055, allocations: 8.562 kB / 474.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.1058, allocations: 103.8 kB / 474.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1058, allocations: 4 kB / 474.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.1061, allocations: 55.56 kB / 474.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.1061, allocations: 20 kB / 474.3 MB, free: 11.68 MB / 330.7 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0001886/0.1063, allocations: 197.6 kB / 474.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.1064, allocations: 39.5 kB / 474.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1065, allocations: 55.22 kB / 474.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1065, allocations: 8 kB / 474.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1065, allocations: 0 / 474.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1066, allocations: 7.984 kB / 474.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007677/0.1073, allocations: 0.8585 MB / 475.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1073, allocations: 4.125 kB / 475.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.1076, allocations: 63.95 kB / 475.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1076, allocations: 4 kB / 475.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.1076, allocations: 4 kB / 475.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.1076, allocations: 7.938 kB / 475.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1077, allocations: 0 / 475.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.1092, allocations: 1.237 MB / 476.7 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.1093, allocations: 148.6 kB / 476.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.1094, allocations: 19.94 kB / 476.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.1096, allocations: 23.97 kB / 476.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.1097, allocations: 35.95 kB / 477 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.1098, allocations: 23.92 kB / 477 MB, free: 8.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00023/0.11, allocations: 243.2 kB / 477.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.11, allocations: 0 / 477.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004866/0.1105, allocations: 103.8 kB / 477.3 MB, free: 8.438 MB / 330.7 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.0009601/0.1115, allocations: 479.1 kB / 477.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00093/0.1124, allocations: 0.5039 MB / 478.3 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1124, allocations: 4.062 kB / 478.3 MB, free: 7.457 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.1129, allocations: 196.5 kB / 478.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1133, allocations: 65.34 kB / 478.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.1148, allocations: 1.03 MB / 479.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1152, allocations: 0.8154 MB / 480.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.1155, allocations: 95.08 kB / 480.5 MB, free: 5.172 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1156, allocations: 43.42 kB / 480.5 MB, free: 5.133 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1156, allocations: 3.938 kB / 480.5 MB, free: 5.129 MB / 330.7 MB Notification: Performance of Templates: time 0.008399/0.124, allocations: 4.849 MB / 485.4 MB, free: 284 kB / 330.7 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)