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.001176/0.001176, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001145/0.001145, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.227/1.227, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1605/0.1605, allocations: 38.04 MB / 329.3 MB, free: 9.066 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 60.69 kB / 398.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.08771, allocations: 58.07 MB / 456.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005511/0.09325, allocations: 4.875 MB / 461.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.09664, allocations: 2.711 MB / 463.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.09687, allocations: 23.88 kB / 463.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008819/0.09779, allocations: 326.8 kB / 464.2 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.09839, allocations: 310.9 kB / 464.5 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007345/0.09914, allocations: 354.1 kB / 464.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.09983, allocations: 0.7833 MB / 465.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.1002, allocations: 181.6 kB / 465.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.1006, allocations: 227 kB / 466 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1009, allocations: 247 kB / 466.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.101, allocations: 20 kB / 466.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009298/0.1019, allocations: 0.647 MB / 466.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.102, allocations: 115.6 kB / 467 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.1022, allocations: 175 kB / 467.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007235/0.1029, allocations: 0.7243 MB / 467.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1029, allocations: 0 / 467.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1029, allocations: 0 / 467.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.103, allocations: 0 / 467.9 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.001163/0.1041, allocations: 0.7668 MB / 468.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1042, allocations: 8.031 kB / 468.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.205e-05/0.1042, allocations: 58.72 kB / 468.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.1052, allocations: 116.4 kB / 468.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.1058, allocations: 411.7 kB / 469.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1058, allocations: 20.88 kB / 469.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.1059, allocations: 27.92 kB / 469.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.1067, allocations: 453.2 kB / 469.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1067, allocations: 0 / 469.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.1067, allocations: 8 kB / 469.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.1068, allocations: 20.42 kB / 469.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.1077, allocations: 489.2 kB / 470.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.1096, allocations: 1.787 MB / 472.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000944/0.1106, allocations: 386.7 kB / 472.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.1109, allocations: 137.6 kB / 472.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1109, allocations: 8 kB / 472.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/0.1115, allocations: 281.1 kB / 472.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.1115, allocations: 0 / 472.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001212/0.1127, allocations: 0.5156 MB / 473.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.1128, allocations: 251.2 kB / 473.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.1132, allocations: 357.6 kB / 474 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1132, allocations: 37.98 kB / 474 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1134, allocations: 208.2 kB / 474.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.1135, allocations: 90.8 kB / 474.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1136, allocations: 77.59 kB / 474.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1137, allocations: 346.8 kB / 474.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.1141, allocations: 140.2 kB / 474.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.1145, allocations: 281.8 kB / 475.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000766/0.1153, allocations: 466.3 kB / 475.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1153, allocations: 4 kB / 475.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001034/0.1164, allocations: 0.5221 MB / 476.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.1164, allocations: 37.69 kB / 476.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1164, allocations: 4 kB / 476.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1164, allocations: 8 kB / 476.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.1168, allocations: 91.88 kB / 476.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1168, allocations: 7.938 kB / 476.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.1171, allocations: 55.59 kB / 476.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.1171, allocations: 20.12 kB / 476.3 MB, free: 3.762 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.000218/0.1174, allocations: 189.7 kB / 476.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.1174, allocations: 43.47 kB / 476.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.1176, allocations: 47.27 kB / 476.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1176, allocations: 4 kB / 476.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.1176, allocations: 7.938 kB / 476.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.1176, allocations: 4 kB / 476.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008707/0.1185, allocations: 0.8469 MB / 477.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.1185, allocations: 4 kB / 477.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1188, allocations: 63.89 kB / 477.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.1188, allocations: 4 kB / 477.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.1188, allocations: 11.94 kB / 477.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1188, allocations: 4 kB / 477.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.1188, allocations: 12.05 kB / 477.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009397/0.1198, allocations: 457.5 kB / 478 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.1199, allocations: 112.6 kB / 478.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.12, allocations: 15.98 kB / 478.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1202, allocations: 23.97 kB / 478.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.1203, allocations: 39.84 kB / 478.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.1203, allocations: 19.98 kB / 478.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002609/0.1206, allocations: 251.2 kB / 478.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1206, allocations: 0 / 478.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.121, allocations: 87.92 kB / 478.5 MB, free: 1.402 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.00217/0.1232, allocations: 1.343 MB / 479.9 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008619/0.1241, allocations: 422.8 kB / 480.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1241, allocations: 0 / 480.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.1245, allocations: 189.2 kB / 480.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.125, allocations: 79.81 kB / 480.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.1301, allocations: 3.85 MB / 484.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1305, allocations: 0.8076 MB / 485.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.1307, allocations: 91.19 kB / 485.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.1309, allocations: 123.4 kB / 485.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1309, allocations: 0 / 485.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.1606, allocations: 8.059 MB / 493.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/0.161, allocations: 266.8 kB / 493.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/1.973, allocations: 0 / 493.7 MB, free: 2.199 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)