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.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.0008072/0.0008072, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003092/0.003092, allocations: 162 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8821/0.8821, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.251/0.251, allocations: 29.4 MB / 290.8 MB, free: 2.422 MB / 266.7 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.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 1.573e-06/1.573e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.177e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.00312/0.003141, allocations: 3.43 MB / 434.9 MB, free: 9.656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.004436, allocations: 1.422 MB / 436.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004542, allocations: 7.938 kB / 436.3 MB, free: 8.219 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.005079, allocations: 262.9 kB / 436.6 MB, free: 7.961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.00546, allocations: 290.5 kB / 436.9 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.005636, allocations: 123.5 kB / 437 MB, free: 7.555 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.005927, allocations: 350.9 kB / 437.3 MB, free: 7.211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.006155, allocations: 118 kB / 437.5 MB, free: 7.098 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.006427, allocations: 203.4 kB / 437.6 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.006614, allocations: 151.5 kB / 437.8 MB, free: 6.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.006635, allocations: 12 kB / 437.8 MB, free: 6.738 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.006934, allocations: 295 kB / 438.1 MB, free: 6.449 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.007018, allocations: 103.8 kB / 438.2 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.007085, allocations: 75.78 kB / 438.3 MB, free: 6.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.007415, allocations: 370.9 kB / 438.6 MB, free: 5.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007418, allocations: 4 kB / 438.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.00742, allocations: 0 / 438.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.007424, allocations: 0 / 438.6 MB, free: 5.906 MB / 410.7 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.0005409/0.007964, allocations: 464.8 kB / 439.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.007999, allocations: 15.98 kB / 439.1 MB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.008455, allocations: 96.69 kB / 439.2 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.008711, allocations: 204.4 kB / 439.4 MB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.008727, allocations: 12.36 kB / 439.4 MB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.008766, allocations: 24.33 kB / 439.4 MB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.009107, allocations: 314.7 kB / 439.7 MB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.009121, allocations: 4.188 kB / 439.7 MB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.009141, allocations: 8.359 kB / 439.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.009171, allocations: 27.92 kB / 439.8 MB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.009457, allocations: 283.8 kB / 440.1 MB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01051, allocations: 1.132 MB / 441.2 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.01081, allocations: 225 kB / 441.4 MB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.84e-05/0.01091, allocations: 97.72 kB / 441.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.01094, allocations: 4 kB / 441.5 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.01097, allocations: 38.5 kB / 441.5 MB, free: 2.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.01097, allocations: 0 / 441.5 MB, free: 2.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006179/0.01159, allocations: 444.9 kB / 442 MB, free: 2.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.01164, allocations: 81.11 kB / 442.1 MB, free: 2.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01177, allocations: 199.1 kB / 442.3 MB, free: 2.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.01178, allocations: 25.7 kB / 442.3 MB, free: 2.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.01186, allocations: 164.2 kB / 442.4 MB, free: 1.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.01189, allocations: 67.55 kB / 442.5 MB, free: 1.805 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.01194, allocations: 45.64 kB / 442.6 MB, free: 1.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.01203, allocations: 330.8 kB / 442.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.01212, allocations: 83.95 kB / 443 MB, free: 1.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.01224, allocations: 169.4 kB / 443.1 MB, free: 1.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01245, allocations: 263 kB / 443.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01246, allocations: 0 / 443.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002838/0.01274, allocations: 297.2 kB / 443.7 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01275, allocations: 4 kB / 443.7 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01276, allocations: 4 kB / 443.7 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01277, allocations: 8.281 kB / 443.7 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.01291, allocations: 55.91 kB / 443.7 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.01292, allocations: 4 kB / 443.7 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.01298, allocations: 11.92 kB / 443.8 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.013, allocations: 15.98 kB / 443.8 MB, free: 472 kB / 410.7 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 9.074e-05/0.01309, allocations: 149.8 kB / 443.9 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.01312, allocations: 19.86 kB / 443.9 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.01335, allocations: 234.4 kB / 444.2 MB, free: 48 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01336, allocations: 4 kB / 444.2 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.01336, allocations: 4 kB / 444.2 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01337, allocations: 0 / 444.2 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1754/0.1888, allocations: 0.8497 MB / 445 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1888, allocations: 6.625 kB / 445 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.1888, allocations: 39.31 kB / 445.1 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1888, allocations: 6.562 kB / 445.1 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1889, allocations: 6.531 kB / 445.1 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1889, allocations: 6.25 kB / 445.1 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1889, allocations: 8.062 kB / 445.1 MB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1891, allocations: 416.7 kB / 445.5 MB, free: 53.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.1891, allocations: 17.17 kB / 445.5 MB, free: 53.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1891, allocations: 12.36 kB / 445.5 MB, free: 53.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.1892, allocations: 10.47 kB / 445.5 MB, free: 53.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.1892, allocations: 26.3 kB / 445.6 MB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1893, allocations: 9.469 kB / 445.6 MB, free: 53.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.415e-05/0.1893, allocations: 147.5 kB / 445.7 MB, free: 53.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1893, allocations: 5.391 kB / 445.7 MB, free: 53.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.1896, allocations: 52 kB / 445.8 MB, free: 53.86 MB / 410.7 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 8.254e-05/0.1897, allocations: 107.9 kB / 445.9 MB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1899, allocations: 213.3 kB / 446.1 MB, free: 53.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1899, allocations: 0 / 446.1 MB, free: 53.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.19, allocations: 98.02 kB / 446.2 MB, free: 53.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1903, allocations: 47.22 kB / 446.2 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.1908, allocations: 0.5763 MB / 446.8 MB, free: 53.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.296e-05/0.1908, allocations: 155.5 kB / 447 MB, free: 53.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.1909, allocations: 20.91 kB / 447 MB, free: 53.18 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1909, allocations: 0 / 447 MB, free: 53.18 MB / 410.7 MB Notification: Performance of Templates: time 0.002693/0.1936, allocations: 2.767 MB / 449.7 MB, free: 53.03 MB / 410.7 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: 4.83491833973676] Failed to read output from testmodel.py, exit status != 0: 0.19877363462001085 0.204837769 0.196080405 Calling exit ...