Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.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.001001/0.001001, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001195/0.001195, allocations: 165 kB / 24.56 MB, free: 20 kB / 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.9644/0.9644, allocations: 177.1 MB / 205 MB, free: 5.641 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.2829/0.2829, allocations: 29.42 MB / 290.9 MB, free: 2.516 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.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.101e-05, allocations: 6.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005802/0.005833, allocations: 5.571 MB / 375.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.009032, allocations: 2.057 MB / 377.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.009532, allocations: 27.75 kB / 377.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007628/0.01029, allocations: 214.6 kB / 377.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.01153, allocations: 0.5089 MB / 378 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.01248, allocations: 371 kB / 378.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.01364, allocations: 1.103 MB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00064/0.01428, allocations: 420.4 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.01538, allocations: 0.6546 MB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007195/0.0161, allocations: 498.7 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.01625, allocations: 84 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.01705, allocations: 0.5186 MB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.0174, allocations: 418.9 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.01772, allocations: 335.2 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.0189, allocations: 0.9384 MB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.0189, allocations: 3.984 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01891, allocations: 0 / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.01893, allocations: 4 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001839/0.02077, allocations: 1.268 MB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.02081, allocations: 11.98 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006949/0.02151, allocations: 252.1 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.02222, allocations: 0.4927 MB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/0.02228, allocations: 62.36 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.02241, allocations: 80.67 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.02346, allocations: 0.8448 MB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.02348, allocations: 0 / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.02354, allocations: 32 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.02365, allocations: 49.97 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.02436, allocations: 477.1 kB / 386.9 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003598/0.02796, allocations: 4.343 MB / 391.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.02865, allocations: 467.7 kB / 391.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.02893, allocations: 255 kB / 391.9 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.02897, allocations: 12.66 kB / 391.9 MB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005547/0.02952, allocations: 0.5157 MB / 392.4 MB, free: 3.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 2.305e-06/0.02953, allocations: 0 / 392.4 MB, free: 3.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.002618/0.03214, allocations: 1.918 MB / 394.4 MB, free: 1.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.03222, allocations: 157.4 kB / 394.5 MB, free: 1.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.03259, allocations: 0.4906 MB / 395 MB, free: 1.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.03263, allocations: 49.83 kB / 395.1 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.03285, allocations: 443.3 kB / 395.5 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.03302, allocations: 293.7 kB / 395.8 MB, free: 228 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.0332, allocations: 192.5 kB / 396 MB, free: 28 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.03337, allocations: 0.5586 MB / 396.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.03363, allocations: 196.2 kB / 396.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.03401, allocations: 0.5179 MB / 397.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.03469, allocations: 0.7553 MB / 398 MB, free: 13.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.03469, allocations: 0 / 398 MB, free: 13.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001479/0.03617, allocations: 1.1 MB / 399.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.03621, allocations: 33.7 kB / 399.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001012/0.03722, allocations: 0.7052 MB / 399.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.03827, allocations: 407.2 kB / 400.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.03852, allocations: 131.8 kB / 400.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.04194, allocations: 3.553 MB / 403.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.04226, allocations: 51.97 kB / 403.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.04231, allocations: 39.98 kB / 404 MB, free: 7.551 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0002474/0.04256, allocations: 266 kB / 404.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.0427, allocations: 115.4 kB / 404.4 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008765/0.04357, allocations: 0.8278 MB / 405.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.04359, allocations: 16 kB / 405.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.04359, allocations: 0 / 405.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.0436, allocations: 11.86 kB / 405.2 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.04535, allocations: 1.56 MB / 406.8 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.04535, allocations: 0 / 406.8 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.04569, allocations: 119.8 kB / 406.9 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.04586, allocations: 99.06 kB / 407 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.0459, allocations: 23.91 kB / 407 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.04797, allocations: 5.18 MB / 412.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.04797, allocations: 0 / 412.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.04934, allocations: 1.243 MB / 413.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.04944, allocations: 75.45 kB / 413.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.04951, allocations: 27.98 kB / 413.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.04972, allocations: 31.97 kB / 413.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.04987, allocations: 84.84 kB / 413.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.04991, allocations: 31.98 kB / 413.7 MB, free: 13.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002418/0.05015, allocations: 307 kB / 414 MB, free: 12.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05015, allocations: 4.031 kB / 414 MB, free: 12.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007006/0.05086, allocations: 256 kB / 414.2 MB, free: 12.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_a.closed,breaker.breaker_b.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.0002305/0.05109, allocations: 146.1 kB / 414.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.05249, allocations: 1.096 MB / 415.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.05249, allocations: 3.938 kB / 415.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006769/0.05317, allocations: 0.912 MB / 416.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.05365, allocations: 137.9 kB / 416.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.05597, allocations: 1.545 MB / 418.1 MB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.05615, allocations: 224.5 kB / 418.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.05644, allocations: 161.8 kB / 418.4 MB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.05659, allocations: 64.48 kB / 418.5 MB, free: 8.258 MB / 394.7 MB Notification: Performance of SimCode: time 1.283e-06/0.05659, allocations: 0 / 418.5 MB, free: 8.258 MB / 394.7 MB Notification: Performance of Templates: time 0.01701/0.0736, allocations: 12.78 MB / 431.3 MB, free: 11.61 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.433046202175319]