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.001396/0.001396, allocations: 106.2 kB / 16.92 MB, free: 6.145 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.001256/0.001256, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.3/1.3, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1789/0.1789, allocations: 38.05 MB / 329.7 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.81 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1109, allocations: 58.07 MB / 457 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005951/0.1169, allocations: 4.223 MB / 461.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.1204, allocations: 2.516 MB / 463.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.1206, allocations: 11.94 kB / 463.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1217, allocations: 342.6 kB / 464.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.1225, allocations: 338.5 kB / 464.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000878/0.1234, allocations: 388.7 kB / 464.8 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000631/0.124, allocations: 0.6196 MB / 465.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.1244, allocations: 234.1 kB / 465.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.1249, allocations: 266.9 kB / 465.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.1252, allocations: 251.1 kB / 466.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.1253, allocations: 40 kB / 466.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008949/0.1262, allocations: 0.5339 MB / 466.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.1264, allocations: 139.6 kB / 466.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1266, allocations: 199 kB / 467 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.1274, allocations: 0.6856 MB / 467.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1274, allocations: 3.938 kB / 467.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1274, allocations: 0 / 467.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1274, allocations: 0 / 467.7 MB, free: 13.16 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.001343/0.1288, allocations: 0.7668 MB / 468.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1288, allocations: 8.031 kB / 468.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.693e-05/0.1289, allocations: 62.72 kB / 468.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.13, allocations: 112.3 kB / 468.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.1305, allocations: 415.7 kB / 469.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.1306, allocations: 20.88 kB / 469.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.1306, allocations: 27.94 kB / 469.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007816/0.1314, allocations: 453.2 kB / 469.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1314, allocations: 0 / 469.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.1315, allocations: 7.984 kB / 469.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.1315, allocations: 24.42 kB / 469.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.1325, allocations: 485.2 kB / 470.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.1345, allocations: 1.787 MB / 471.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000976/0.1355, allocations: 381.1 kB / 472.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.1359, allocations: 145.6 kB / 472.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.1359, allocations: 11.94 kB / 472.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005621/0.1365, allocations: 281.6 kB / 472.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.1365, allocations: 0 / 472.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001334/0.1378, allocations: 0.5158 MB / 473.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.138, allocations: 247.2 kB / 473.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.1384, allocations: 353.6 kB / 473.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.1384, allocations: 37.7 kB / 473.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.1386, allocations: 200.3 kB / 474 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/0.1386, allocations: 98.69 kB / 474.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1388, allocations: 73.61 kB / 474.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1389, allocations: 350.8 kB / 474.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.1393, allocations: 144.2 kB / 474.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.1397, allocations: 273.8 kB / 474.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.1405, allocations: 470.3 kB / 475.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1406, allocations: 0 / 475.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001039/0.1416, allocations: 0.5217 MB / 475.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.1417, allocations: 33.7 kB / 475.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1417, allocations: 8.547 kB / 475.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1417, allocations: 4 kB / 475.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.142, allocations: 95.88 kB / 476 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.1421, allocations: 11.94 kB / 476 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.1423, allocations: 55.5 kB / 476.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.1424, allocations: 20 kB / 476.1 MB, free: 4.219 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.0001854/0.1426, allocations: 185.7 kB / 476.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.1426, allocations: 47.45 kB / 476.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.1428, allocations: 51.28 kB / 476.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.1428, allocations: 4 kB / 476.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1428, allocations: 7.938 kB / 476.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1428, allocations: 3.984 kB / 476.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.1436, allocations: 0.847 MB / 477.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1436, allocations: 8.031 kB / 477.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1439, allocations: 59.89 kB / 477.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1439, allocations: 4 kB / 477.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1439, allocations: 8 kB / 477.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1439, allocations: 4 kB / 477.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1439, allocations: 7.875 kB / 477.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008754/0.1448, allocations: 469.5 kB / 477.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.1449, allocations: 112.7 kB / 477.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.145, allocations: 15.98 kB / 477.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1452, allocations: 23.97 kB / 478 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.1453, allocations: 35.84 kB / 478 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1453, allocations: 15.98 kB / 478 MB, free: 2.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.1455, allocations: 255.2 kB / 478.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1456, allocations: 4 kB / 478.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.1459, allocations: 95.83 kB / 478.4 MB, free: 1.844 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.002084/0.148, allocations: 1.334 MB / 479.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.149, allocations: 456.1 kB / 480.1 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.149, allocations: 0 / 480.1 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.1494, allocations: 187.8 kB / 480.3 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1499, allocations: 76.62 kB / 480.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.1551, allocations: 3.759 MB / 484.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1555, allocations: 0.8112 MB / 485 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.1558, allocations: 99.12 kB / 485.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.156, allocations: 123.4 kB / 485.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.156, allocations: 0 / 485.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.1846, allocations: 8.443 MB / 493.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.386, allocations: 384 / 493.6 MB, free: 2.578 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)