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.001876/0.001876, allocations: 84.39 kB / 20.68 MB, free: 1.023 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.002359/0.002359, allocations: 162.8 kB / 23.95 MB, free: 4.156 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.586/1.586, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.1788/0.1788, allocations: 29.44 MB / 290.1 MB, free: 3.27 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.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.613e-06/1.613e-06, allocations: 0 / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.588e-05, allocations: 5.656 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.00768/0.007706, allocations: 5.884 MB / 436.6 MB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.01147, allocations: 1.978 MB / 438.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004675/0.01193, allocations: 27.75 kB / 438.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.01372, allocations: 0.517 MB / 439.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.01514, allocations: 0.5128 MB / 439.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009726/0.01611, allocations: 375 kB / 440 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.01755, allocations: 1.099 MB / 441.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006468/0.0182, allocations: 416.4 kB / 441.5 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.01908, allocations: 0.6272 MB / 442.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.01989, allocations: 0.5104 MB / 442.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.02003, allocations: 88 kB / 442.7 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/0.02096, allocations: 0.5107 MB / 443.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005149/0.02148, allocations: 410.9 kB / 443.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.02191, allocations: 335.2 kB / 444 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.02342, allocations: 1.285 MB / 445.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.02343, allocations: 3.938 kB / 445.3 MB, free: 3.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02343, allocations: 0 / 445.3 MB, free: 3.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.02344, allocations: 0 / 445.3 MB, free: 3.309 MB / 366.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.002614/0.02606, allocations: 1.192 MB / 446.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.02611, allocations: 11.98 kB / 446.5 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.02709, allocations: 168.2 kB / 446.6 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.02818, allocations: 0.5192 MB / 447.1 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.426e-05/0.02825, allocations: 62.36 kB / 447.2 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.02847, allocations: 84.73 kB / 447.3 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.03034, allocations: 1.117 MB / 448.4 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.03037, allocations: 7.938 kB / 448.4 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2032/0.2336, allocations: 41 kB / 448.5 MB, free: 30.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.2338, allocations: 45.73 kB / 448.5 MB, free: 30.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.2355, allocations: 0.9691 MB / 449.5 MB, free: 30.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.2401, allocations: 3.827 MB / 453.3 MB, free: 27.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2412, allocations: 0.6835 MB / 454 MB, free: 27.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.2418, allocations: 439 kB / 454.4 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.2418, allocations: 17.08 kB / 454.4 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009115/0.2427, allocations: 0.6688 MB / 455.1 MB, free: 26.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.835e-06/0.2427, allocations: 3.531 kB / 455.1 MB, free: 26.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.004377/0.2471, allocations: 2.726 MB / 457.8 MB, free: 25.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.2472, allocations: 159.9 kB / 458 MB, free: 25.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.2477, allocations: 485.5 kB / 458.5 MB, free: 24.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.2478, allocations: 49.7 kB / 458.5 MB, free: 24.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.248, allocations: 396.3 kB / 458.9 MB, free: 24.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.2482, allocations: 293.4 kB / 459.2 MB, free: 24.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.2485, allocations: 180.7 kB / 459.4 MB, free: 24.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2486, allocations: 379.3 kB / 459.7 MB, free: 24.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.2492, allocations: 420.2 kB / 460.1 MB, free: 23.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.25, allocations: 0.6443 MB / 460.8 MB, free: 23.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.2513, allocations: 1.079 MB / 461.9 MB, free: 22.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2513, allocations: 2.156 kB / 461.9 MB, free: 22.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003093/0.2544, allocations: 1.539 MB / 463.4 MB, free: 22.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.2545, allocations: 34.62 kB / 463.4 MB, free: 22.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002363/0.2568, allocations: 1.147 MB / 464.6 MB, free: 21.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.2583, allocations: 442.1 kB / 465 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.2587, allocations: 124.3 kB / 465.1 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/0.2662, allocations: 4.956 MB / 470.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.267, allocations: 57.92 kB / 470.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/0.2671, allocations: 39.92 kB / 470.2 MB, free: 18.92 MB / 366.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.0005081/0.2676, allocations: 351.8 kB / 470.5 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.2678, allocations: 78.2 kB / 470.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.2698, allocations: 1.168 MB / 471.8 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.2699, allocations: 14.8 kB / 471.8 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2699, allocations: 5.062 kB / 471.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.2699, allocations: 11.75 kB / 471.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.2733, allocations: 1.951 MB / 473.8 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.2733, allocations: 1.375 kB / 473.8 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.274, allocations: 121.4 kB / 473.9 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/0.2741, allocations: 92.92 kB / 474 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.2742, allocations: 18.88 kB / 474 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.2762, allocations: 3.854 MB / 477.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2762, allocations: 0 / 477.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.2785, allocations: 1.839 MB / 479.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.2787, allocations: 68.27 kB / 479.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.2788, allocations: 24.27 kB / 479.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.2793, allocations: 51.95 kB / 479.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.2795, allocations: 88.78 kB / 479.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.2795, allocations: 31.92 kB / 479.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.2798, allocations: 323.1 kB / 480.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2798, allocations: 0 / 480.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009255/0.2807, allocations: 255.9 kB / 480.5 MB, free: 11.07 MB / 366.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.0002324/0.281, allocations: 158.6 kB / 480.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.2829, allocations: 1.376 MB / 482 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2829, allocations: 0 / 482 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.2838, allocations: 0.9252 MB / 483 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.2845, allocations: 105.9 kB / 483.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.2872, allocations: 1.768 MB / 484.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2875, allocations: 438.5 kB / 485.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.288, allocations: 193.8 kB / 485.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.2882, allocations: 64.48 kB / 485.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.2882, allocations: 0 / 485.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of Templates: time 0.0217/0.3099, allocations: 12.06 MB / 497.6 MB, free: 9.988 MB / 382.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.462023943662643] Failed to read output from testmodel.py, exit status != 0: 0.31961268931627274 0.33567635900000004 0.308762237 Calling exit ...