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.001337/0.001337, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001447/0.001447, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.1867/0.1867, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.003269/0.003269, allocations: 59.91 kB / 493.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3735, allocations: 62.48 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004566/0.378, allocations: 2.569 MB / 0.5457 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000738/0.3788, allocations: 467.8 kB / 0.5462 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.3789, allocations: 5.5 kB / 0.5462 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.379, allocations: 13 kB / 0.5462 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.3791, allocations: 23.72 kB / 0.5462 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.3792, allocations: 29.98 kB / 0.5462 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3794, allocations: 100.7 kB / 0.5463 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3795, allocations: 14.08 kB / 0.5464 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3797, allocations: 52.19 kB / 0.5464 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3798, allocations: 46.3 kB / 0.5464 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.3798, allocations: 7.719 kB / 0.5465 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.3798, allocations: 7.875 kB / 0.5465 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.3798, allocations: 22.22 kB / 0.5465 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.3799, allocations: 43.98 kB / 0.5465 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.3801, allocations: 88.86 kB / 0.5466 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3801, allocations: 4 kB / 0.5466 GB, free: 13.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3801, allocations: 1.156 kB / 0.5466 GB, free: 13.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3801, allocations: 3.938 kB / 0.5466 GB, free: 13.92 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.0007349/0.3808, allocations: 340.8 kB / 0.5469 GB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3808, allocations: 14.02 kB / 0.547 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.3809, allocations: 17.88 kB / 0.547 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3811, allocations: 126.5 kB / 0.5471 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3811, allocations: 8 kB / 0.5471 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.3812, allocations: 12.31 kB / 0.5471 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3814, allocations: 90.73 kB / 0.5472 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3814, allocations: 0 / 0.5472 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3815, allocations: 5.344 kB / 0.5472 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3815, allocations: 1.5 kB / 0.5472 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.3817, allocations: 77.38 kB / 0.5473 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.3826, allocations: 404.7 kB / 0.5477 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.3829, allocations: 92.05 kB / 0.5478 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.383, allocations: 41.2 kB / 0.5478 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3831, allocations: 5.375 kB / 0.5478 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3831, allocations: 31.91 kB / 0.5478 GB, free: 12.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3831, allocations: 0 / 0.5478 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004682/0.3836, allocations: 140.8 kB / 0.548 GB, free: 12.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3836, allocations: 60.44 kB / 0.548 GB, free: 12.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3838, allocations: 143.2 kB / 0.5482 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3838, allocations: 25.7 kB / 0.5482 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.3839, allocations: 108.4 kB / 0.5483 GB, free: 12.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3839, allocations: 23.09 kB / 0.5483 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.3839, allocations: 28.28 kB / 0.5483 GB, free: 12.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3841, allocations: 321 kB / 0.5486 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3842, allocations: 34.14 kB / 0.5487 GB, free: 12.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3844, allocations: 69.16 kB / 0.5487 GB, free: 11.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.3846, allocations: 102.3 kB / 0.5488 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3846, allocations: 0.8438 kB / 0.5488 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003216/0.385, allocations: 132.9 kB / 0.549 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.385, allocations: 5.562 kB / 0.549 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.385, allocations: 5.047 kB / 0.549 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.385, allocations: 1.125 kB / 0.549 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3852, allocations: 37.39 kB / 0.549 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3852, allocations: 1.156 kB / 0.549 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3853, allocations: 10.8 kB / 0.549 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3853, allocations: 2.219 kB / 0.549 GB, free: 11.78 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.0001254/0.3854, allocations: 118.5 kB / 0.5491 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.3855, allocations: 12.56 kB / 0.5492 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.3858, allocations: 129.6 kB / 0.5493 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3858, allocations: 9.062 kB / 0.5493 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3858, allocations: 0 / 0.5493 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3858, allocations: 1.062 kB / 0.5493 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.3861, allocations: 176.5 kB / 0.5495 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3861, allocations: 1.25 kB / 0.5495 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.3863, allocations: 22.83 kB / 0.5495 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3863, allocations: 0 / 0.5495 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3863, allocations: 1.062 kB / 0.5495 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.3863, allocations: 9.109 kB / 0.5495 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3863, allocations: 0 / 0.5495 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.3868, allocations: 258.4 kB / 0.5497 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.3868, allocations: 10.17 kB / 0.5497 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3868, allocations: 2.094 kB / 0.5497 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.387, allocations: 12.33 kB / 0.5498 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.387, allocations: 6.375 kB / 0.5498 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.387, allocations: 5.203 kB / 0.5498 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3871, allocations: 114.9 kB / 0.5499 GB, free: 11.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3871, allocations: 0 / 0.5499 GB, free: 11.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.3874, allocations: 17.03 kB / 0.5499 GB, free: 11.03 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.0001123/0.3875, allocations: 90.75 kB / 0.55 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.3878, allocations: 90.77 kB / 0.5501 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3878, allocations: 0 / 0.5501 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.388, allocations: 42.7 kB / 0.5501 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.3883, allocations: 20.64 kB / 0.5501 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.3891, allocations: 368.5 kB / 0.5505 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3895, allocations: 0.7005 MB / 0.5512 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.3895, allocations: 12.97 kB / 0.5512 GB, free: 9.859 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3895, allocations: 0 / 0.5512 GB, free: 9.859 MB / 398.1 MB Notification: Performance of Templates: time 0.003516/0.393, allocations: 1.275 MB / 0.5524 GB, free: 9.199 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: 7.466201227158308] Failed to read output from testmodel.py, exit status != 0: 0.40384204988367856 0.41733082299999996 0.034108946 Calling exit ...