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.001187/0.001187, allocations: 103 kB / 17.74 MB, free: 5.305 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.001286/0.001286, allocations: 198.5 kB / 18.67 MB, free: 4.383 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.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1766/0.1766, allocations: 37.99 MB / 309.9 MB, free: 5.953 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.00149/0.001491, allocations: 68.47 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09289, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005636/0.09856, allocations: 4.247 MB / 492 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.1021, allocations: 2.432 MB / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.1024, allocations: 11.94 kB / 494.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.1037, allocations: 346.5 kB / 494.8 MB, free: 1.27 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.0009489/0.1046, allocations: 334.5 kB / 495.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.1056, allocations: 358.9 kB / 495.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00079/0.1064, allocations: 0.6197 MB / 496.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.1068, allocations: 234.1 kB / 496.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005403/0.1074, allocations: 262.8 kB / 496.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.1078, allocations: 259.1 kB / 496.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.1078, allocations: 40 kB / 496.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008631/0.1087, allocations: 0.5339 MB / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.1089, allocations: 135.6 kB / 497.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.1091, allocations: 198.9 kB / 497.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009903/0.1101, allocations: 0.6895 MB / 498.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1101, allocations: 0 / 498.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1101, allocations: 0 / 498.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.1101, allocations: 0 / 498.4 MB, free: 13.63 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.001483/0.1116, allocations: 0.7708 MB / 499.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1117, allocations: 11.89 kB / 499.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.1128, allocations: 116.3 kB / 499.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.1135, allocations: 427.6 kB / 499.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.1135, allocations: 20.94 kB / 499.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.1136, allocations: 28.11 kB / 499.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.1144, allocations: 453.2 kB / 0.4885 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1145, allocations: 0 / 0.4885 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.1145, allocations: 12 kB / 0.4885 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.1146, allocations: 24.36 kB / 0.4885 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1157, allocations: 485.3 kB / 0.489 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.1178, allocations: 1.783 MB / 0.4908 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009995/0.1188, allocations: 381.1 kB / 0.4911 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.1192, allocations: 145.6 kB / 0.4913 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.1192, allocations: 11.98 kB / 0.4913 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/0.1199, allocations: 285.1 kB / 0.4915 GB, free: 8.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 4.378e-06/0.1199, allocations: 0 / 0.4915 GB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001381/0.1213, allocations: 0.5169 MB / 0.492 GB, free: 7.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.1214, allocations: 235.3 kB / 0.4923 GB, free: 7.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.122, allocations: 353.7 kB / 0.4926 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.1221, allocations: 37.7 kB / 0.4926 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.1223, allocations: 208.2 kB / 0.4928 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1224, allocations: 106.6 kB / 0.4929 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.1226, allocations: 69.61 kB / 0.493 GB, free: 6.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1228, allocations: 354.8 kB / 0.4933 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.1232, allocations: 140.3 kB / 0.4935 GB, free: 6.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.1237, allocations: 285.5 kB / 0.4938 GB, free: 6.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008778/0.1245, allocations: 465.5 kB / 0.4942 GB, free: 5.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1246, allocations: 0 / 0.4942 GB, free: 5.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00115/0.1257, allocations: 0.514 MB / 0.4947 GB, free: 4.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.1258, allocations: 37.64 kB / 0.4947 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1258, allocations: 4 kB / 0.4947 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1258, allocations: 12.5 kB / 0.4947 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.1262, allocations: 99.81 kB / 0.4948 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.1262, allocations: 8 kB / 0.4949 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.1265, allocations: 55.56 kB / 0.4949 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.1266, allocations: 12 kB / 0.4949 GB, free: 4.73 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.0002863/0.1269, allocations: 205.6 kB / 0.4951 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.127, allocations: 35.56 kB / 0.4951 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.1271, allocations: 51.28 kB / 0.4952 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1271, allocations: 3.984 kB / 0.4952 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1271, allocations: 4 kB / 0.4952 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1272, allocations: 108.6 kB / 0.4953 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.84e-05/0.1273, allocations: 16 kB / 0.4953 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.1275, allocations: 23.97 kB / 0.4953 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.1277, allocations: 35.89 kB / 0.4954 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001255/0.1289, allocations: 0.9423 MB / 0.4963 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001257/0.1302, allocations: 1.01 MB / 0.4973 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004168/0.1306, allocations: 183.8 kB / 0.4975 GB, free: 2.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.1309, allocations: 247.2 kB / 0.4977 GB, free: 1.828 MB / 382.1 MB Notification: Performance of Backend: time 4.9e-07/0.1309, allocations: 0 / 0.4977 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00304/0.1339, allocations: 0.97 MB / 0.4986 GB, free: 0.832 MB / 382.1 MB Notification: Performance of SimCode: time 0.0013/0.1353, allocations: 1.08 MB / 0.4997 GB, free: 15.7 MB / 398.1 MB Notification: Performance of Templates: time 0.01219/0.1475, allocations: 7.058 MB / 0.5066 GB, free: 8.633 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)