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.0008078/0.0008078, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008618/0.0008618, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.868/0.868, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2102/0.2102, allocations: 29.4 MB / 290.1 MB, free: 2.438 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.352e-05, allocations: 4.109 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005717/0.00574, allocations: 4.164 MB / 434.4 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.008214, allocations: 2.472 MB / 436.8 MB, free: 6.926 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.008435, allocations: 15.88 kB / 436.9 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007294/0.009164, allocations: 338.4 kB / 437.2 MB, free: 6.578 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007285/0.009892, allocations: 382 kB / 437.6 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.01065, allocations: 366.5 kB / 437.9 MB, free: 5.844 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.01126, allocations: 0.6428 MB / 438.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.01163, allocations: 218.1 kB / 438.8 MB, free: 4.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005058/0.01214, allocations: 370.2 kB / 439.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.01244, allocations: 231.3 kB / 439.4 MB, free: 4.395 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.01248, allocations: 44 kB / 439.4 MB, free: 4.352 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007629/0.01325, allocations: 0.5063 MB / 439.9 MB, free: 3.844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.01338, allocations: 155.5 kB / 440.1 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.0135, allocations: 135.6 kB / 440.2 MB, free: 3.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007646/0.01426, allocations: 0.7906 MB / 441 MB, free: 2.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01426, allocations: 4 kB / 441 MB, free: 2.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01427, allocations: 0 / 441 MB, free: 2.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.01427, allocations: 4 kB / 441 MB, free: 2.758 MB / 410.7 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.0009303/0.0152, allocations: 0.7333 MB / 441.7 MB, free: 1.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.01524, allocations: 11.98 kB / 441.7 MB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.01529, allocations: 62.72 kB / 441.8 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006026/0.01589, allocations: 112.6 kB / 441.9 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.01628, allocations: 341.5 kB / 442.2 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.01631, allocations: 16.88 kB / 442.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.01634, allocations: 20.38 kB / 442.3 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.0169, allocations: 0.4946 MB / 442.8 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.01691, allocations: 0 / 442.8 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.01694, allocations: 15.98 kB / 442.8 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.01697, allocations: 20.48 kB / 442.8 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.01762, allocations: 0.5248 MB / 443.3 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1503/0.1679, allocations: 1.699 MB / 445 MB, free: 53.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.1686, allocations: 406.3 kB / 445.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.1688, allocations: 149 kB / 445.6 MB, free: 53.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1688, allocations: 7.281 kB / 445.6 MB, free: 53.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.1691, allocations: 286.8 kB / 445.9 MB, free: 53.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.424e-06/0.1691, allocations: 0 / 445.9 MB, free: 53.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007899/0.1699, allocations: 0.5524 MB / 446.4 MB, free: 52.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.17, allocations: 250 kB / 446.7 MB, free: 52.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1703, allocations: 414.2 kB / 447.1 MB, free: 52.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1703, allocations: 36.05 kB / 447.1 MB, free: 52.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.1704, allocations: 210.4 kB / 447.3 MB, free: 52.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1704, allocations: 105.1 kB / 447.4 MB, free: 52.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.1705, allocations: 72.53 kB / 447.5 MB, free: 52.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.314e-05/0.1705, allocations: 352 kB / 447.8 MB, free: 51.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1707, allocations: 183.2 kB / 448 MB, free: 51.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.1709, allocations: 349.6 kB / 448.3 MB, free: 51.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.1714, allocations: 489.1 kB / 448.8 MB, free: 51.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1714, allocations: 0 / 448.8 MB, free: 51.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005535/0.172, allocations: 0.5884 MB / 449.4 MB, free: 50.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.172, allocations: 38.33 kB / 449.4 MB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.172, allocations: 6.375 kB / 449.5 MB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.172, allocations: 6.5 kB / 449.5 MB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1722, allocations: 91.41 kB / 449.5 MB, free: 50.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1722, allocations: 10.34 kB / 449.6 MB, free: 50.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1724, allocations: 60.27 kB / 449.6 MB, free: 50.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1724, allocations: 23.56 kB / 449.6 MB, free: 50.79 MB / 410.7 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.0001187/0.1725, allocations: 192.2 kB / 449.8 MB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.1725, allocations: 42.81 kB / 449.9 MB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.1731, allocations: 479.2 kB / 450.3 MB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1731, allocations: 7.094 kB / 450.3 MB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1731, allocations: 3.094 kB / 450.3 MB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1731, allocations: 6.562 kB / 450.4 MB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.1735, allocations: 0.8241 MB / 451.2 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1735, allocations: 3.219 kB / 451.2 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1737, allocations: 74.64 kB / 451.3 MB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1737, allocations: 7.188 kB / 451.3 MB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1737, allocations: 10.52 kB / 451.3 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1737, allocations: 6.594 kB / 451.3 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1737, allocations: 7.281 kB / 451.3 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.1742, allocations: 0.5078 MB / 451.8 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.1742, allocations: 47.05 kB / 451.8 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.1743, allocations: 23.09 kB / 451.9 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.1744, allocations: 30.36 kB / 451.9 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.1744, allocations: 45.25 kB / 451.9 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1745, allocations: 14.84 kB / 451.9 MB, free: 49.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1746, allocations: 297.2 kB / 452.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1746, allocations: 0 / 452.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.1749, allocations: 117 kB / 452.4 MB, free: 49.3 MB / 410.7 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.001377/0.1763, allocations: 1.506 MB / 453.9 MB, free: 48.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.1768, allocations: 479.3 kB / 454.3 MB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1768, allocations: 0 / 454.3 MB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.1771, allocations: 209.8 kB / 454.5 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1773, allocations: 72.34 kB / 454.6 MB, free: 48.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.1803, allocations: 4.032 MB / 458.6 MB, free: 45.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.1804, allocations: 213.5 kB / 458.8 MB, free: 45.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.1806, allocations: 100.2 kB / 458.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1807, allocations: 138 kB / 459.1 MB, free: 45.36 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1807, allocations: 0 / 459.1 MB, free: 45.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.2018, allocations: 10.61 MB / 469.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.275, allocations: 1.859 kB / 469.7 MB, free: 43.25 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.063234509900212] Failed to read output from testmodel.py, exit status != 0: 7.377371972426772 7.386212471 7.369435962 Calling exit ...