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.0008926/0.0008926, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004494/0.004494, allocations: 165.3 kB / 24.7 MB, free: 9.426 MB / 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.869/0.869, allocations: 177.2 MB / 205 MB, free: 5.719 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.2115/0.2115, allocations: 29.41 MB / 290.8 MB, free: 2.434 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.433e-06/1.433e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.272e-05, allocations: 8.047 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005089/0.005121, allocations: 5.876 MB / 437.4 MB, free: 7.164 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.008021, allocations: 1.982 MB / 439.3 MB, free: 5.176 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.008387, allocations: 27.81 kB / 439.4 MB, free: 5.148 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.00932, allocations: 0.5131 MB / 439.9 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.01033, allocations: 0.5167 MB / 440.4 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.01105, allocations: 375 kB / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.01208, allocations: 1.099 MB / 441.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005938/0.01268, allocations: 420.4 kB / 442.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008225/0.0135, allocations: 0.6272 MB / 442.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.0141, allocations: 0.5104 MB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/0.0142, allocations: 88 kB / 443.5 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000655/0.01486, allocations: 0.5069 MB / 444 MB, free: 500 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.01515, allocations: 414.9 kB / 444.4 MB, free: 84 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1743/0.1895, allocations: 333.2 kB / 444.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1906, allocations: 1.296 MB / 446 MB, free: 45.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1906, allocations: 0 / 446 MB, free: 45.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1906, allocations: 0 / 446 MB, free: 45.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1906, allocations: 3.344 kB / 446 MB, free: 45.41 MB / 410.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.001534/0.1922, allocations: 1.179 MB / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1922, allocations: 12.52 kB / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005552/0.1928, allocations: 174.2 kB / 447.4 MB, free: 44.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.1934, allocations: 0.5147 MB / 447.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.1934, allocations: 58.5 kB / 448 MB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.1935, allocations: 84.42 kB / 448 MB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.1945, allocations: 1.128 MB / 449.2 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1945, allocations: 7.219 kB / 449.2 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.1946, allocations: 28.62 kB / 449.2 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/0.1946, allocations: 48.16 kB / 449.3 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008634/0.1955, allocations: 0.969 MB / 450.2 MB, free: 44.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.1983, allocations: 3.84 MB / 454.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.199, allocations: 0.6822 MB / 454.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.1994, allocations: 433.9 kB / 455.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.1994, allocations: 13.75 kB / 455.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/0.2, allocations: 0.6798 MB / 455.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 3.487e-06/0.2, allocations: 0.6562 kB / 455.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.002711/0.2027, allocations: 2.719 MB / 458.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2027, allocations: 153.6 kB / 458.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.2031, allocations: 496.9 kB / 459.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.2031, allocations: 49.41 kB / 459.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2032, allocations: 388.4 kB / 459.6 MB, free: 39.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2033, allocations: 289.4 kB / 459.9 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.2035, allocations: 182.9 kB / 460.1 MB, free: 39.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.2035, allocations: 388.9 kB / 460.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.2039, allocations: 414.1 kB / 460.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.2043, allocations: 0.6452 MB / 461.5 MB, free: 38.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.2051, allocations: 1.087 MB / 462.6 MB, free: 37.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2051, allocations: 0 / 462.6 MB, free: 37.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0016/0.2067, allocations: 1.538 MB / 464.2 MB, free: 37.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.2068, allocations: 36.72 kB / 464.2 MB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001214/0.208, allocations: 1.147 MB / 465.3 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007306/0.2087, allocations: 432.5 kB / 465.8 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.2089, allocations: 127.3 kB / 465.9 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/0.2132, allocations: 4.959 MB / 470.9 MB, free: 33.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.2137, allocations: 66.16 kB / 470.9 MB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.2137, allocations: 37.06 kB / 471 MB, free: 33.8 MB / 410.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.0003654/0.2141, allocations: 343 kB / 471.3 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.2142, allocations: 73.47 kB / 471.4 MB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.2152, allocations: 1.17 MB / 472.5 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.2152, allocations: 26.69 kB / 472.6 MB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2153, allocations: 0 / 472.6 MB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.2153, allocations: 9.953 kB / 472.6 MB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.2171, allocations: 1.943 MB / 474.5 MB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2171, allocations: 0 / 474.5 MB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.2174, allocations: 119.3 kB / 474.6 MB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.2175, allocations: 91.39 kB / 474.7 MB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.2175, allocations: 20.97 kB / 474.7 MB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.2187, allocations: 3.838 MB / 478.6 MB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2187, allocations: 3.938 kB / 478.6 MB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.2201, allocations: 1.849 MB / 480.4 MB, free: 27.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.2202, allocations: 65.91 kB / 480.5 MB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.2203, allocations: 32.58 kB / 480.5 MB, free: 27.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.2205, allocations: 44.64 kB / 480.6 MB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.2206, allocations: 89.88 kB / 480.7 MB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.2207, allocations: 29.38 kB / 480.7 MB, free: 27.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002142/0.2209, allocations: 320.8 kB / 481 MB, free: 27.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2209, allocations: 0 / 481 MB, free: 27.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000637/0.2215, allocations: 255.2 kB / 481.2 MB, free: 27.16 MB / 410.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.0002009/0.2217, allocations: 165.1 kB / 481.4 MB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.2231, allocations: 1.372 MB / 482.8 MB, free: 26.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2231, allocations: 0.6875 kB / 482.8 MB, free: 26.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006461/0.2238, allocations: 0.9142 MB / 483.7 MB, free: 25.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.2242, allocations: 125.6 kB / 483.8 MB, free: 25.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.2263, allocations: 1.835 MB / 485.6 MB, free: 24.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.2266, allocations: 435.2 kB / 486.1 MB, free: 24.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.2267, allocations: 66.61 kB / 486.1 MB, free: 24.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.744e-06/0.2267, allocations: 1.062 kB / 486.1 MB, free: 24.76 MB / 410.7 MB Notification: Performance of Templates: time 0.02032/0.2471, allocations: 17.07 MB / 0.4914 GB, free: 22.17 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.385753773152828] Failed to read output from testmodel.py, exit status != 0: 0.25345342233777046 0.259519278 0.067406963 Calling exit ...