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.001864/0.001864, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002288/0.002288, allocations: 207 kB / 23.73 MB, free: 4.387 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1859/0.1859, allocations: 38.55 MB / 352.5 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="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"}) [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.002179/0.002179, allocations: 72.08 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.292, allocations: 62.47 MB / 0.5419 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006032/0.298, allocations: 4.188 MB / 0.546 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.3021, allocations: 2.47 MB / 0.5484 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.3023, allocations: 15.25 kB / 0.5485 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3034, allocations: 325.5 kB / 0.5488 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.3044, allocations: 385.4 kB / 0.5491 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009679/0.3054, allocations: 359.8 kB / 0.5495 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.3062, allocations: 0.6299 MB / 0.5501 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000497/0.3067, allocations: 219 kB / 0.5503 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006725/0.3074, allocations: 281.2 kB / 0.5506 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.3079, allocations: 247.8 kB / 0.5508 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.308, allocations: 46.34 kB / 0.5508 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.309, allocations: 0.4968 MB / 0.5513 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.3093, allocations: 145.3 kB / 0.5515 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.3095, allocations: 161.3 kB / 0.5516 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.3108, allocations: 0.7576 MB / 0.5524 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3109, allocations: 3.938 kB / 0.5524 GB, free: 8.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3109, allocations: 0 / 0.5524 GB, free: 8.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.3109, allocations: 1.062 kB / 0.5524 GB, free: 8.668 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.0018/0.3127, allocations: 0.7346 MB / 0.5531 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3127, allocations: 13.23 kB / 0.5531 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.243e-05/0.3128, allocations: 59.69 kB / 0.5532 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.3139, allocations: 119.1 kB / 0.5533 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.3146, allocations: 341 kB / 0.5536 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.3147, allocations: 18.59 kB / 0.5536 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.3147, allocations: 27.83 kB / 0.5536 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3157, allocations: 491.7 kB / 0.5541 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3158, allocations: 5 kB / 0.5541 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.3158, allocations: 11.34 kB / 0.5541 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.3158, allocations: 19.98 kB / 0.5541 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.317, allocations: 0.5256 MB / 0.5547 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.3195, allocations: 1.716 MB / 0.5563 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.3208, allocations: 419.9 kB / 0.5567 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.3212, allocations: 145.6 kB / 0.5569 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3212, allocations: 4 kB / 0.5569 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006462/0.3218, allocations: 301.5 kB / 0.5572 GB, free: 4.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.344e-06/0.3218, allocations: 0 / 0.5572 GB, free: 4.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001551/0.3234, allocations: 0.5627 MB / 0.5577 GB, free: 3.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.3235, allocations: 235.3 kB / 0.5579 GB, free: 3.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/0.3241, allocations: 417.6 kB / 0.5583 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.3242, allocations: 37.7 kB / 0.5584 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3243, allocations: 208.6 kB / 0.5586 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.3245, allocations: 107.2 kB / 0.5587 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3246, allocations: 73.69 kB / 0.5587 GB, free: 2.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3248, allocations: 346.8 kB / 0.5591 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.3252, allocations: 186.1 kB / 0.5593 GB, free: 2.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.3258, allocations: 347.2 kB / 0.5596 GB, free: 1.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009935/0.3268, allocations: 494.2 kB / 0.5601 GB, free: 1.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3268, allocations: 4 kB / 0.5601 GB, free: 1.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001284/0.3281, allocations: 0.5782 MB / 0.5606 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.3281, allocations: 37.69 kB / 0.5607 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3281, allocations: 4 kB / 0.5607 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3282, allocations: 12.5 kB / 0.5607 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.3286, allocations: 99.81 kB / 0.5608 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3286, allocations: 8 kB / 0.5608 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3289, allocations: 59.64 kB / 0.5608 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.3289, allocations: 12 kB / 0.5608 GB, free: 472 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.0002311/0.3292, allocations: 189.8 kB / 0.561 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.3293, allocations: 47.69 kB / 0.5611 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.3304, allocations: 484.6 kB / 0.5615 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3304, allocations: 4 kB / 0.5615 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3304, allocations: 8 kB / 0.5615 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3304, allocations: 4 kB / 0.5615 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3315, allocations: 0.8265 MB / 0.5624 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3315, allocations: 4.125 kB / 0.5624 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.3318, allocations: 75.89 kB / 0.5624 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.3318, allocations: 4 kB / 0.5624 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3318, allocations: 11.94 kB / 0.5624 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3318, allocations: 7.984 kB / 0.5625 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.3319, allocations: 4 kB / 0.5625 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.333, allocations: 0.52 MB / 0.563 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.3331, allocations: 51.64 kB / 0.563 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.3332, allocations: 12 kB / 0.563 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.3334, allocations: 27.97 kB / 0.5631 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3335, allocations: 39.88 kB / 0.5631 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.3335, allocations: 15.98 kB / 0.5631 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003665/0.3339, allocations: 295.2 kB / 0.5634 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3339, allocations: 0 / 0.5634 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004894/0.3344, allocations: 119.7 kB / 0.5635 GB, free: 13.63 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.003303/0.3377, allocations: 1.508 MB / 0.565 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.3388, allocations: 480.8 kB / 0.5654 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3388, allocations: 0 / 0.5654 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.3394, allocations: 209.1 kB / 0.5656 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.3399, allocations: 92.22 kB / 0.5657 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/0.3466, allocations: 4.03 MB / 0.5697 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3469, allocations: 218 kB / 0.5699 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002888/0.3472, allocations: 87.2 kB / 0.5699 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.3475, allocations: 139.4 kB / 0.5701 GB, free: 6.766 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3475, allocations: 0 / 0.5701 GB, free: 6.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03929/0.3868, allocations: 10.48 MB / 0.5803 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.87, allocations: 3.859 kB / 0.5803 GB, free: 12.34 MB / 430.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.76292955596] Failed to read output from testmodel.py, exit status != 0: 12.044323074165732 12.063781385 11.749448275 Calling exit ...