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.001153/0.001152, allocations: 104.9 kB / 17.59 MB, free: 5.562 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.001297/0.001297, allocations: 191.6 kB / 18.52 MB, free: 4.641 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.378/1.378, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1777/0.1777, allocations: 38.02 MB / 330.4 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 61.59 kB / 399.5 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 58.07 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006142/0.1079, allocations: 4.227 MB / 461.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003627/0.1116, allocations: 2.516 MB / 464.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.1119, allocations: 7.938 kB / 464.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.1131, allocations: 353.7 kB / 464.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008356/0.1139, allocations: 338.5 kB / 465 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009905/0.1149, allocations: 386.8 kB / 465.3 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007139/0.1157, allocations: 0.6156 MB / 465.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.1161, allocations: 238.1 kB / 466.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005408/0.1167, allocations: 270.9 kB / 466.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.117, allocations: 239.1 kB / 466.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.1171, allocations: 40 kB / 466.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009315/0.1181, allocations: 0.5339 MB / 467.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1182, allocations: 139.6 kB / 467.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1185, allocations: 191 kB / 467.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1195, allocations: 0.6895 MB / 468.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1195, allocations: 0 / 468.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1195, allocations: 0 / 468.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.1195, allocations: 4 kB / 468.3 MB, free: 13.27 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.001463/0.121, allocations: 0.766 MB / 469 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.121, allocations: 11.89 kB / 469 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.1222, allocations: 124.2 kB / 469.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.1228, allocations: 407.7 kB / 469.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1228, allocations: 28.88 kB / 469.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.1229, allocations: 28.11 kB / 469.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/0.1238, allocations: 453.2 kB / 470.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1238, allocations: 0 / 470.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.1238, allocations: 15.98 kB / 470.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.1239, allocations: 20.42 kB / 470.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1249, allocations: 489.2 kB / 470.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.1271, allocations: 1.779 MB / 472.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1282, allocations: 381.1 kB / 472.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.1286, allocations: 145.6 kB / 472.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.1286, allocations: 7.984 kB / 472.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/0.1292, allocations: 285.7 kB / 473.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.445e-06/0.1292, allocations: 0 / 473.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001382/0.1306, allocations: 0.5158 MB / 473.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.1307, allocations: 239.3 kB / 473.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.1311, allocations: 353.7 kB / 474.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.1312, allocations: 37.7 kB / 474.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1313, allocations: 208.2 kB / 474.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.492e-05/0.1314, allocations: 98.7 kB / 474.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1316, allocations: 73.59 kB / 474.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1317, allocations: 354.8 kB / 475 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.1321, allocations: 140.2 kB / 475.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.1326, allocations: 277.8 kB / 475.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.1335, allocations: 466.3 kB / 475.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1335, allocations: 0 / 475.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001093/0.1346, allocations: 0.514 MB / 476.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.1346, allocations: 33.7 kB / 476.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1346, allocations: 4.562 kB / 476.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.1347, allocations: 8 kB / 476.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.135, allocations: 103.8 kB / 476.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.1351, allocations: 8 kB / 476.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.1354, allocations: 59.5 kB / 476.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.1354, allocations: 12 kB / 476.6 MB, free: 4.398 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.0002328/0.1357, allocations: 201.6 kB / 476.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.1357, allocations: 35.56 kB / 476.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1359, allocations: 51.28 kB / 476.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.1359, allocations: 11.98 kB / 476.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1359, allocations: 3.938 kB / 476.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1359, allocations: 4 kB / 476.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008301/0.1367, allocations: 0.8508 MB / 477.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1367, allocations: 0 / 477.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.137, allocations: 63.89 kB / 477.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.137, allocations: 8 kB / 477.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.1371, allocations: 15.92 kB / 477.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1371, allocations: 4 kB / 477.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1371, allocations: 4 kB / 477.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/0.138, allocations: 457.5 kB / 478.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.1381, allocations: 116.7 kB / 478.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.1382, allocations: 12 kB / 478.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.1384, allocations: 23.97 kB / 478.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.1385, allocations: 31.91 kB / 478.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.1386, allocations: 15.98 kB / 478.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.1389, allocations: 251.2 kB / 478.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1389, allocations: 4 kB / 478.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004338/0.1393, allocations: 99.83 kB / 478.8 MB, free: 2.023 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.001076/0.1404, allocations: 444.9 kB / 479.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.1415, allocations: 459.8 kB / 479.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1415, allocations: 0 / 479.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.1419, allocations: 184 kB / 479.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.1424, allocations: 71.98 kB / 480 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1436, allocations: 0.7531 MB / 480.7 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.144, allocations: 0.8073 MB / 481.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.1441, allocations: 51.41 kB / 481.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1441, allocations: 0 / 481.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Templates: time 0.008825/0.153, allocations: 5.515 MB / 487.1 MB, free: 9.875 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)