Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.001232/0.001232, allocations: 119.5 kB / 18.41 MB, free: 4.676 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.001221/0.001221, allocations: 190.9 kB / 21.35 MB, free: 1.746 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.559/1.559, allocations: 222.9 MB / 247.1 MB, free: 4.078 MB / 190.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.1741/0.1741, allocations: 38.01 MB / 337.2 MB, free: 12.39 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.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.66 kB / 467.5 MB, free: 27.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1141, allocations: 58.07 MB / 0.5133 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.00549/0.1196, allocations: 3.427 MB / 0.5166 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1219, allocations: 1.516 MB / 0.5181 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.122, allocations: 11.94 kB / 0.5181 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008304/0.1229, allocations: 267 kB / 0.5184 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006213/0.1235, allocations: 271 kB / 0.5186 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1239, allocations: 135.6 kB / 0.5187 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.1245, allocations: 335 kB / 0.5191 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.1249, allocations: 129.9 kB / 0.5192 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.1251, allocations: 147.4 kB / 0.5193 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.1254, allocations: 155.4 kB / 0.5195 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.1255, allocations: 12 kB / 0.5195 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.1262, allocations: 335.2 kB / 0.5198 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1263, allocations: 99.77 kB / 0.5199 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1265, allocations: 103.5 kB / 0.52 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.127, allocations: 362.7 kB / 0.5203 GB, free: 2.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1271, allocations: 0 / 0.5203 GB, free: 2.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1271, allocations: 0 / 0.5203 GB, free: 2.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1271, allocations: 0 / 0.5203 GB, free: 2.441 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007955/0.1279, allocations: 0.5138 MB / 0.5209 GB, free: 1.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.1279, allocations: 11.89 kB / 0.5209 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009484/0.1289, allocations: 116.6 kB / 0.521 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.1293, allocations: 272.4 kB / 0.5212 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1293, allocations: 12.38 kB / 0.5212 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.1294, allocations: 16.12 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.1299, allocations: 330.3 kB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1299, allocations: 0 / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.13, allocations: 8 kB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.13, allocations: 12 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.1305, allocations: 307.7 kB / 0.5219 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.1323, allocations: 1.281 MB / 0.5231 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.1327, allocations: 202.4 kB / 0.5233 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.1328, allocations: 45.77 kB / 0.5234 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1328, allocations: 48 / 0.5234 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1328, allocations: 38.55 kB / 0.5234 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1328, allocations: 0 / 0.5234 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003093/0.1331, allocations: 137.5 kB / 0.5235 GB, free: 14.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1332, allocations: 85.05 kB / 0.5236 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1334, allocations: 219.7 kB / 0.5238 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1335, allocations: 25.7 kB / 0.5239 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1336, allocations: 167.9 kB / 0.524 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1336, allocations: 35.73 kB / 0.5241 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.1337, allocations: 49.78 kB / 0.5241 GB, free: 14.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1339, allocations: 326.8 kB / 0.5244 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.134, allocations: 43.91 kB / 0.5245 GB, free: 13.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.1341, allocations: 133.1 kB / 0.5246 GB, free: 13.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1344, allocations: 204.5 kB / 0.5248 GB, free: 13.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1344, allocations: 4 kB / 0.5248 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003119/0.1347, allocations: 209.2 kB / 0.525 GB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1347, allocations: 4 kB / 0.525 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1348, allocations: 4.438 kB / 0.525 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1348, allocations: 8 kB / 0.525 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.135, allocations: 47.91 kB / 0.525 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.135, allocations: 11.94 kB / 0.5251 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1351, allocations: 23.84 kB / 0.5251 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1351, allocations: 8 kB / 0.5251 GB, free: 13.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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.0001595/0.1353, allocations: 161.6 kB / 0.5252 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1353, allocations: 15.91 kB / 0.5253 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.1356, allocations: 115 kB / 0.5254 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1356, allocations: 8 kB / 0.5254 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1356, allocations: 0 / 0.5254 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1356, allocations: 3.984 kB / 0.5254 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.1364, allocations: 0.5721 MB / 0.5259 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1364, allocations: 7.938 kB / 0.5259 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.1365, allocations: 15.98 kB / 0.526 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1365, allocations: 4 kB / 0.526 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1365, allocations: 7.938 kB / 0.526 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1366, allocations: 4 kB / 0.526 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.1366, allocations: 7.938 kB / 0.526 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1369, allocations: 288.4 kB / 0.5263 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.137, allocations: 92.95 kB / 0.5263 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.137, allocations: 15.86 kB / 0.5264 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1371, allocations: 8 kB / 0.5264 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1372, allocations: 11.98 kB / 0.5264 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1372, allocations: 8 kB / 0.5264 GB, free: 11.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1373, allocations: 157.5 kB / 0.5265 GB, free: 11.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1373, allocations: 0 / 0.5265 GB, free: 11.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.1377, allocations: 51.89 kB / 0.5266 GB, free: 11.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.0001194/0.1378, allocations: 103.2 kB / 0.5267 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.138, allocations: 120.3 kB / 0.5268 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.138, allocations: 0 / 0.5268 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.1381, allocations: 47.86 kB / 0.5268 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1385, allocations: 34.09 kB / 0.5269 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007739/0.1393, allocations: 497.3 kB / 0.5273 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.1398, allocations: 0.7554 MB / 0.5281 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.1398, allocations: 19.44 kB / 0.5281 GB, free: 9.816 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1398, allocations: 0 / 0.5281 GB, free: 9.816 MB / 398.1 MB Notification: Performance of Templates: time 0.004217/0.1441, allocations: 2.206 MB / 0.5303 GB, free: 7.605 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.226328977034427] Failed to read output from testmodel.py, exit status != 0: 0.15039833402261138 0.163957657 0.034273254 Calling exit ...