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.001002/0.001002, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009938/0.0009938, allocations: 165 kB / 24.56 MB, free: 16 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 0.9596/0.9596, allocations: 177.1 MB / 205 MB, free: 5.191 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.2698/0.2698, allocations: 29.42 MB / 290.9 MB, free: 2.465 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.683e-06/1.683e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.94e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.006792/0.006822, allocations: 5.578 MB / 375.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.009774, allocations: 2.057 MB / 377.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003729/0.01015, allocations: 23.81 kB / 377.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.0108, allocations: 210.6 kB / 377.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.01181, allocations: 0.5089 MB / 378 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.01253, allocations: 378.9 kB / 378.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.01359, allocations: 1.091 MB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005804/0.01417, allocations: 420.4 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.01504, allocations: 0.6156 MB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007548/0.0158, allocations: 0.5222 MB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.01592, allocations: 84 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008482/0.01677, allocations: 0.5107 MB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.0172, allocations: 422.9 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.01761, allocations: 335.2 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.01889, allocations: 0.9424 MB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01889, allocations: 3.938 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01889, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.01892, allocations: 4 kB / 383.3 MB, free: 13.29 MB / 362.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.00188/0.02079, allocations: 1.276 MB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.02084, allocations: 15.98 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007597/0.0216, allocations: 244.1 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.02239, allocations: 0.5142 MB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.02244, allocations: 54.38 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.02261, allocations: 88.62 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.02374, allocations: 0.8342 MB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.02376, allocations: 3.984 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.02383, allocations: 32 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.02394, allocations: 49.98 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.02502, allocations: 477.1 kB / 386.9 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.02907, allocations: 4.343 MB / 391.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.02985, allocations: 468.5 kB / 391.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.03021, allocations: 255 kB / 391.9 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.03026, allocations: 16.66 kB / 391.9 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006529/0.03091, allocations: 0.504 MB / 392.4 MB, free: 3.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 2.535e-06/0.03091, allocations: 0 / 392.4 MB, free: 3.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.003031/0.03395, allocations: 1.93 MB / 394.4 MB, free: 1.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.03403, allocations: 157.4 kB / 394.5 MB, free: 1.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.03448, allocations: 494.4 kB / 395 MB, free: 1.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.03453, allocations: 49.7 kB / 395.1 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.03479, allocations: 443.4 kB / 395.5 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.03502, allocations: 293.7 kB / 395.8 MB, free: 240 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.03525, allocations: 184.6 kB / 396 MB, free: 48 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.03547, allocations: 0.5626 MB / 396.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.03583, allocations: 200.2 kB / 396.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.03635, allocations: 0.5218 MB / 397.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008863/0.03723, allocations: 0.7553 MB / 398 MB, free: 13.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.03724, allocations: 0 / 398 MB, free: 13.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001999/0.03924, allocations: 1.093 MB / 399.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.03928, allocations: 37.69 kB / 399.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001402/0.04068, allocations: 0.7008 MB / 399.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.04207, allocations: 411.3 kB / 400.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.0426, allocations: 131.7 kB / 400.4 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.04717, allocations: 3.556 MB / 403.9 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.04757, allocations: 51.95 kB / 404 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.04764, allocations: 36 kB / 404 MB, free: 7.562 MB / 378.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.000317/0.04796, allocations: 270 kB / 404.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.04814, allocations: 115.5 kB / 404.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.04931, allocations: 0.8161 MB / 405.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.04933, allocations: 16 kB / 405.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.04934, allocations: 7.875 kB / 405.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.04935, allocations: 11.91 kB / 405.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.05163, allocations: 1.56 MB / 406.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.05163, allocations: 0 / 406.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.05204, allocations: 123.8 kB / 406.9 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.05224, allocations: 103.1 kB / 407 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.05229, allocations: 12 kB / 407 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.05463, allocations: 5.184 MB / 412.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.05463, allocations: 0 / 412.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.05624, allocations: 1.247 MB / 413.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.05633, allocations: 67.5 kB / 413.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.05641, allocations: 28 kB / 413.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.05669, allocations: 44.08 kB / 413.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.05687, allocations: 84.84 kB / 413.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.05692, allocations: 28 kB / 413.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002763/0.05719, allocations: 307 kB / 414 MB, free: 12.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05719, allocations: 0 / 414 MB, free: 12.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008463/0.05804, allocations: 256 kB / 414.2 MB, free: 12.74 MB / 394.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.0002412/0.05828, allocations: 154.1 kB / 414.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.05983, allocations: 1.092 MB / 415.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.05983, allocations: 0 / 415.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007425/0.06057, allocations: 0.9168 MB / 416.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.06114, allocations: 133.7 kB / 416.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.06374, allocations: 1.549 MB / 418.1 MB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.06394, allocations: 224.5 kB / 418.3 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.06431, allocations: 161.8 kB / 418.5 MB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.06448, allocations: 60.5 kB / 418.5 MB, free: 8.273 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.06448, allocations: 0 / 418.5 MB, free: 8.273 MB / 394.7 MB Notification: Performance of Templates: time 0.0187/0.08319, allocations: 12.29 MB / 430.8 MB, free: 12.1 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.702954772859812]