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.001425/0.001425, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001623/0.001623, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1851/0.1851, allocations: 38.55 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.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: 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.002125/0.002125, allocations: 74.39 kB / 493 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3396, allocations: 62.46 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.009932/0.3495, allocations: 5.899 MB / 0.5482 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004451/0.354, allocations: 1.981 MB / 0.5501 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.3545, allocations: 23.66 kB / 0.5502 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.3561, allocations: 0.5189 MB / 0.5507 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.3577, allocations: 0.4993 MB / 0.5511 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3587, allocations: 365.9 kB / 0.5515 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3601, allocations: 1.073 MB / 0.5525 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.3608, allocations: 416.1 kB / 0.5529 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.3616, allocations: 484.6 kB / 0.5534 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008384/0.3624, allocations: 0.5498 MB / 0.5539 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.3625, allocations: 89.2 kB / 0.554 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009567/0.3635, allocations: 0.5072 MB / 0.5545 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.364, allocations: 402 kB / 0.5549 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.3645, allocations: 401.1 kB / 0.5553 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.3661, allocations: 1.242 MB / 0.5565 GB, free: 5.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3661, allocations: 3.938 kB / 0.5565 GB, free: 5.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3661, allocations: 0 / 0.5565 GB, free: 5.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.3661, allocations: 0 / 0.5565 GB, free: 5.758 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002591/0.3687, allocations: 1.184 MB / 0.5577 GB, free: 4.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3688, allocations: 11.98 kB / 0.5577 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000885/0.3697, allocations: 180.2 kB / 0.5578 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.3708, allocations: 0.5122 MB / 0.5583 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.3709, allocations: 58.38 kB / 0.5584 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.3711, allocations: 88.11 kB / 0.5585 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.3729, allocations: 1.117 MB / 0.5596 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.3729, allocations: 11.88 kB / 0.5596 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.373, allocations: 35.98 kB / 0.5596 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.3731, allocations: 45.98 kB / 0.5597 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.3748, allocations: 0.9735 MB / 0.5606 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005573/0.3804, allocations: 3.821 MB / 0.5643 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.3816, allocations: 0.6878 MB / 0.565 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.3823, allocations: 441.2 kB / 0.5654 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.958e-05/0.3824, allocations: 12.64 kB / 0.5654 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.3835, allocations: 0.6766 MB / 0.5661 GB, free: 11.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.705e-06/0.3835, allocations: 3.938 kB / 0.5661 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.00495/0.3884, allocations: 2.722 MB / 0.5688 GB, free: 8.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.3885, allocations: 157.4 kB / 0.5689 GB, free: 8.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.3892, allocations: 485.7 kB / 0.5694 GB, free: 8.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.367e-05/0.3892, allocations: 45.7 kB / 0.5694 GB, free: 8.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.3896, allocations: 400.7 kB / 0.5698 GB, free: 7.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.3899, allocations: 301.6 kB / 0.5701 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.3902, allocations: 178.9 kB / 0.5703 GB, free: 7.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.3904, allocations: 382.8 kB / 0.5706 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.3911, allocations: 420.1 kB / 0.571 GB, free: 6.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/0.392, allocations: 0.6458 MB / 0.5717 GB, free: 5.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.3936, allocations: 1.071 MB / 0.5727 GB, free: 4.441 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3936, allocations: 4 kB / 0.5727 GB, free: 4.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003324/0.3969, allocations: 1.531 MB / 0.5742 GB, free: 2.887 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.397, allocations: 41.69 kB / 0.5742 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002498/0.3995, allocations: 1.151 MB / 0.5754 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.4008, allocations: 428.5 kB / 0.5758 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.4013, allocations: 119.8 kB / 0.5759 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008132/0.4095, allocations: 4.974 MB / 0.5808 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/0.4102, allocations: 59.94 kB / 0.5808 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.4103, allocations: 40 kB / 0.5808 GB, free: 11.97 MB / 430.1 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.0006889/0.411, allocations: 355.7 kB / 0.5812 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.4112, allocations: 75.53 kB / 0.5813 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.4134, allocations: 1.167 MB / 0.5824 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/0.4135, allocations: 19.94 kB / 0.5824 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4135, allocations: 4 kB / 0.5824 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4135, allocations: 3.984 kB / 0.5824 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.4171, allocations: 1.945 MB / 0.5843 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4171, allocations: 0 / 0.5843 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.4177, allocations: 123.8 kB / 0.5844 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.4178, allocations: 86.61 kB / 0.5845 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.4179, allocations: 23.98 kB / 0.5845 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.4212, allocations: 3.835 MB / 0.5883 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.4212, allocations: 8.031 kB / 0.5883 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.4242, allocations: 1.847 MB / 0.5901 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.4244, allocations: 67.56 kB / 0.5902 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.4245, allocations: 23.98 kB / 0.5902 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.425, allocations: 47.95 kB / 0.5902 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.4252, allocations: 92.72 kB / 0.5903 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.4253, allocations: 32.11 kB / 0.5904 GB, free: 1.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000416/0.4257, allocations: 319.1 kB / 0.5907 GB, free: 1.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4257, allocations: 4 kB / 0.5907 GB, free: 1.434 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001019/0.4267, allocations: 252 kB / 0.5909 GB, free: 1.188 MB / 430.1 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.000299/0.427, allocations: 161.7 kB / 0.5911 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.4296, allocations: 1.372 MB / 0.5924 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4296, allocations: 0 / 0.5924 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4308, allocations: 0.9205 MB / 0.5933 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.4316, allocations: 129.3 kB / 0.5934 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.4349, allocations: 1.865 MB / 0.5952 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.4354, allocations: 430.5 kB / 0.5957 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005523/0.436, allocations: 193.8 kB / 0.5958 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.4362, allocations: 59.42 kB / 0.5959 GB, free: 11.9 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4362, allocations: 0 / 0.5959 GB, free: 11.9 MB / 446.1 MB Notification: Performance of Templates: time 0.02421/0.4604, allocations: 13.01 MB / 0.6086 GB, free: 15.01 MB / 462.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.728783780708909] Failed to read output from testmodel.py, exit status != 0: 0.4693198297172785 0.484694844 0.11486605800000001 Calling exit ...