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.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.00204/0.00204, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002394/0.002394, allocations: 217.1 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.648/1.648, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.2036/0.2036, allocations: 38.56 MB / 352.5 MB, free: 12.29 MB / 286.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.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 68.17 kB / 493 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3719, allocations: 62.47 MB / 0.5424 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007783/0.3797, allocations: 5.133 MB / 0.5474 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.3823, allocations: 1.113 MB / 0.5485 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.3826, allocations: 24.62 kB / 0.5486 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004384/0.383, allocations: 96.61 kB / 0.5486 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000832/0.3839, allocations: 319.5 kB / 0.549 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.3843, allocations: 146.9 kB / 0.5491 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009719/0.3852, allocations: 0.7249 MB / 0.5498 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.3856, allocations: 128.3 kB / 0.5499 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.3862, allocations: 334.9 kB / 0.5502 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006386/0.3868, allocations: 373.7 kB / 0.5506 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.663e-05/0.3869, allocations: 39.84 kB / 0.5506 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.387, allocations: 41.44 kB / 0.5507 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.3873, allocations: 201.2 kB / 0.5509 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.3876, allocations: 225.4 kB / 0.5511 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000748/0.3883, allocations: 0.5553 MB / 0.5516 GB, free: 9.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3883, allocations: 0 / 0.5516 GB, free: 9.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3883, allocations: 0 / 0.5516 GB, free: 9.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.3884, allocations: 1.156 kB / 0.5516 GB, free: 9.621 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001889/0.3902, allocations: 0.7684 MB / 0.5524 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3903, allocations: 13.48 kB / 0.5524 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.3904, allocations: 62.44 kB / 0.5524 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008395/0.3913, allocations: 379.8 kB / 0.5528 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.3913, allocations: 36.55 kB / 0.5528 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/0.3914, allocations: 36.84 kB / 0.5529 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00089/0.3923, allocations: 0.505 MB / 0.5534 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3923, allocations: 0 / 0.5534 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.3923, allocations: 21.06 kB / 0.5534 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.3925, allocations: 29.62 kB / 0.5534 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.3932, allocations: 394.6 kB / 0.5538 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.3958, allocations: 1.528 MB / 0.5553 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.3965, allocations: 346.4 kB / 0.5556 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.397, allocations: 215.4 kB / 0.5558 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.397, allocations: 8 kB / 0.5558 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006002/0.3976, allocations: 309.4 kB / 0.5561 GB, free: 5.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.395e-06/0.3976, allocations: 0 / 0.5561 GB, free: 5.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002836/0.4005, allocations: 1.258 MB / 0.5574 GB, free: 4.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.4006, allocations: 148.4 kB / 0.5575 GB, free: 4.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.4011, allocations: 385.5 kB / 0.5579 GB, free: 4.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.4011, allocations: 33.7 kB / 0.5579 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.4014, allocations: 256.6 kB / 0.5581 GB, free: 3.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.4015, allocations: 115.1 kB / 0.5583 GB, free: 3.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4016, allocations: 78.19 kB / 0.5583 GB, free: 3.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4018, allocations: 358.8 kB / 0.5587 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.4021, allocations: 150.6 kB / 0.5588 GB, free: 3.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.4025, allocations: 285.2 kB / 0.5591 GB, free: 2.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.4031, allocations: 453.2 kB / 0.5595 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4031, allocations: 0 / 0.5595 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009624/0.4041, allocations: 0.5644 MB / 0.5601 GB, free: 1.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.4041, allocations: 33.7 kB / 0.5601 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.4041, allocations: 4 kB / 0.5601 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.4044, allocations: 77.67 kB / 0.5602 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.4047, allocations: 71.84 kB / 0.5602 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.4072, allocations: 2.751 MB / 0.5629 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.4075, allocations: 27.92 kB / 0.563 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.4076, allocations: 16 kB / 0.563 GB, free: 14.39 MB / 414.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.0003319/0.4079, allocations: 239.6 kB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.408, allocations: 51.66 kB / 0.5633 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4091, allocations: 0.5294 MB / 0.5638 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4091, allocations: 4 kB / 0.5638 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4091, allocations: 7.938 kB / 0.5638 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4091, allocations: 3.984 kB / 0.5638 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.411, allocations: 0.9532 MB / 0.5647 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.411, allocations: 0 / 0.5647 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.4112, allocations: 43.95 kB / 0.5648 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.4114, allocations: 89.58 kB / 0.5648 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.4115, allocations: 15.92 kB / 0.5649 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.4142, allocations: 2.755 MB / 0.5675 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4142, allocations: 0 / 0.5675 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.4156, allocations: 0.847 MB / 0.5684 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.4157, allocations: 35.78 kB / 0.5684 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.4157, allocations: 16 kB / 0.5684 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.416, allocations: 24.19 kB / 0.5684 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4161, allocations: 35.88 kB / 0.5685 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4161, allocations: 12 kB / 0.5685 GB, free: 8.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003436/0.4165, allocations: 263.2 kB / 0.5687 GB, free: 8.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4165, allocations: 0 / 0.5687 GB, free: 8.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006071/0.4171, allocations: 112 kB / 0.5689 GB, free: 8.023 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.0001814/0.4173, allocations: 115.7 kB / 0.569 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4184, allocations: 0.6752 MB / 0.5696 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4184, allocations: 0 / 0.5696 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.4192, allocations: 0.4954 MB / 0.5701 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.4198, allocations: 101.8 kB / 0.5702 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.4219, allocations: 1.034 MB / 0.5712 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.4222, allocations: 262.3 kB / 0.5715 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.4224, allocations: 71.34 kB / 0.5715 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.4225, allocations: 39.38 kB / 0.5716 GB, free: 5.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4225, allocations: 0 / 0.5716 GB, free: 5.07 MB / 414.1 MB Notification: Performance of Templates: time 0.01352/0.4361, allocations: 6.152 MB / 0.5776 GB, free: 15 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: 5.600509950891137] Failed to read output from testmodel.py, exit status != 0: 0.4465465843677521 0.463106894 0.07083405000000001 Calling exit ...