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.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.001391/0.001391, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001449/0.001449, allocations: 220.3 kB / 24.52 MB, free: 3.906 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1929/0.1929, allocations: 38.56 MB / 353.2 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_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.002204/0.002204, allocations: 66.39 kB / 493.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2989, allocations: 62.46 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006104/0.305, allocations: 4.183 MB / 0.5468 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.309, allocations: 2.463 MB / 0.5492 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.3092, allocations: 15.84 kB / 0.5492 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.3103, allocations: 339.5 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009907/0.3113, allocations: 374.4 kB / 0.5499 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3123, allocations: 363.9 kB / 0.5502 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008705/0.3131, allocations: 0.626 MB / 0.5508 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.3136, allocations: 218.5 kB / 0.551 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.3142, allocations: 286.2 kB / 0.5513 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.3146, allocations: 263.3 kB / 0.5516 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/0.3147, allocations: 41.66 kB / 0.5516 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.3158, allocations: 0.5093 MB / 0.5521 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.3159, allocations: 144.4 kB / 0.5522 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3161, allocations: 161.9 kB / 0.5524 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00097/0.3171, allocations: 0.7576 MB / 0.5531 GB, free: 8.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3171, allocations: 3.938 kB / 0.5531 GB, free: 8.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3171, allocations: 0 / 0.5531 GB, free: 8.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3171, allocations: 5.094 kB / 0.5532 GB, free: 8.477 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.3185, allocations: 0.7307 MB / 0.5539 GB, free: 7.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3186, allocations: 13.73 kB / 0.5539 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.082e-05/0.3186, allocations: 6.094 kB / 0.5539 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.343e-05/0.3187, allocations: 67.67 kB / 0.5539 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.3198, allocations: 118.5 kB / 0.5541 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.3204, allocations: 337.2 kB / 0.5544 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.3205, allocations: 22.67 kB / 0.5544 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.3205, allocations: 24.38 kB / 0.5544 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.3214, allocations: 0.4883 MB / 0.5549 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3215, allocations: 1.25 kB / 0.5549 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.3215, allocations: 6.25 kB / 0.5549 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.3215, allocations: 24.23 kB / 0.5549 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3226, allocations: 0.5285 MB / 0.5555 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.3249, allocations: 1.718 MB / 0.5571 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.3262, allocations: 406 kB / 0.5575 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.3266, allocations: 157.6 kB / 0.5577 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3266, allocations: 7.938 kB / 0.5577 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006192/0.3272, allocations: 297.5 kB / 0.558 GB, free: 4.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/0.3272, allocations: 0 / 0.558 GB, free: 4.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001442/0.3287, allocations: 0.552 MB / 0.5585 GB, free: 3.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.3288, allocations: 243.3 kB / 0.5587 GB, free: 3.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.3294, allocations: 409.6 kB / 0.5591 GB, free: 3.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.3294, allocations: 37.97 kB / 0.5592 GB, free: 3.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.3296, allocations: 212.6 kB / 0.5594 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/0.3297, allocations: 103.2 kB / 0.5595 GB, free: 2.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3298, allocations: 73.59 kB / 0.5595 GB, free: 2.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.33, allocations: 350.8 kB / 0.5599 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.3304, allocations: 186 kB / 0.56 GB, free: 2.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.331, allocations: 339.3 kB / 0.5604 GB, free: 1.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.3319, allocations: 489.6 kB / 0.5608 GB, free: 1.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3319, allocations: 0 / 0.5608 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001235/0.3331, allocations: 0.5942 MB / 0.5614 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.3332, allocations: 40.52 kB / 0.5614 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3332, allocations: 4 kB / 0.5615 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3332, allocations: 7.938 kB / 0.5615 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.3336, allocations: 95.86 kB / 0.5616 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.3336, allocations: 15.92 kB / 0.5616 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.3339, allocations: 51.7 kB / 0.5616 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.3339, allocations: 20 kB / 0.5616 GB, free: 340 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.0002268/0.3342, allocations: 193.7 kB / 0.5618 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.3343, allocations: 47.69 kB / 0.5619 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3355, allocations: 476.6 kB / 0.5623 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.3355, allocations: 8 kB / 0.5623 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3355, allocations: 3.984 kB / 0.5623 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3355, allocations: 8 kB / 0.5623 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.3365, allocations: 0.8264 MB / 0.5631 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3365, allocations: 0 / 0.5631 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.3368, allocations: 75.88 kB / 0.5632 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.3368, allocations: 8 kB / 0.5632 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.3369, allocations: 16 kB / 0.5632 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3369, allocations: 0 / 0.5632 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3369, allocations: 4 kB / 0.5632 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3379, allocations: 0.524 MB / 0.5638 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.338, allocations: 47.69 kB / 0.5638 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.3381, allocations: 12 kB / 0.5638 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3383, allocations: 31.97 kB / 0.5638 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3384, allocations: 43.88 kB / 0.5639 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.3385, allocations: 15.98 kB / 0.5639 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.3388, allocations: 295.2 kB / 0.5642 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3388, allocations: 0 / 0.5642 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004822/0.3393, allocations: 123.7 kB / 0.5643 GB, free: 13.49 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.003284/0.3426, allocations: 1.503 MB / 0.5658 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.3437, allocations: 477.6 kB / 0.5662 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3437, allocations: 320 / 0.5662 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.3442, allocations: 215.6 kB / 0.5664 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.3447, allocations: 78.98 kB / 0.5665 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.3513, allocations: 4.047 MB / 0.5705 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3515, allocations: 218 kB / 0.5707 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002927/0.3518, allocations: 99.17 kB / 0.5708 GB, free: 6.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.352, allocations: 131.4 kB / 0.5709 GB, free: 6.625 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.352, allocations: 0 / 0.5709 GB, free: 6.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.3851, allocations: 10.2 MB / 0.5808 GB, free: 12.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.4, allocations: 10.84 kB / 0.5809 GB, free: 12.5 MB / 430.1 MB " [Timeout remaining time 647] (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 --stepSize=34.56 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.30624618101865] Failed to read output from testmodel.py, exit status != 0: 12.620627483935095 12.637008682 12.316416088 Calling exit ...