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.0007438/0.0007439, allocations: 93.39 kB / 16.65 MB, free: 6.59 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.0007981/0.0007982, allocations: 185.3 kB / 17.56 MB, free: 6.199 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.277/1.277, allocations: 223.2 MB / 241.6 MB, free: 268 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1691/0.1691, allocations: 38.1 MB / 330.8 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002965, allocations: 8 kB / 400.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09721, allocations: 59.18 MB / 460 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004831/0.1021, allocations: 4.496 MB / 464.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.1057, allocations: 2.661 MB / 467.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.1059, allocations: 23.81 kB / 467.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.1063, allocations: 71.59 kB / 467.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.1069, allocations: 306.9 kB / 467.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.1077, allocations: 351.1 kB / 467.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007212/0.1084, allocations: 0.7833 MB / 468.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.1089, allocations: 318.5 kB / 469 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.1093, allocations: 219 kB / 469.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.1096, allocations: 235.1 kB / 469.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.1097, allocations: 16 kB / 469.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008068/0.1105, allocations: 0.647 MB / 470.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1106, allocations: 115.6 kB / 470.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.1108, allocations: 188.8 kB / 470.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007143/0.1115, allocations: 0.7048 MB / 471.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1115, allocations: 0 / 471.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1115, allocations: 3.938 kB / 471.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1115, allocations: 0 / 471.1 MB, free: 11.82 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.001164/0.1127, allocations: 0.7124 MB / 471.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1128, allocations: 12.03 kB / 471.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.109e-05/0.1128, allocations: 58.73 kB / 471.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.1138, allocations: 120.3 kB / 472 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.1144, allocations: 411.7 kB / 472.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1144, allocations: 12.94 kB / 472.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.1145, allocations: 35.91 kB / 472.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.1153, allocations: 457.2 kB / 472.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1153, allocations: 0 / 472.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.1154, allocations: 12 kB / 472.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.1154, allocations: 24.42 kB / 472.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1164, allocations: 0.5012 MB / 473.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.1183, allocations: 1.783 MB / 475.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.1194, allocations: 410.7 kB / 475.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.1197, allocations: 153.6 kB / 475.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.1198, allocations: 11.98 kB / 475.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005564/0.1204, allocations: 301 kB / 476.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.1204, allocations: 4 kB / 476.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001289/0.1217, allocations: 0.5366 MB / 476.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1218, allocations: 251.3 kB / 476.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.1222, allocations: 353.6 kB / 477.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.1222, allocations: 33.7 kB / 477.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1223, allocations: 208.2 kB / 477.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.1224, allocations: 98.7 kB / 477.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.1225, allocations: 37.7 kB / 477.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1226, allocations: 346.8 kB / 477.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.123, allocations: 156.3 kB / 478.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.1235, allocations: 293.8 kB / 478.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/0.1243, allocations: 490.3 kB / 478.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1244, allocations: 4 kB / 478.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001032/0.1254, allocations: 0.5453 MB / 479.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.1254, allocations: 37.7 kB / 479.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1255, allocations: 4 kB / 479.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1255, allocations: 4 kB / 479.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.1258, allocations: 100.2 kB / 479.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.1258, allocations: 7.938 kB / 479.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.1261, allocations: 67.5 kB / 479.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.1262, allocations: 16 kB / 479.6 MB, free: 2.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.0001976/0.1264, allocations: 193.7 kB / 479.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.1264, allocations: 47.45 kB / 479.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1265, allocations: 51.22 kB / 479.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1266, allocations: 4 kB / 479.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1266, allocations: 4 kB / 479.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1266, allocations: 7.984 kB / 479.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007386/0.1273, allocations: 0.843 MB / 480.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1273, allocations: 0 / 480.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.1276, allocations: 71.89 kB / 480.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1276, allocations: 4 kB / 480.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.1277, allocations: 8 kB / 480.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1277, allocations: 8.125 kB / 480.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1277, allocations: 3.938 kB / 480.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.1286, allocations: 481.5 kB / 481.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.1287, allocations: 120.6 kB / 481.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.1288, allocations: 16 kB / 481.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.129, allocations: 31.97 kB / 481.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.1291, allocations: 43.77 kB / 481.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1291, allocations: 16 kB / 481.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002453/0.1294, allocations: 251.2 kB / 481.8 MB, free: 448 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1294, allocations: 0 / 481.8 MB, free: 448 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.1298, allocations: 91.84 kB / 481.9 MB, free: 356 kB / 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.002075/0.1318, allocations: 1.367 MB / 483.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009824/0.1328, allocations: 439.1 kB / 483.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1329, allocations: 0.9375 kB / 483.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.1333, allocations: 211.8 kB / 483.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.1338, allocations: 71.36 kB / 483.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/0.1394, allocations: 3.935 MB / 487.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1398, allocations: 0.8037 MB / 488.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.1401, allocations: 95.19 kB / 488.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.1403, allocations: 127.4 kB / 488.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1403, allocations: 0 / 488.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.161, allocations: 7.79 MB / 496.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.1613, allocations: 260.1 kB / 496.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.003, allocations: 0 / 496.9 MB, free: 1.316 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)