Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 112.9 kB / 16.62 MB, free: 6.793 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.001133/0.001133, allocations: 189.8 kB / 17.55 MB, free: 5.918 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.39/1.39, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1662/0.1662, allocations: 38.03 MB / 329.4 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.88 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1037, allocations: 58.06 MB / 456.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006315/0.1101, allocations: 4.887 MB / 461.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.1144, allocations: 2.672 MB / 464 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004983/0.1149, allocations: 27.81 kB / 464 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.1162, allocations: 330.8 kB / 464.4 MB, free: 376 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009952/0.1172, allocations: 306.9 kB / 464.7 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1183, allocations: 349.7 kB / 465 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.1191, allocations: 0.6234 MB / 465.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/0.1196, allocations: 254.1 kB / 465.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.1203, allocations: 263 kB / 466.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.1207, allocations: 263 kB / 466.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/0.1208, allocations: 40 kB / 466.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009601/0.1218, allocations: 0.5378 MB / 467 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.122, allocations: 139.6 kB / 467.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1222, allocations: 195 kB / 467.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1235, allocations: 0.7283 MB / 468 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1235, allocations: 0 / 468 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1235, allocations: 0 / 468 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.1235, allocations: 0 / 468 MB, free: 12.7 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.001483/0.125, allocations: 0.7746 MB / 468.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1251, allocations: 11.89 kB / 468.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.723e-05/0.1251, allocations: 62.72 kB / 468.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.1263, allocations: 112.4 kB / 469 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.1269, allocations: 411.6 kB / 469.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.1269, allocations: 20.94 kB / 469.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.127, allocations: 23.94 kB / 469.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/0.1278, allocations: 453.2 kB / 469.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1278, allocations: 0 / 469.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.1279, allocations: 15.98 kB / 469.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.1279, allocations: 24.36 kB / 469.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.1289, allocations: 485.3 kB / 470.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.1309, allocations: 1.783 MB / 472.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009617/0.1319, allocations: 386.8 kB / 472.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.1323, allocations: 145.6 kB / 472.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.1323, allocations: 8 kB / 472.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.1329, allocations: 281.1 kB / 473 MB, free: 7.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.1329, allocations: 0 / 473 MB, free: 7.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001303/0.1342, allocations: 0.5158 MB / 473.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1343, allocations: 239.3 kB / 473.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.1347, allocations: 357.6 kB / 474.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.1348, allocations: 41.64 kB / 474.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1349, allocations: 204.2 kB / 474.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/0.135, allocations: 94.78 kB / 474.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1351, allocations: 77.64 kB / 474.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1352, allocations: 346.8 kB / 474.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.1356, allocations: 144.2 kB / 474.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.1361, allocations: 280.7 kB / 475.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/0.1369, allocations: 466.3 kB / 475.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.1369, allocations: 4 kB / 475.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001057/0.1379, allocations: 0.5178 MB / 476.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.138, allocations: 36.05 kB / 476.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.138, allocations: 4.562 kB / 476.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.138, allocations: 12 kB / 476.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.1384, allocations: 95.81 kB / 476.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1384, allocations: 4 kB / 476.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.1387, allocations: 55.59 kB / 476.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.1388, allocations: 16 kB / 476.4 MB, free: 3.754 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.0002207/0.139, allocations: 201.6 kB / 476.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.1391, allocations: 47.45 kB / 476.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.1392, allocations: 47.28 kB / 476.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1392, allocations: 4 kB / 476.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1392, allocations: 4 kB / 476.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1393, allocations: 3.984 kB / 476.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.1401, allocations: 0.8508 MB / 477.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1401, allocations: 4 kB / 477.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.1404, allocations: 63.89 kB / 477.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1404, allocations: 4 kB / 477.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.1404, allocations: 8 kB / 477.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1404, allocations: 4 kB / 477.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1404, allocations: 0 / 477.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.1413, allocations: 465.5 kB / 478.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.1414, allocations: 116.6 kB / 478.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.1415, allocations: 11.98 kB / 478.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1417, allocations: 27.97 kB / 478.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.1418, allocations: 35.91 kB / 478.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.1419, allocations: 19.92 kB / 478.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.1422, allocations: 255.1 kB / 478.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1422, allocations: 4 kB / 478.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.1426, allocations: 95.92 kB / 478.7 MB, free: 1.375 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.002196/0.1448, allocations: 1.353 MB / 480 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009948/0.1458, allocations: 455.6 kB / 480.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1458, allocations: 0 / 480.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.1463, allocations: 183.8 kB / 480.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.1468, allocations: 74.58 kB / 480.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005933/0.1527, allocations: 3.856 MB / 484.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.1532, allocations: 0.8073 MB / 485.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.1535, allocations: 87.2 kB / 485.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.1538, allocations: 127.4 kB / 485.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1538, allocations: 0 / 485.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.1986, allocations: 8.261 MB / 493.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.1988, allocations: 260.7 kB / 494.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.02, allocations: 0 / 494.1 MB, free: 1.934 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)