Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.001418/0.001424, allocations: 116.9 kB / 18.41 MB, free: 4.664 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.001322/0.001322, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.484/1.484, allocations: 222.9 MB / 247 MB, free: 4.207 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.2931/0.2931, allocations: 38 MB / 337.2 MB, free: 12.91 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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 65.38 kB / 467.5 MB, free: 27.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1079, allocations: 58.07 MB / 0.5133 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.006868/0.1148, allocations: 5.172 MB / 0.5183 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.1179, allocations: 1.76 MB / 0.52 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.1183, allocations: 19.88 kB / 0.5201 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1196, allocations: 438 kB / 0.5205 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.1203, allocations: 302.4 kB / 0.5208 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.1212, allocations: 351.2 kB / 0.5211 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009039/0.1222, allocations: 0.7598 MB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005599/0.1227, allocations: 378.1 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00046/0.1232, allocations: 334.7 kB / 0.5225 GB, free: 200 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006739/0.1239, allocations: 454.7 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.182e-05/0.124, allocations: 48 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.1244, allocations: 175.7 kB / 0.5232 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.1247, allocations: 287.3 kB / 0.5234 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.1251, allocations: 338.3 kB / 0.5238 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009773/0.126, allocations: 0.8171 MB / 0.5246 GB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1261, allocations: 0 / 0.5246 GB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1261, allocations: 0 / 0.5246 GB, free: 14.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1261, allocations: 0 / 0.5246 GB, free: 14.1 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001781/0.1279, allocations: 0.9324 MB / 0.5255 GB, free: 13.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1279, allocations: 15.88 kB / 0.5255 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.129, allocations: 140.4 kB / 0.5256 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/0.13, allocations: 0.5435 MB / 0.5262 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.13, allocations: 37.12 kB / 0.5262 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.1304, allocations: 127.9 kB / 0.5263 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.1317, allocations: 0.8614 MB / 0.5272 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.1318, allocations: 7.922 kB / 0.5272 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.1318, allocations: 28 kB / 0.5272 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004731/0.1323, allocations: 72.88 kB / 0.5273 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1334, allocations: 0.6166 MB / 0.5279 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.1382, allocations: 3.785 MB / 0.5316 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1394, allocations: 0.5421 MB / 0.5321 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.1399, allocations: 319 kB / 0.5324 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.14, allocations: 16.41 kB / 0.5324 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.14, allocations: 42.94 kB / 0.5324 GB, free: 5.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.484e-06/0.14, allocations: 0 / 0.5324 GB, free: 5.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003326/0.1434, allocations: 1.845 MB / 0.5343 GB, free: 3.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.1435, allocations: 85.67 kB / 0.5343 GB, free: 3.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.1439, allocations: 417.8 kB / 0.5347 GB, free: 3.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.144, allocations: 37.7 kB / 0.5348 GB, free: 3.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.1443, allocations: 332.5 kB / 0.5351 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1445, allocations: 210.3 kB / 0.5353 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.1447, allocations: 146.3 kB / 0.5354 GB, free: 2.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1449, allocations: 374.7 kB / 0.5358 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.1455, allocations: 377.5 kB / 0.5361 GB, free: 1.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.1463, allocations: 0.6057 MB / 0.5367 GB, free: 1.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.1478, allocations: 1.068 MB / 0.5378 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.1478, allocations: 4 kB / 0.5378 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004805/0.1526, allocations: 2.003 MB / 0.5397 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1527, allocations: 8 kB / 0.5397 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.1527, allocations: 8 kB / 0.5398 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/0.1553, allocations: 0.9616 MB / 0.5407 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.1558, allocations: 131.7 kB / 0.5408 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.1676, allocations: 8.19 MB / 0.5488 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.1682, allocations: 35.97 kB / 0.5488 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.1683, allocations: 40.2 kB / 0.5489 GB, free: 4.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003519/0.1686, allocations: 249.5 kB / 0.5491 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1688, allocations: 51.67 kB / 0.5492 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.1701, allocations: 0.7257 MB / 0.5499 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1701, allocations: 7.938 kB / 0.5499 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1701, allocations: 4 kB / 0.5499 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1701, allocations: 7.984 kB / 0.5499 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.1728, allocations: 1.517 MB / 0.5514 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1728, allocations: 0 / 0.5514 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.1739, allocations: 183.8 kB / 0.5516 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.174, allocations: 7.938 kB / 0.5516 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/0.174, allocations: 31.92 kB / 0.5516 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.174, allocations: 4 kB / 0.5516 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.174, allocations: 7.922 kB / 0.5516 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.1756, allocations: 0.9946 MB / 0.5526 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1757, allocations: 128.7 kB / 0.5527 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.1758, allocations: 31.92 kB / 0.5527 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.1762, allocations: 27.97 kB / 0.5528 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.1763, allocations: 36.39 kB / 0.5528 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.1763, allocations: 8 kB / 0.5528 GB, free: 92 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003542/0.1767, allocations: 287.2 kB / 0.5531 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1767, allocations: 0 / 0.5531 GB, free: 15.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008549/0.1776, allocations: 212 kB / 0.5533 GB, free: 15.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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.0001759/0.1777, allocations: 127.2 kB / 0.5534 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002805/0.1806, allocations: 1.476 MB / 0.5548 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1806, allocations: 0 / 0.5548 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.1811, allocations: 310.3 kB / 0.5551 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.1818, allocations: 132.4 kB / 0.5553 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.1863, allocations: 2.778 MB / 0.558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.187, allocations: 0.9843 MB / 0.5589 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.1873, allocations: 47.44 kB / 0.559 GB, free: 9.648 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1873, allocations: 0 / 0.559 GB, free: 9.648 MB / 430.1 MB Notification: Performance of Templates: time 0.01671/0.204, allocations: 11 MB / 0.5697 GB, free: 14.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.435457826941274] Failed to read output from testmodel.py, exit status != 0: 0.21107074292376637 0.225525889 0.09661987600000001 Calling exit ...