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.001365/0.001365, allocations: 85.33 kB / 20.68 MB, free: 1.023 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.001733/0.001733, allocations: 168 kB / 23.96 MB, free: 4.148 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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.1799/0.1799, allocations: 29.43 MB / 290.1 MB, free: 3.285 MB / 270.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: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.032e-05, allocations: 2.281 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006801/0.006832, allocations: 4.161 MB / 434.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.01122, allocations: 2.457 MB / 437.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.01154, allocations: 15.88 kB / 437.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.0129, allocations: 349.5 kB / 437.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.014, allocations: 382 kB / 438.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.015, allocations: 370.4 kB / 438.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009887/0.01599, allocations: 0.6311 MB / 439.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.0165, allocations: 222.1 kB / 439.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008232/0.01733, allocations: 366.9 kB / 439.6 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.01783, allocations: 231.4 kB / 439.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-05/0.01793, allocations: 44 kB / 439.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.01897, allocations: 0.5063 MB / 440.4 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.01918, allocations: 147.5 kB / 440.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.01942, allocations: 131.7 kB / 440.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.02083, allocations: 0.8062 MB / 441.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.02083, allocations: 0 / 441.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02083, allocations: 0 / 441.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.02085, allocations: 0 / 441.5 MB, free: 7.133 MB / 366.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.001762/0.02262, allocations: 0.7327 MB / 442.2 MB, free: 6.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.02266, allocations: 15.98 kB / 442.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.02386, allocations: 116.6 kB / 442.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/0.02469, allocations: 341.4 kB / 442.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.02473, allocations: 12.88 kB / 442.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.02479, allocations: 24.38 kB / 442.7 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.02592, allocations: 0.4909 MB / 443.2 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.02594, allocations: 3.938 kB / 443.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.02599, allocations: 11.98 kB / 443.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/0.02605, allocations: 28.47 kB / 443.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.02734, allocations: 0.5248 MB / 443.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.02997, allocations: 1.664 MB / 445.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.03125, allocations: 405.1 kB / 445.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.03168, allocations: 149.6 kB / 446 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.03171, allocations: 4 kB / 446 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006815/0.03239, allocations: 293.7 kB / 446.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/0.0324, allocations: 0 / 446.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001667/0.03406, allocations: 0.5623 MB / 446.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.03425, allocations: 239.9 kB / 447.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.03481, allocations: 401.6 kB / 447.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.03486, allocations: 37.7 kB / 447.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.03508, allocations: 208.5 kB / 447.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.03519, allocations: 107.2 kB / 447.8 MB, free: 500 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.03532, allocations: 69.64 kB / 447.9 MB, free: 424 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.03552, allocations: 350.8 kB / 448.2 MB, free: 64 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1809/0.2164, allocations: 179.5 kB / 448.4 MB, free: 29.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.2169, allocations: 341.2 kB / 448.7 MB, free: 29.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.2179, allocations: 496.8 kB / 449.2 MB, free: 29.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.2179, allocations: 1.188 kB / 449.2 MB, free: 29.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001541/0.2195, allocations: 0.5759 MB / 449.8 MB, free: 29.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.2195, allocations: 42.2 kB / 449.8 MB, free: 29.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.2195, allocations: 4.5 kB / 449.8 MB, free: 29.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.728e-05/0.2196, allocations: 6.734 kB / 449.8 MB, free: 29.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.22, allocations: 92.45 kB / 449.9 MB, free: 29.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.2201, allocations: 7.516 kB / 449.9 MB, free: 29.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.2205, allocations: 58.22 kB / 450 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.2205, allocations: 20.31 kB / 450 MB, free: 29.34 MB / 366.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.0002719/0.2208, allocations: 199 kB / 450.2 MB, free: 29.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.2209, allocations: 37.36 kB / 450.2 MB, free: 29.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.2221, allocations: 477.1 kB / 450.7 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.2221, allocations: 12.22 kB / 450.7 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.2221, allocations: 1.969 kB / 450.7 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2221, allocations: 4.641 kB / 450.7 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.223, allocations: 0.7842 MB / 451.5 MB, free: 28.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.223, allocations: 1.188 kB / 451.5 MB, free: 28.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.2233, allocations: 76.22 kB / 451.6 MB, free: 28.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.2233, allocations: 4.281 kB / 451.6 MB, free: 28.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.2233, allocations: 11.55 kB / 451.6 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.2233, allocations: 8.031 kB / 451.6 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2233, allocations: 1.062 kB / 451.6 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.2244, allocations: 0.5182 MB / 452.1 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.2245, allocations: 42.28 kB / 452.2 MB, free: 28.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.2245, allocations: 15.36 kB / 452.2 MB, free: 28.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.2248, allocations: 31.58 kB / 452.2 MB, free: 28.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.2249, allocations: 45.75 kB / 452.3 MB, free: 28.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.2249, allocations: 18.72 kB / 452.3 MB, free: 28.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.2252, allocations: 282.4 kB / 452.6 MB, free: 27.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2252, allocations: 0 / 452.6 MB, free: 27.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004798/0.2257, allocations: 122 kB / 452.7 MB, free: 27.95 MB / 366.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.001883/0.2275, allocations: 0.5434 MB / 453.2 MB, free: 27.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.2286, allocations: 480.4 kB / 453.7 MB, free: 27.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2286, allocations: 0 / 453.7 MB, free: 27.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.2291, allocations: 210 kB / 453.9 MB, free: 27.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.2295, allocations: 75.25 kB / 454 MB, free: 27.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2309, allocations: 0.7377 MB / 454.7 MB, free: 27.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.2311, allocations: 217.7 kB / 454.9 MB, free: 26.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000228/0.2313, allocations: 85.33 kB / 455 MB, free: 26.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.2315, allocations: 47.09 kB / 455 MB, free: 26.92 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2315, allocations: 0 / 455 MB, free: 26.92 MB / 366.1 MB Notification: Performance of Templates: time 0.0118/0.2433, allocations: 5.592 MB / 460.6 MB, free: 26.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.956471189856529] Failed to read output from testmodel.py, exit status != 0: 0.2524430565536022 0.26264570000000004 0.239634279 Calling exit ...