Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.001689/0.001689, allocations: 120.4 kB / 18.41 MB, free: 4.684 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.001901/0.001901, allocations: 190.7 kB / 21.35 MB, free: 1.75 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.442/1.442, allocations: 222.9 MB / 247 MB, free: 4.234 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.2718/0.2718, allocations: 38.01 MB / 337.2 MB, free: 12.93 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.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 69.09 kB / 467.5 MB, free: 27.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.101, allocations: 58.07 MB / 0.5133 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007209/0.1083, allocations: 5.308 MB / 0.5185 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.1106, allocations: 1.161 MB / 0.5196 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.1108, allocations: 23.88 kB / 0.5196 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1112, allocations: 83.27 kB / 0.5197 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007125/0.1119, allocations: 310.4 kB / 0.52 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1123, allocations: 151.7 kB / 0.5201 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008355/0.1131, allocations: 0.7242 MB / 0.5208 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.1134, allocations: 188.8 kB / 0.521 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.1139, allocations: 310.7 kB / 0.5213 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.1145, allocations: 370.7 kB / 0.5217 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/0.1146, allocations: 40 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.1147, allocations: 44 kB / 0.5218 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.1149, allocations: 195.5 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.1152, allocations: 266.7 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.1159, allocations: 0.5485 MB / 0.5227 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1159, allocations: 0 / 0.5227 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1159, allocations: 0 / 0.5227 GB, free: 48 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1159, allocations: 0 / 0.5227 GB, free: 48 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001602/0.1175, allocations: 0.8498 MB / 0.5236 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1176, allocations: 11.89 kB / 0.5236 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1177, allocations: 52.61 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.1184, allocations: 460.8 kB / 0.5241 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.1185, allocations: 29.12 kB / 0.5241 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.1186, allocations: 39.94 kB / 0.5241 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/0.1194, allocations: 482.5 kB / 0.5246 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1194, allocations: 8 kB / 0.5246 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.1195, allocations: 16 kB / 0.5246 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.1196, allocations: 32.56 kB / 0.5246 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.1202, allocations: 362.7 kB / 0.525 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.1227, allocations: 1.711 MB / 0.5267 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.1234, allocations: 407.5 kB / 0.527 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.1239, allocations: 210.1 kB / 0.5272 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1239, allocations: 3.938 kB / 0.5272 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.1244, allocations: 275.6 kB / 0.5275 GB, free: 10.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.1244, allocations: 4 kB / 0.5275 GB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002494/0.1269, allocations: 1.406 MB / 0.5289 GB, free: 9.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.127, allocations: 144.5 kB / 0.529 GB, free: 9.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.1274, allocations: 373.6 kB / 0.5294 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1275, allocations: 41.69 kB / 0.5294 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1277, allocations: 256.6 kB / 0.5297 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1278, allocations: 119.1 kB / 0.5298 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.128, allocations: 82.25 kB / 0.5299 GB, free: 8.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1281, allocations: 346.8 kB / 0.5302 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.1284, allocations: 137 kB / 0.5303 GB, free: 7.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.1288, allocations: 254.2 kB / 0.5306 GB, free: 7.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.1294, allocations: 449.4 kB / 0.531 GB, free: 7.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1294, allocations: 0 / 0.531 GB, free: 7.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001008/0.1305, allocations: 0.5427 MB / 0.5315 GB, free: 6.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.1305, allocations: 37.69 kB / 0.5316 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1305, allocations: 4 kB / 0.5316 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/0.1308, allocations: 74.11 kB / 0.5316 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.1311, allocations: 75.84 kB / 0.5317 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.1339, allocations: 3.004 MB / 0.5346 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.1342, allocations: 19.98 kB / 0.5347 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.1342, allocations: 19.98 kB / 0.5347 GB, free: 2.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003141/0.1345, allocations: 247.2 kB / 0.5349 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.1346, allocations: 47.72 kB / 0.535 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.1355, allocations: 0.489 MB / 0.5354 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1356, allocations: 4 kB / 0.5354 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1356, allocations: 0 / 0.5354 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1356, allocations: 7.922 kB / 0.5354 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1372, allocations: 1.049 MB / 0.5365 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.1372, allocations: 11.97 kB / 0.5365 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1374, allocations: 43.86 kB / 0.5365 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.1377, allocations: 81.64 kB / 0.5366 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.1377, allocations: 19.98 kB / 0.5366 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.1404, allocations: 3.007 MB / 0.5396 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1405, allocations: 4.188 kB / 0.5396 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.1417, allocations: 0.7808 MB / 0.5403 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.1419, allocations: 112.9 kB / 0.5404 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.142, allocations: 11.98 kB / 0.5404 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.1422, allocations: 23.98 kB / 0.5405 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1424, allocations: 39.89 kB / 0.5405 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.1424, allocations: 19.98 kB / 0.5405 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.1427, allocations: 255.2 kB / 0.5408 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1427, allocations: 0 / 0.5408 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005168/0.1433, allocations: 112 kB / 0.5409 GB, free: 12.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001557/0.1434, allocations: 123.2 kB / 0.541 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.1444, allocations: 0.6251 MB / 0.5416 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1445, allocations: 0 / 0.5416 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007166/0.1452, allocations: 0.4899 MB / 0.5421 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.1458, allocations: 84.2 kB / 0.5422 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1475, allocations: 1.048 MB / 0.5432 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.1481, allocations: 0.8704 MB / 0.544 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.1482, allocations: 39.42 kB / 0.5441 GB, free: 8.703 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1482, allocations: 0 / 0.5441 GB, free: 8.703 MB / 414.1 MB Notification: Performance of Templates: time 0.01331/0.1615, allocations: 9.235 MB / 0.5531 GB, free: 15.48 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.626191433984786] Failed to read output from testmodel.py, exit status != 0: 0.16822576092090458 0.18200980500000002 0.06338522 Calling exit ...