Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.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.00134/0.00134, 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.001394/0.001394, allocations: 210.1 kB / 23.72 MB, free: 4.391 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.597/1.597, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1853/0.1853, allocations: 38.56 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: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") [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.002173/0.002173, allocations: 71.88 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4215, allocations: 62.47 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00547/0.427, allocations: 2.529 MB / 0.5449 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.4278, allocations: 430.5 kB / 0.5453 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.4279, allocations: 5.312 kB / 0.5453 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.428, allocations: 5.312 kB / 0.5453 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.4282, allocations: 30.47 kB / 0.5453 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.4283, allocations: 28.08 kB / 0.5454 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.4285, allocations: 95.47 kB / 0.5455 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4287, allocations: 14.86 kB / 0.5455 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.4289, allocations: 56.39 kB / 0.5455 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.429, allocations: 37.58 kB / 0.5456 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.429, allocations: 8.219 kB / 0.5456 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.606e-05/0.429, allocations: 8 kB / 0.5456 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.4291, allocations: 25.27 kB / 0.5456 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.4291, allocations: 39.69 kB / 0.5456 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.4293, allocations: 90.27 kB / 0.5457 GB, free: 13.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4293, allocations: 0.9688 kB / 0.5457 GB, free: 13.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4293, allocations: 0 / 0.5457 GB, free: 13.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.4293, allocations: 0 / 0.5457 GB, free: 13.81 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007625/0.4301, allocations: 339.2 kB / 0.5461 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4301, allocations: 18.14 kB / 0.5461 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.4302, allocations: 17.56 kB / 0.5461 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.4305, allocations: 131.6 kB / 0.5462 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4305, allocations: 6.438 kB / 0.5462 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.4305, allocations: 12.72 kB / 0.5462 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.4308, allocations: 91.36 kB / 0.5463 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4308, allocations: 0 / 0.5463 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4308, allocations: 5.125 kB / 0.5463 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4308, allocations: 1.094 kB / 0.5463 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.4311, allocations: 77.44 kB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.4319, allocations: 362.1 kB / 0.5467 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.4323, allocations: 92.59 kB / 0.5468 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4324, allocations: 33.44 kB / 0.5469 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.4324, allocations: 1.375 kB / 0.5469 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4325, allocations: 39.77 kB / 0.5469 GB, free: 12.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.4325, allocations: 1.219 kB / 0.5469 GB, free: 12.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000477/0.433, allocations: 128.3 kB / 0.547 GB, free: 12.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.433, allocations: 52.78 kB / 0.5471 GB, free: 12.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4332, allocations: 147.7 kB / 0.5472 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.4332, allocations: 25.7 kB / 0.5472 GB, free: 12.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.4333, allocations: 100.7 kB / 0.5473 GB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.4333, allocations: 31.59 kB / 0.5474 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.4333, allocations: 31.48 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4335, allocations: 321.2 kB / 0.5477 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4336, allocations: 34.88 kB / 0.5477 GB, free: 11.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.4338, allocations: 56.66 kB / 0.5478 GB, free: 11.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.434, allocations: 104.5 kB / 0.5479 GB, free: 11.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.434, allocations: 4 kB / 0.5479 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003169/0.4343, allocations: 128.2 kB / 0.548 GB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4344, allocations: 6.094 kB / 0.548 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4344, allocations: 1.5 kB / 0.548 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.4344, allocations: 1.344 kB / 0.548 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4345, allocations: 36.44 kB / 0.5481 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4346, allocations: 1.969 kB / 0.5481 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4347, allocations: 17.41 kB / 0.5481 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4347, allocations: 7.062 kB / 0.5481 GB, free: 11.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001071/0.4348, allocations: 118.3 kB / 0.5482 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.4348, allocations: 8.516 kB / 0.5482 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.4352, allocations: 125.8 kB / 0.5483 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4352, allocations: 5.219 kB / 0.5483 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4352, allocations: 0 / 0.5483 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4352, allocations: 9 kB / 0.5483 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.4354, allocations: 143.7 kB / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4354, allocations: 0 / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.4356, allocations: 23.52 kB / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4356, allocations: 0 / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.4356, allocations: 5.219 kB / 0.5485 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4356, allocations: 0 / 0.5485 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4356, allocations: 8.953 kB / 0.5485 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.4361, allocations: 258.5 kB / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.4362, allocations: 7.203 kB / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.4362, allocations: 1.031 kB / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4363, allocations: 12.11 kB / 0.5488 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.4363, allocations: 6.719 kB / 0.5488 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.4364, allocations: 2.094 kB / 0.5488 GB, free: 11.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.4364, allocations: 104.7 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4364, allocations: 1.438 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.4367, allocations: 20.25 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001289/0.4368, allocations: 99.31 kB / 0.549 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.4371, allocations: 82.66 kB / 0.5491 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4371, allocations: 0 / 0.5491 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4373, allocations: 41.91 kB / 0.5491 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.4375, allocations: 8.969 kB / 0.5491 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.4383, allocations: 345.5 kB / 0.5495 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.348e-05/0.4384, allocations: 80.36 kB / 0.5495 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.4385, allocations: 15.22 kB / 0.5496 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.4385, allocations: 10.75 kB / 0.5496 GB, free: 10.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4385, allocations: 1.062 kB / 0.5496 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004404/0.4429, allocations: 1.135 MB / 0.5507 GB, free: 9.93 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.495603566989303] Failed to read output from testmodel.py, exit status != 0: 0.45216456055641174 0.46687739599999994 0.034481114 Calling exit ...