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.001249/0.001248, allocations: 111.1 kB / 17.06 MB, free: 5.992 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.00121/0.00121, allocations: 200 kB / 18.01 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.374/1.374, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1786/0.1786, allocations: 38.04 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 63.91 kB / 457.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3244, allocations: 58.06 MB / 0.5036 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005442/0.3298, allocations: 4.237 MB / 0.5078 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.3332, allocations: 2.509 MB / 0.5102 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.3335, allocations: 10.75 kB / 0.5102 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.3347, allocations: 347 kB / 0.5106 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009015/0.3356, allocations: 336.2 kB / 0.5109 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3367, allocations: 384.8 kB / 0.5112 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007801/0.3375, allocations: 0.6202 MB / 0.5118 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.3379, allocations: 239.3 kB / 0.5121 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005454/0.3385, allocations: 257.1 kB / 0.5123 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.3389, allocations: 252.5 kB / 0.5126 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.339, allocations: 38.12 kB / 0.5126 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.3401, allocations: 0.5428 MB / 0.5131 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.3402, allocations: 133.1 kB / 0.5133 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3404, allocations: 195.5 kB / 0.5134 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.3416, allocations: 0.6959 MB / 0.5141 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3416, allocations: 0 / 0.5141 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3417, allocations: 0.75 kB / 0.5141 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3417, allocations: 0.9688 kB / 0.5141 GB, free: 0.7578 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.001412/0.3431, allocations: 0.7919 MB / 0.5149 GB, free: 120 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3431, allocations: 13.02 kB / 0.5149 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/0.3432, allocations: 61.83 kB / 0.515 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.3443, allocations: 115 kB / 0.5151 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.3451, allocations: 427.7 kB / 0.5155 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.3451, allocations: 23.58 kB / 0.5155 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.3452, allocations: 23.44 kB / 0.5155 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.3462, allocations: 460 kB / 0.516 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3462, allocations: 0 / 0.516 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.3462, allocations: 12.61 kB / 0.516 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.3463, allocations: 23.22 kB / 0.516 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3474, allocations: 485 kB / 0.5165 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.3501, allocations: 1.782 MB / 0.5182 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.3513, allocations: 378.5 kB / 0.5186 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.3517, allocations: 147.4 kB / 0.5187 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.3517, allocations: 11.45 kB / 0.5187 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006278/0.3524, allocations: 288.7 kB / 0.519 GB, free: 13.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.3524, allocations: 0 / 0.519 GB, free: 13.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001546/0.3539, allocations: 0.52 MB / 0.5195 GB, free: 13.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.3541, allocations: 238.3 kB / 0.5197 GB, free: 13.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.3547, allocations: 354.5 kB / 0.5201 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.3547, allocations: 39.61 kB / 0.5201 GB, free: 12.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3549, allocations: 204.6 kB / 0.5203 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.355, allocations: 113.8 kB / 0.5204 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3552, allocations: 72.02 kB / 0.5205 GB, free: 12.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3554, allocations: 349.1 kB / 0.5208 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.3558, allocations: 137.6 kB / 0.5209 GB, free: 12.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.3563, allocations: 275.9 kB / 0.5212 GB, free: 11.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009575/0.3573, allocations: 460.5 kB / 0.5216 GB, free: 11.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3573, allocations: 1.438 kB / 0.5216 GB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001234/0.3585, allocations: 0.5266 MB / 0.5222 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.3586, allocations: 35.28 kB / 0.5222 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.3586, allocations: 12.39 kB / 0.5222 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.3587, allocations: 7.203 kB / 0.5222 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.359, allocations: 90.11 kB / 0.5223 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.359, allocations: 11.53 kB / 0.5223 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.3594, allocations: 55.45 kB / 0.5224 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.3594, allocations: 15.22 kB / 0.5224 GB, free: 11.35 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.0002655/0.3597, allocations: 201.3 kB / 0.5226 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.3598, allocations: 43.86 kB / 0.5226 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.3599, allocations: 52.75 kB / 0.5227 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3599, allocations: 4.25 kB / 0.5227 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.3599, allocations: 2.969 kB / 0.5227 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3599, allocations: 2.953 kB / 0.5227 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.361, allocations: 0.8522 MB / 0.5235 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.361, allocations: 1.375 kB / 0.5235 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.3613, allocations: 64.89 kB / 0.5236 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3613, allocations: 3.453 kB / 0.5236 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.3613, allocations: 11.28 kB / 0.5236 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.3613, allocations: 3.406 kB / 0.5236 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3614, allocations: 9.312 kB / 0.5236 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3624, allocations: 467.4 kB / 0.524 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3625, allocations: 117.5 kB / 0.5241 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.3626, allocations: 10.33 kB / 0.5242 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.3628, allocations: 24.95 kB / 0.5242 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3629, allocations: 40.31 kB / 0.5242 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.363, allocations: 12.72 kB / 0.5242 GB, free: 10.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.3633, allocations: 257.5 kB / 0.5245 GB, free: 9.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3633, allocations: 0 / 0.5245 GB, free: 9.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004668/0.3638, allocations: 96.77 kB / 0.5246 GB, free: 9.867 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.00289/0.3667, allocations: 1.338 MB / 0.5259 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.3678, allocations: 429.9 kB / 0.5263 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3678, allocations: 0 / 0.5263 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.3683, allocations: 194.3 kB / 0.5265 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.3688, allocations: 73.81 kB / 0.5265 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.3751, allocations: 3.735 MB / 0.5302 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.3757, allocations: 0.8071 MB / 0.531 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.376, allocations: 85.58 kB / 0.5311 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.3762, allocations: 121.3 kB / 0.5312 GB, free: 5.508 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3762, allocations: 1.375 kB / 0.5312 GB, free: 5.508 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.4117, allocations: 8.588 MB / 0.5396 GB, free: 1.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.172, allocations: 5.25 kB / 0.5396 GB, free: 1.648 MB / 398.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)