Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001714/0.001714, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.00214/0.00214, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.508/1.508, allocations: 225.6 MB / 252.5 MB, free: 13 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.1824/0.1824, allocations: 38.53 MB / 346.3 MB, free: 2.055 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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003356/0.003356, allocations: 67.89 kB / 484.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3658, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005598/0.3714, allocations: 3.597 MB / 0.5365 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.3736, allocations: 1.525 MB / 0.538 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.3738, allocations: 9.438 kB / 0.538 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008405/0.3747, allocations: 267.4 kB / 0.5383 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005308/0.3752, allocations: 278.2 kB / 0.5386 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3755, allocations: 126.8 kB / 0.5387 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.3758, allocations: 341.8 kB / 0.539 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.3761, allocations: 99.5 kB / 0.5391 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3764, allocations: 160.7 kB / 0.5392 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.3766, allocations: 167 kB / 0.5394 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.3766, allocations: 14.22 kB / 0.5394 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006186/0.3772, allocations: 346.5 kB / 0.5397 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3774, allocations: 98.2 kB / 0.5398 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3775, allocations: 108.8 kB / 0.5399 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.378, allocations: 353.1 kB / 0.5403 GB, free: 352 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3781, allocations: 1.281 kB / 0.5403 GB, free: 352 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3781, allocations: 0 / 0.5403 GB, free: 352 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3781, allocations: 4 kB / 0.5403 GB, free: 348 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006528/0.3787, allocations: 464.4 kB / 0.5407 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3788, allocations: 8.875 kB / 0.5407 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009244/0.3797, allocations: 93.09 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.38, allocations: 210.4 kB / 0.541 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3801, allocations: 15.75 kB / 0.541 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.3801, allocations: 15.97 kB / 0.5411 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.3807, allocations: 325.4 kB / 0.5414 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3807, allocations: 0 / 0.5414 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.3807, allocations: 6.188 kB / 0.5414 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.3807, allocations: 22.27 kB / 0.5414 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.3812, allocations: 297.5 kB / 0.5417 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.3831, allocations: 1.226 MB / 0.5429 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.3835, allocations: 224.1 kB / 0.5431 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3837, allocations: 91.42 kB / 0.5432 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3837, allocations: 9.391 kB / 0.5432 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3838, allocations: 36.66 kB / 0.5432 GB, free: 14.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3838, allocations: 0 / 0.5432 GB, free: 14.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008881/0.3846, allocations: 444.4 kB / 0.5436 GB, free: 13.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.3847, allocations: 83.73 kB / 0.5437 GB, free: 13.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3849, allocations: 204.5 kB / 0.5439 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3849, allocations: 31.23 kB / 0.544 GB, free: 13.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.385, allocations: 163.1 kB / 0.5441 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.3851, allocations: 59.23 kB / 0.5442 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.3852, allocations: 51.94 kB / 0.5442 GB, free: 13.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3854, allocations: 327.4 kB / 0.5445 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3855, allocations: 84.17 kB / 0.5446 GB, free: 12.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3857, allocations: 165.5 kB / 0.5448 GB, free: 12.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.3861, allocations: 266 kB / 0.545 GB, free: 12.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3861, allocations: 1.188 kB / 0.545 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005207/0.3866, allocations: 294 kB / 0.5453 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3866, allocations: 9.875 kB / 0.5453 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3866, allocations: 3.125 kB / 0.5453 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.3867, allocations: 6.688 kB / 0.5453 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.3869, allocations: 52.34 kB / 0.5454 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.387, allocations: 3.344 kB / 0.5454 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.3871, allocations: 15.8 kB / 0.5454 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.3872, allocations: 11.83 kB / 0.5454 GB, free: 12.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0002027/0.3874, allocations: 152.3 kB / 0.5455 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.3874, allocations: 24.95 kB / 0.5456 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.3879, allocations: 237.6 kB / 0.5458 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3879, allocations: 7.359 kB / 0.5458 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3879, allocations: 0 / 0.5458 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3879, allocations: 0 / 0.5458 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.3894, allocations: 0.9217 MB / 0.5467 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3894, allocations: 3.375 kB / 0.5467 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3895, allocations: 35.36 kB / 0.5467 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3895, allocations: 5.25 kB / 0.5467 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3895, allocations: 9.312 kB / 0.5468 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.3896, allocations: 13.42 kB / 0.5468 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.3896, allocations: 12.53 kB / 0.5468 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.3901, allocations: 406.6 kB / 0.5472 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3901, allocations: 25.06 kB / 0.5472 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.3902, allocations: 14.69 kB / 0.5472 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.3903, allocations: 22.55 kB / 0.5472 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3904, allocations: 15.55 kB / 0.5472 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3904, allocations: 17.03 kB / 0.5473 GB, free: 10.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.3905, allocations: 151.9 kB / 0.5474 GB, free: 10.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3905, allocations: 0 / 0.5474 GB, free: 10.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.3909, allocations: 50.97 kB / 0.5474 GB, free: 10.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001146/0.391, allocations: 109.7 kB / 0.5476 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.3914, allocations: 213.5 kB / 0.5478 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3914, allocations: 0 / 0.5478 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3916, allocations: 103.1 kB / 0.5479 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.3921, allocations: 32.88 kB / 0.5479 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3931, allocations: 0.576 MB / 0.5484 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3935, allocations: 0.7643 MB / 0.5492 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.3937, allocations: 57.19 kB / 0.5492 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.3938, allocations: 22.28 kB / 0.5493 GB, free: 9.238 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3938, allocations: 0.875 kB / 0.5493 GB, free: 9.238 MB / 398.1 MB Notification: Performance of Templates: time 0.00572/0.3995, allocations: 2.101 MB / 0.5513 GB, free: 8.199 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.149096366018057] Failed to read output from testmodel.py, exit status != 0: 0.4094557976350188 0.42453198899999994 0.043179612000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fda6e2597b0>