Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_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.001534/0.001534, allocations: 114.1 kB / 17.07 MB, free: 5.984 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.001529/0.00153, allocations: 193.4 kB / 18 MB, free: 5.066 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1763/0.1763, allocations: 38.03 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 457.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 58.06 MB / 0.5036 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004873/0.3469, allocations: 4.25 MB / 0.5078 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.3499, allocations: 2.506 MB / 0.5102 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.3502, allocations: 11.34 kB / 0.5102 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.3512, allocations: 342.3 kB / 0.5105 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007201/0.3519, allocations: 336.7 kB / 0.5109 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/0.3528, allocations: 388.3 kB / 0.5112 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000615/0.3534, allocations: 0.6125 MB / 0.5118 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.3538, allocations: 236.3 kB / 0.5121 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.3542, allocations: 264 kB / 0.5123 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.3545, allocations: 249.8 kB / 0.5126 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.3546, allocations: 39.06 kB / 0.5126 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000865/0.3555, allocations: 0.5433 MB / 0.5131 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.3556, allocations: 131 kB / 0.5132 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3558, allocations: 191.2 kB / 0.5134 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3568, allocations: 0.7052 MB / 0.5141 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3568, allocations: 0 / 0.5141 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3568, allocations: 0 / 0.5141 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.3569, allocations: 5.125 kB / 0.5141 GB, free: 0.8516 MB / 382.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.001259/0.3581, allocations: 0.7812 MB / 0.5149 GB, free: 224 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3582, allocations: 14.06 kB / 0.5149 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/0.3582, allocations: 66.14 kB / 0.515 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.3593, allocations: 119 kB / 0.5151 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.36, allocations: 427.9 kB / 0.5155 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.36, allocations: 21.89 kB / 0.5155 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.3601, allocations: 28.34 kB / 0.5155 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009418/0.361, allocations: 448.8 kB / 0.516 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.361, allocations: 0 / 0.516 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.3611, allocations: 12.3 kB / 0.516 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.3611, allocations: 22.3 kB / 0.516 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.3622, allocations: 485.2 kB / 0.5165 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.3649, allocations: 1.782 MB / 0.5182 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.3661, allocations: 378.3 kB / 0.5186 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.3665, allocations: 146 kB / 0.5187 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.3666, allocations: 16.27 kB / 0.5187 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/0.3672, allocations: 283.9 kB / 0.519 GB, free: 13.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.3672, allocations: 4.906 kB / 0.519 GB, free: 13.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001354/0.3685, allocations: 0.5187 MB / 0.5195 GB, free: 13.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.3687, allocations: 242.2 kB / 0.5197 GB, free: 13.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.3692, allocations: 360.6 kB / 0.5201 GB, free: 13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.3692, allocations: 33.66 kB / 0.5201 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3694, allocations: 206.3 kB / 0.5203 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3695, allocations: 104.8 kB / 0.5204 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3696, allocations: 69.84 kB / 0.5205 GB, free: 12.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3698, allocations: 347.2 kB / 0.5208 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.3702, allocations: 142 kB / 0.5209 GB, free: 12.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.3707, allocations: 281.1 kB / 0.5212 GB, free: 12.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000867/0.3716, allocations: 456 kB / 0.5216 GB, free: 11.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3716, allocations: 5.188 kB / 0.5216 GB, free: 11.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001119/0.3728, allocations: 0.5225 MB / 0.5221 GB, free: 11.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.3728, allocations: 39.08 kB / 0.5222 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3728, allocations: 4.688 kB / 0.5222 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3729, allocations: 5.625 kB / 0.5222 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.3732, allocations: 95.2 kB / 0.5223 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.3732, allocations: 8.344 kB / 0.5223 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3735, allocations: 59.83 kB / 0.5223 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.3736, allocations: 19.33 kB / 0.5224 GB, free: 11.45 MB / 398.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.0002572/0.3739, allocations: 196.9 kB / 0.5226 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.3739, allocations: 42.2 kB / 0.5226 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.3741, allocations: 49.69 kB / 0.5226 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3741, allocations: 4.344 kB / 0.5226 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.3741, allocations: 6.125 kB / 0.5227 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.3741, allocations: 4.359 kB / 0.5227 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009313/0.375, allocations: 0.8546 MB / 0.5235 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.375, allocations: 1.438 kB / 0.5235 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.3753, allocations: 61.81 kB / 0.5236 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3753, allocations: 3.266 kB / 0.5236 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.3753, allocations: 15.59 kB / 0.5236 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3754, allocations: 3.312 kB / 0.5236 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3754, allocations: 5.312 kB / 0.5236 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009309/0.3763, allocations: 463.7 kB / 0.524 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.3764, allocations: 117.5 kB / 0.5241 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.3765, allocations: 10.62 kB / 0.5241 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3767, allocations: 24.16 kB / 0.5242 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3768, allocations: 41.33 kB / 0.5242 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.3768, allocations: 15.41 kB / 0.5242 GB, free: 10.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.3771, allocations: 250.2 kB / 0.5245 GB, free: 10 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3771, allocations: 0 / 0.5245 GB, free: 10 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.3776, allocations: 97.95 kB / 0.5246 GB, free: 9.977 MB / 398.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.00274/0.3803, allocations: 1.33 MB / 0.5259 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009661/0.3813, allocations: 429.2 kB / 0.5263 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3813, allocations: 0 / 0.5263 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.3818, allocations: 195.5 kB / 0.5264 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.3823, allocations: 85.53 kB / 0.5265 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.3882, allocations: 3.731 MB / 0.5302 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.3888, allocations: 0.8094 MB / 0.531 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.3891, allocations: 90.92 kB / 0.531 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.3893, allocations: 131.8 kB / 0.5312 GB, free: 5.602 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3893, allocations: 4 kB / 0.5312 GB, free: 5.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.4223, allocations: 8.563 MB / 0.5395 GB, free: 1.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.765, allocations: 1.641 kB / 0.5395 GB, free: 1.723 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)