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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 188.8 kB / 23.72 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1945/0.1945, allocations: 38.53 MB / 346.3 MB, free: 2.145 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4685, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004603/0.4731, allocations: 2.561 MB / 0.5355 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.4737, allocations: 451.8 kB / 0.5359 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.881e-05/0.4738, allocations: 1.219 kB / 0.5359 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.4739, allocations: 12.58 kB / 0.536 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.4741, allocations: 25.39 kB / 0.536 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.4742, allocations: 24.06 kB / 0.536 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.4744, allocations: 104.2 kB / 0.5361 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.4746, allocations: 11.78 kB / 0.5361 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.4747, allocations: 40.55 kB / 0.5362 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.4748, allocations: 53.41 kB / 0.5362 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.4748, allocations: 9 kB / 0.5362 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.4749, allocations: 7.156 kB / 0.5362 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.4749, allocations: 22.02 kB / 0.5362 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.475, allocations: 39.56 kB / 0.5363 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.4752, allocations: 109.1 kB / 0.5364 GB, free: 3.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4752, allocations: 0 / 0.5364 GB, free: 3.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4752, allocations: 0 / 0.5364 GB, free: 3.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.4752, allocations: 0 / 0.5364 GB, free: 3.207 MB / 382.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.0006791/0.4759, allocations: 338.7 kB / 0.5367 GB, free: 2.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4759, allocations: 12.28 kB / 0.5367 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.476, allocations: 7.641 kB / 0.5367 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4762, allocations: 137.6 kB / 0.5369 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4762, allocations: 7.125 kB / 0.5369 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.4763, allocations: 12.25 kB / 0.5369 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.4765, allocations: 95.83 kB / 0.537 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4766, allocations: 3.938 kB / 0.537 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.4766, allocations: 5.359 kB / 0.537 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4766, allocations: 1.375 kB / 0.537 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.4769, allocations: 66.45 kB / 0.537 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.4777, allocations: 415.3 kB / 0.5374 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.478, allocations: 87.73 kB / 0.5375 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.4781, allocations: 38.7 kB / 0.5376 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.4782, allocations: 0 / 0.5376 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4782, allocations: 35.94 kB / 0.5376 GB, free: 2.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.4782, allocations: 0 / 0.5376 GB, free: 2.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004837/0.4787, allocations: 140.6 kB / 0.5377 GB, free: 2.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.4787, allocations: 56.72 kB / 0.5378 GB, free: 1.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4788, allocations: 142.2 kB / 0.5379 GB, free: 1.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.4788, allocations: 27.42 kB / 0.5379 GB, free: 1.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.4789, allocations: 107.6 kB / 0.538 GB, free: 1.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4789, allocations: 26.42 kB / 0.5381 GB, free: 1.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.4789, allocations: 24.91 kB / 0.5381 GB, free: 1.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.479, allocations: 320.3 kB / 0.5384 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.4791, allocations: 30.58 kB / 0.5384 GB, free: 1.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.4792, allocations: 56.19 kB / 0.5385 GB, free: 1.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4795, allocations: 107.5 kB / 0.5386 GB, free: 1.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4795, allocations: 1.312 kB / 0.5386 GB, free: 1.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003391/0.4799, allocations: 135.5 kB / 0.5387 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4799, allocations: 6.469 kB / 0.5387 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4799, allocations: 1.344 kB / 0.5387 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.4799, allocations: 5.312 kB / 0.5387 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.4801, allocations: 29.08 kB / 0.5388 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4801, allocations: 1.594 kB / 0.5388 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.4802, allocations: 13.53 kB / 0.5388 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.4802, allocations: 6.656 kB / 0.5388 GB, free: 1.09 MB / 382.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 8.904e-05/0.4803, allocations: 126 kB / 0.5389 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.4803, allocations: 8.422 kB / 0.5389 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.4807, allocations: 131.3 kB / 0.539 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4807, allocations: 3.938 kB / 0.539 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4807, allocations: 1.281 kB / 0.539 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4807, allocations: 0 / 0.539 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.4809, allocations: 182 kB / 0.5392 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4809, allocations: 0 / 0.5392 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.4811, allocations: 30 kB / 0.5392 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4811, allocations: 1.219 kB / 0.5392 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4811, allocations: 9.25 kB / 0.5392 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4811, allocations: 3.938 kB / 0.5393 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4811, allocations: 3.938 kB / 0.5393 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.4816, allocations: 251.1 kB / 0.5395 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.4816, allocations: 6.453 kB / 0.5395 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.4816, allocations: 1.188 kB / 0.5395 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.4817, allocations: 16.92 kB / 0.5395 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.4818, allocations: 5.453 kB / 0.5395 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.4818, allocations: 2.812 kB / 0.5395 GB, free: 432 kB / 382.1 MB Notification: Performance of sorting global known variables: time 7.362e-05/0.4819, allocations: 102.7 kB / 0.5396 GB, free: 344 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4819, allocations: 0 / 0.5396 GB, free: 344 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.4821, allocations: 21.09 kB / 0.5396 GB, free: 340 kB / 382.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.0001072/0.4823, allocations: 99.47 kB / 0.5397 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.4826, allocations: 81.77 kB / 0.5398 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4826, allocations: 0 / 0.5398 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.4827, allocations: 43.28 kB / 0.5399 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.483, allocations: 12.31 kB / 0.5399 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.4838, allocations: 349.6 kB / 0.5402 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.4842, allocations: 0.6983 MB / 0.5409 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.4842, allocations: 12.42 kB / 0.5409 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.4843, allocations: 15.3 kB / 0.5409 GB, free: 15.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4843, allocations: 0 / 0.5409 GB, free: 15.18 MB / 398.1 MB Notification: Performance of Templates: time 0.005231/0.4895, allocations: 1.099 MB / 0.542 GB, free: 14.62 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.384734149090946] Failed to read output from testmodel.py, exit status != 0: 0.49878063425421715 0.514165313 0.035810834 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fcbe876d7b0>