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.001319/0.001319, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001499/0.001499, allocations: 157.7 kB / 24.27 MB, free: 172 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 1.484/1.484, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 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.2938/0.2938, allocations: 29.41 MB / 290.5 MB, free: 2.395 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.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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.02e-05, allocations: 2.312 kB / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.01047/0.0105, allocations: 5.126 MB / 374 MB, free: 6.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.01386, allocations: 1.114 MB / 375.1 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.01418, allocations: 19.81 kB / 375.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.01469, allocations: 99.17 kB / 375.2 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.0158, allocations: 322 kB / 375.6 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.01635, allocations: 159.6 kB / 375.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.01756, allocations: 0.7395 MB / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.01789, allocations: 121.3 kB / 376.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.01891, allocations: 438.6 kB / 377 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/0.01975, allocations: 339.1 kB / 377.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.01986, allocations: 44 kB / 377.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.02, allocations: 44 kB / 377.4 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.02038, allocations: 219.3 kB / 377.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.02073, allocations: 175.6 kB / 377.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.02176, allocations: 0.5568 MB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.02176, allocations: 0 / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02176, allocations: 0 / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.02177, allocations: 0 / 378.4 MB, free: 1.754 MB / 346.7 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.002178/0.02395, allocations: 0.7705 MB / 379.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.024, allocations: 8.031 kB / 379.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.02425, allocations: 80.61 kB / 379.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.0254, allocations: 404.9 kB / 379.6 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.02545, allocations: 29.38 kB / 379.6 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.02554, allocations: 36.38 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.02652, allocations: 0.5081 MB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.02654, allocations: 4 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.02659, allocations: 16 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.02671, allocations: 28.62 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.02744, allocations: 400.3 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.03019, allocations: 1.525 MB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.03093, allocations: 346.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/0.03154, allocations: 259.3 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.03157, allocations: 4 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000549/0.03212, allocations: 321.4 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.874e-06/0.03212, allocations: 0 / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002761/0.03488, allocations: 1.281 MB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.03501, allocations: 136.5 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.03551, allocations: 381.5 kB / 384.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.03556, allocations: 33.7 kB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.0358, allocations: 260.5 kB / 385.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.03596, allocations: 111.1 kB / 385.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.03611, allocations: 86.14 kB / 385.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.03633, allocations: 362.8 kB / 385.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.03661, allocations: 162.6 kB / 385.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.03702, allocations: 277.2 kB / 386.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.03771, allocations: 453.2 kB / 386.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.03772, allocations: 4 kB / 386.6 MB, free: 9.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001111/0.03883, allocations: 0.5799 MB / 387.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.03889, allocations: 37.69 kB / 387.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.03891, allocations: 7.938 kB / 387.2 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.03928, allocations: 85.95 kB / 387.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.03961, allocations: 79.89 kB / 387.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.04274, allocations: 2.739 MB / 390.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.04304, allocations: 24.23 kB / 390.1 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.04308, allocations: 23.98 kB / 390.1 MB, free: 5.238 MB / 362.7 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.000329/0.04341, allocations: 239.4 kB / 390.4 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/0.04351, allocations: 55.72 kB / 390.4 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.04457, allocations: 0.5376 MB / 391 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.04458, allocations: 4 kB / 391 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.04458, allocations: 0 / 391 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.04459, allocations: 11.98 kB / 391 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.04633, allocations: 0.9607 MB / 391.9 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.04633, allocations: 0 / 391.9 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.04655, allocations: 47.91 kB / 392 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.0469, allocations: 93.62 kB / 392.1 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.04694, allocations: 20.02 kB / 392.1 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.04981, allocations: 2.755 MB / 394.8 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.04981, allocations: 4.094 kB / 394.8 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.05133, allocations: 0.8587 MB / 395.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.05141, allocations: 39.75 kB / 395.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.05148, allocations: 19.94 kB / 395.8 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.05175, allocations: 19.97 kB / 395.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.05187, allocations: 31.94 kB / 395.8 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.0519, allocations: 12 kB / 395.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003281/0.05223, allocations: 263.2 kB / 396.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05223, allocations: 0 / 396.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006722/0.0529, allocations: 112.1 kB / 396.2 MB, free: 14.81 MB / 378.7 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.0001799/0.05308, allocations: 122.7 kB / 396.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.05429, allocations: 0.6763 MB / 397 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.0543, allocations: 4.125 kB / 397 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008701/0.05517, allocations: 0.502 MB / 397.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.05584, allocations: 101.8 kB / 397.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.05772, allocations: 0.9732 MB / 398.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.05806, allocations: 262.3 kB / 398.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000269/0.05833, allocations: 75.3 kB / 398.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.05845, allocations: 32.5 kB / 398.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.05845, allocations: 0 / 398.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01311/0.07156, allocations: 5.63 MB / 404.6 MB, free: 6.379 MB / 378.7 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: 4.798222540994175]