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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1852/0.1852, allocations: 38.56 MB / 353.3 MB, free: 12.29 MB / 286.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 70.25 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 62.46 MB / 0.5427 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006243/0.3319, allocations: 4.187 MB / 0.5468 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.3359, allocations: 2.467 MB / 0.5492 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.3361, allocations: 15.69 kB / 0.5492 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3372, allocations: 332.1 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008882/0.3381, allocations: 382 kB / 0.5499 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.3389, allocations: 363.8 kB / 0.5502 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007358/0.3396, allocations: 0.6263 MB / 0.5508 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.34, allocations: 218.4 kB / 0.5511 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.3406, allocations: 285.5 kB / 0.5513 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.3409, allocations: 263.3 kB / 0.5516 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.547e-05/0.341, allocations: 42.12 kB / 0.5516 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009901/0.342, allocations: 0.5096 MB / 0.5521 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.3422, allocations: 143.7 kB / 0.5523 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.3424, allocations: 162.4 kB / 0.5524 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.3435, allocations: 0.7538 MB / 0.5531 GB, free: 8.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3435, allocations: 7.938 kB / 0.5532 GB, free: 8.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3435, allocations: 0 / 0.5532 GB, free: 8.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.3435, allocations: 3.984 kB / 0.5532 GB, free: 8.461 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.00141/0.3449, allocations: 0.7307 MB / 0.5539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.345, allocations: 14.36 kB / 0.5539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.166e-05/0.345, allocations: 6.344 kB / 0.5539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.345, allocations: 64.22 kB / 0.554 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.3461, allocations: 121.5 kB / 0.5541 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.3467, allocations: 338.5 kB / 0.5544 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.3467, allocations: 21.95 kB / 0.5544 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.3468, allocations: 20.03 kB / 0.5544 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009721/0.3478, allocations: 0.4887 MB / 0.5549 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3478, allocations: 0 / 0.5549 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.3478, allocations: 7.406 kB / 0.5549 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.3479, allocations: 23.3 kB / 0.5549 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.349, allocations: 0.5332 MB / 0.5555 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.3512, allocations: 1.715 MB / 0.5571 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.3524, allocations: 405.1 kB / 0.5575 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.3528, allocations: 149.6 kB / 0.5577 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.3528, allocations: 11.94 kB / 0.5577 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006474/0.3535, allocations: 293.5 kB / 0.558 GB, free: 4.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/0.3535, allocations: 0 / 0.558 GB, free: 4.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.00148/0.355, allocations: 0.5562 MB / 0.5585 GB, free: 3.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.3551, allocations: 239.3 kB / 0.5587 GB, free: 3.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.3557, allocations: 417.7 kB / 0.5591 GB, free: 3.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.3557, allocations: 37.69 kB / 0.5592 GB, free: 3.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.3559, allocations: 208.6 kB / 0.5594 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.356, allocations: 107.2 kB / 0.5595 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3562, allocations: 73.66 kB / 0.5595 GB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3563, allocations: 346.8 kB / 0.5599 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.3568, allocations: 182 kB / 0.56 GB, free: 2.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.3573, allocations: 349.2 kB / 0.5604 GB, free: 1.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.3583, allocations: 485.5 kB / 0.5608 GB, free: 1.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.3583, allocations: 11.94 kB / 0.5608 GB, free: 1.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00119/0.3595, allocations: 0.5746 MB / 0.5614 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.3596, allocations: 41.64 kB / 0.5614 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3596, allocations: 4 kB / 0.5614 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3596, allocations: 15.92 kB / 0.5615 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.36, allocations: 87.88 kB / 0.5615 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.36, allocations: 11.92 kB / 0.5616 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.3603, allocations: 64.02 kB / 0.5616 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3604, allocations: 16 kB / 0.5616 GB, free: 308 kB / 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.0002239/0.3606, allocations: 193.7 kB / 0.5618 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.3607, allocations: 47.64 kB / 0.5619 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.3618, allocations: 480.7 kB / 0.5623 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.3618, allocations: 8 kB / 0.5623 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3618, allocations: 4 kB / 0.5623 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3618, allocations: 3.984 kB / 0.5623 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.3628, allocations: 0.8303 MB / 0.5631 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3628, allocations: 0 / 0.5631 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.3631, allocations: 75.88 kB / 0.5632 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/0.3631, allocations: 4 kB / 0.5632 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.3631, allocations: 8.125 kB / 0.5632 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3631, allocations: 8 kB / 0.5632 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3632, allocations: 4 kB / 0.5632 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3643, allocations: 0.52 MB / 0.5638 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.3643, allocations: 47.69 kB / 0.5638 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.3644, allocations: 12 kB / 0.5638 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3646, allocations: 31.97 kB / 0.5638 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3647, allocations: 39.88 kB / 0.5639 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3648, allocations: 16 kB / 0.5639 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003614/0.3651, allocations: 303.1 kB / 0.5642 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3651, allocations: 0 / 0.5642 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004935/0.3656, allocations: 115.8 kB / 0.5643 GB, free: 13.46 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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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.00326/0.3689, allocations: 1.512 MB / 0.5658 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.37, allocations: 485.6 kB / 0.5662 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.37, allocations: 0 / 0.5662 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.3705, allocations: 203.7 kB / 0.5664 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.371, allocations: 79.38 kB / 0.5665 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.3773, allocations: 4.047 MB / 0.5705 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.3776, allocations: 222 kB / 0.5707 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.3778, allocations: 83.22 kB / 0.5707 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.3781, allocations: 131.4 kB / 0.5709 GB, free: 6.605 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3781, allocations: 4 kB / 0.5709 GB, free: 6.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.4131, allocations: 10.2 MB / 0.5808 GB, free: 12.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.53, allocations: 10.72 kB / 0.5808 GB, free: 12.48 MB / 430.1 MB " [Timeout remaining time 647] (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 --stepSize=34.56 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.384783559013158] Failed to read output from testmodel.py, exit status != 0: 12.763273051939905 12.787325691 12.439232223 Calling exit ...