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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1841/0.1841, allocations: 38.51 MB / 342.5 MB, free: 8.078 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 66.48 kB / 478.6 MB, free: 33.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 61.24 MB / 0.5272 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.007112/0.1166, allocations: 4.288 MB / 0.5314 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.1207, allocations: 2.532 MB / 0.5339 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.121, allocations: 15.94 kB / 0.5339 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1223, allocations: 338.5 kB / 0.5342 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.1231, allocations: 338.5 kB / 0.5345 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1243, allocations: 386.4 kB / 0.5349 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.1251, allocations: 0.6196 MB / 0.5355 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.1254, allocations: 182.2 kB / 0.5357 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.126, allocations: 278.9 kB / 0.5359 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.1263, allocations: 267 kB / 0.5362 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.1264, allocations: 40 kB / 0.5362 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009317/0.1273, allocations: 0.5534 MB / 0.5368 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1275, allocations: 135.6 kB / 0.5369 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.1277, allocations: 191 kB / 0.5371 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009616/0.1287, allocations: 0.7006 MB / 0.5378 GB, free: 6.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1287, allocations: 0 / 0.5378 GB, free: 6.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1287, allocations: 8 kB / 0.5378 GB, free: 6.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.1287, allocations: 0 / 0.5378 GB, free: 6.547 MB / 398.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.001595/0.1303, allocations: 0.7776 MB / 0.5385 GB, free: 5.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1303, allocations: 15.89 kB / 0.5386 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.262e-05/0.1304, allocations: 66.64 kB / 0.5386 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.1315, allocations: 116.6 kB / 0.5387 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.1323, allocations: 420 kB / 0.5391 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1323, allocations: 24.92 kB / 0.5392 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.1323, allocations: 19.94 kB / 0.5392 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/0.1332, allocations: 457.2 kB / 0.5396 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1332, allocations: 7.922 kB / 0.5396 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.1332, allocations: 16 kB / 0.5396 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/0.1333, allocations: 20.42 kB / 0.5396 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1343, allocations: 489.2 kB / 0.5401 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.1365, allocations: 1.783 MB / 0.5419 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1375, allocations: 366.5 kB / 0.5422 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.1378, allocations: 133.6 kB / 0.5423 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.1379, allocations: 11.97 kB / 0.5423 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005698/0.1384, allocations: 285.6 kB / 0.5426 GB, free: 1.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.1384, allocations: 0 / 0.5426 GB, free: 1.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001337/0.1398, allocations: 0.5198 MB / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/0.14, allocations: 239.3 kB / 0.5434 GB, free: 484 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.1404, allocations: 357.6 kB / 0.5437 GB, free: 116 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.1405, allocations: 37.7 kB / 0.5437 GB, free: 72 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.1406, allocations: 204.9 kB / 0.5439 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.1407, allocations: 107.1 kB / 0.544 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.1409, allocations: 69.7 kB / 0.5441 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.141, allocations: 350.7 kB / 0.5444 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.1414, allocations: 148.2 kB / 0.5446 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.1419, allocations: 269.8 kB / 0.5448 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.1427, allocations: 465.6 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1427, allocations: 0 / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001068/0.1438, allocations: 0.5379 MB / 0.5458 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.1438, allocations: 29.7 kB / 0.5458 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1438, allocations: 8 kB / 0.5458 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1439, allocations: 8 kB / 0.5458 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.1442, allocations: 91.88 kB / 0.5459 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.1442, allocations: 11.94 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.1445, allocations: 47.75 kB / 0.546 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.1445, allocations: 20 kB / 0.546 GB, free: 13.57 MB / 414.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.000227/0.1448, allocations: 201.4 kB / 0.5462 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.1448, allocations: 47.7 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.145, allocations: 47.27 kB / 0.5463 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.145, allocations: 4 kB / 0.5463 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.145, allocations: 0 / 0.5463 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.145, allocations: 7.984 kB / 0.5463 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.1459, allocations: 0.8547 MB / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1459, allocations: 0 / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.1462, allocations: 67.89 kB / 0.5472 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1462, allocations: 0 / 0.5472 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1462, allocations: 12 kB / 0.5472 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1462, allocations: 0 / 0.5472 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.1462, allocations: 11.92 kB / 0.5472 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/0.1471, allocations: 461.9 kB / 0.5477 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/0.1472, allocations: 112.8 kB / 0.5478 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.1473, allocations: 16 kB / 0.5478 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1475, allocations: 23.97 kB / 0.5478 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.1476, allocations: 39.84 kB / 0.5478 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.1476, allocations: 15.98 kB / 0.5479 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.1479, allocations: 255.2 kB / 0.5481 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1479, allocations: 0 / 0.5481 GB, free: 11.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.1483, allocations: 87.88 kB / 0.5482 GB, free: 11.2 MB / 414.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.002785/0.1511, allocations: 1.342 MB / 0.5495 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009575/0.1521, allocations: 403.7 kB / 0.5499 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1521, allocations: 4 kB / 0.5499 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.1525, allocations: 176.8 kB / 0.5501 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.153, allocations: 90.77 kB / 0.5501 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.1592, allocations: 3.745 MB / 0.5538 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.1597, allocations: 0.8151 MB / 0.5546 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.16, allocations: 91.19 kB / 0.5547 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.1602, allocations: 123.4 kB / 0.5548 GB, free: 4.309 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1602, allocations: 0 / 0.5548 GB, free: 4.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.1926, allocations: 8.643 MB / 0.5632 GB, free: 11.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/8.648, allocations: 10.98 kB / 0.5632 GB, free: 11.66 MB / 430.1 MB " [Timeout remaining time 651] (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 --stepSize=34.56 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.678907682187855]