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.001023/0.001023, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001068/0.001068, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9403/0.9403, allocations: 177.1 MB / 206 MB, free: 4.504 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.1362/0.1362, allocations: 29.41 MB / 292 MB, free: 2.656 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.403e-06/1.403e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.269e-05, allocations: 3.875 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.003924/0.003936, allocations: 5.525 MB / 376.4 MB, free: 26.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.00601, allocations: 2.049 MB / 378.4 MB, free: 24.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.006248, allocations: 27.75 kB / 378.5 MB, free: 24.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.006746, allocations: 202.7 kB / 378.7 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006605/0.007406, allocations: 0.5088 MB / 379.2 MB, free: 24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.0079, allocations: 375 kB / 379.5 MB, free: 23.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.008484, allocations: 1.099 MB / 380.6 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.008873, allocations: 424.4 kB / 381.1 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.009576, allocations: 0.6547 MB / 381.7 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004435/0.01002, allocations: 0.4987 MB / 382.2 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.819e-05/0.0101, allocations: 84 kB / 382.3 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.01056, allocations: 0.5107 MB / 382.8 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.01077, allocations: 422.9 kB / 383.2 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.01097, allocations: 335.2 kB / 383.5 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006639/0.01164, allocations: 0.9424 MB / 384.5 MB, free: 18.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01164, allocations: 0 / 384.5 MB, free: 18.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01164, allocations: 0 / 384.5 MB, free: 18.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.01166, allocations: 4 kB / 384.5 MB, free: 18.66 MB / 314.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.001434/0.0131, allocations: 1.237 MB / 385.7 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.01313, allocations: 12.03 kB / 385.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.01369, allocations: 220.2 kB / 386 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.01414, allocations: 476.6 kB / 386.4 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.01418, allocations: 54.38 kB / 386.5 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.01431, allocations: 88.66 kB / 386.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.01496, allocations: 0.7721 MB / 387.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.01498, allocations: 3.953 kB / 387.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.01503, allocations: 32 kB / 387.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.118e-05/0.01511, allocations: 49.97 kB / 387.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.01555, allocations: 387.1 kB / 387.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.01799, allocations: 4.288 MB / 392.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.01844, allocations: 418.5 kB / 392.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.01862, allocations: 209.2 kB / 392.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.01865, allocations: 12.66 kB / 392.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003594/0.01901, allocations: 488 kB / 393.2 MB, free: 9.539 MB / 314.7 MB Notification: Performance of pre-optimization done (n=92): time 1.924e-06/0.01901, allocations: 0 / 393.2 MB, free: 9.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=93): time 0.001638/0.02065, allocations: 1.529 MB / 394.7 MB, free: 7.934 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.02069, allocations: 153.4 kB / 394.9 MB, free: 7.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.02093, allocations: 486.2 kB / 395.3 MB, free: 7.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.02097, allocations: 53.64 kB / 395.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.0211, allocations: 443.5 kB / 395.8 MB, free: 6.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.02122, allocations: 301.6 kB / 396.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.02137, allocations: 192.5 kB / 396.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.02145, allocations: 0.5701 MB / 396.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.02161, allocations: 156.2 kB / 397 MB, free: 5.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.02184, allocations: 494.2 kB / 397.5 MB, free: 4.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.02225, allocations: 0.6927 MB / 398.2 MB, free: 4.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.02226, allocations: 4 kB / 398.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001095/0.02335, allocations: 0.9637 MB / 399.2 MB, free: 3.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.02338, allocations: 39.89 kB / 399.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007682/0.02415, allocations: 0.5998 MB / 399.8 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009546/0.0251, allocations: 385.4 kB / 400.2 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.02533, allocations: 127.8 kB / 400.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.02831, allocations: 3.35 MB / 403.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.02857, allocations: 39.94 kB / 403.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.02862, allocations: 36 kB / 403.7 MB, free: 14.4 MB / 330.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.0002334/0.02885, allocations: 278 kB / 404 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.02898, allocations: 99.58 kB / 404.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000794/0.02977, allocations: 0.7301 MB / 404.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.02979, allocations: 24 kB / 404.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.0298, allocations: 0 / 404.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.0298, allocations: 3.984 kB / 404.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.03128, allocations: 1.377 MB / 406.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.03128, allocations: 0 / 406.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.03158, allocations: 99.83 kB / 406.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.03173, allocations: 103 kB / 406.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.03177, allocations: 19.98 kB / 406.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.03371, allocations: 5.111 MB / 411.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03371, allocations: 320 / 411.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.03476, allocations: 1.114 MB / 412.7 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.03482, allocations: 67.56 kB / 412.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.03488, allocations: 23.94 kB / 412.8 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.03507, allocations: 23.98 kB / 412.8 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.0352, allocations: 84.84 kB / 412.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.03523, allocations: 20 kB / 412.9 MB, free: 4.695 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.0354, allocations: 291 kB / 413.2 MB, free: 4.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.0354, allocations: 0 / 413.2 MB, free: 4.414 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000548/0.03595, allocations: 255.9 kB / 413.4 MB, free: 4.164 MB / 330.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.0001875/0.03614, allocations: 153.7 kB / 413.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.03718, allocations: 0.987 MB / 414.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.03718, allocations: 0 / 414.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.03775, allocations: 0.8651 MB / 415.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.03822, allocations: 129.1 kB / 415.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.04021, allocations: 1.535 MB / 417.1 MB, free: 336 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.04037, allocations: 228.5 kB / 417.3 MB, free: 88 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.04058, allocations: 85.88 kB / 417.4 MB, free: 0 / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.04088, allocations: 218.1 kB / 417.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.04088, allocations: 0 / 417.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of Templates: time 0.0154/0.05628, allocations: 13.4 MB / 431 MB, free: 2.539 MB / 346.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.33324624504894]