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.001332/0.001332, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001506/0.001506, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9886/0.9886, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2831/0.2831, allocations: 29.41 MB / 291.2 MB, free: 2.48 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.674e-06/1.674e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.893e-05/4.061e-05, allocations: 2.312 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.01259/0.01263, allocations: 5.558 MB / 322.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006517/0.01915, allocations: 2.08 MB / 324.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.01963, allocations: 23.81 kB / 324.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007915/0.02042, allocations: 214.5 kB / 324.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.02163, allocations: 0.5011 MB / 325.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.02241, allocations: 378.9 kB / 325.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.0236, allocations: 1.099 MB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.0242, allocations: 454.3 kB / 327.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008641/0.02506, allocations: 0.6624 MB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.0256, allocations: 486.7 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/0.0257, allocations: 84 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.02638, allocations: 0.5108 MB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.02667, allocations: 418.9 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.02696, allocations: 335.2 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009563/0.02792, allocations: 0.9385 MB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.02792, allocations: 0 / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02792, allocations: 0 / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.02793, allocations: 0 / 330.5 MB, free: 2.238 MB / 298.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.00131/0.02924, allocations: 1.096 MB / 331.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.02928, allocations: 11.98 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.02985, allocations: 196.7 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.03037, allocations: 423.1 kB / 332.2 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.03041, allocations: 62.36 kB / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.03053, allocations: 80.69 kB / 332.4 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.03122, allocations: 0.7374 MB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.03124, allocations: 7.938 kB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.03129, allocations: 32 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.417e-05/0.03137, allocations: 45.98 kB / 333.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.0318, allocations: 362.1 kB / 333.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.03452, allocations: 3.181 MB / 336.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.03496, allocations: 400.6 kB / 337.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.03514, allocations: 189.3 kB / 337.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.03518, allocations: 12.66 kB / 337.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.03559, allocations: 471.6 kB / 337.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=92): time 2.905e-06/0.0356, allocations: 0 / 337.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=93): time 0.001952/0.03755, allocations: 1.363 MB / 339.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.03761, allocations: 149.5 kB / 339.3 MB, free: 9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.03787, allocations: 410.9 kB / 339.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.03792, allocations: 53.69 kB / 339.7 MB, free: 8.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.03807, allocations: 341.5 kB / 340.1 MB, free: 8.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.03822, allocations: 289.8 kB / 340.4 MB, free: 7.898 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.03839, allocations: 182.7 kB / 340.5 MB, free: 7.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.0385, allocations: 386.6 kB / 340.9 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.03866, allocations: 151.1 kB / 341.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.03892, allocations: 377.3 kB / 341.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.03941, allocations: 0.6114 MB / 342 MB, free: 5.996 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.03941, allocations: 4 kB / 342 MB, free: 5.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001169/0.04058, allocations: 0.8203 MB / 342.9 MB, free: 5.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.04062, allocations: 36.05 kB / 342.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006949/0.04131, allocations: 0.4924 MB / 343.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009331/0.04225, allocations: 406.6 kB / 343.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.04248, allocations: 123.8 kB / 343.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.04524, allocations: 2.647 MB / 346.6 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.04555, allocations: 39.98 kB / 346.6 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.04559, allocations: 32 kB / 346.6 MB, free: 1.27 MB / 314.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.0002686/0.04586, allocations: 222.1 kB / 346.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.04599, allocations: 87.81 kB / 346.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.04658, allocations: 0.5837 MB / 347.5 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.0466, allocations: 20 kB / 347.5 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.0466, allocations: 4 kB / 347.5 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.04661, allocations: 3.984 kB / 347.5 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.04787, allocations: 1.119 MB / 348.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.04788, allocations: 0 / 348.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.04815, allocations: 107.8 kB / 348.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.04828, allocations: 87.08 kB / 348.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.04831, allocations: 23.98 kB / 348.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.04987, allocations: 3.557 MB / 352.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.04988, allocations: 4.312 kB / 352.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.05074, allocations: 0.9478 MB / 353.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.05081, allocations: 63.53 kB / 353.4 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.05087, allocations: 23.98 kB / 353.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.05104, allocations: 23.98 kB / 353.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.05116, allocations: 88.72 kB / 353.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.05119, allocations: 20 kB / 353.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.05132, allocations: 168.7 kB / 353.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05132, allocations: 0 / 353.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00058/0.0519, allocations: 252 kB / 354 MB, free: 9.414 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.0001975/0.05209, allocations: 134.8 kB / 354.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009155/0.05301, allocations: 0.8798 MB / 355 MB, free: 8.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.05302, allocations: 4 kB / 355 MB, free: 8.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.05347, allocations: 0.6849 MB / 355.7 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.05389, allocations: 145.8 kB / 355.9 MB, free: 7.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.0558, allocations: 1.472 MB / 357.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.05597, allocations: 224.5 kB / 357.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.05618, allocations: 90.02 kB / 357.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.05645, allocations: 183.3 kB / 357.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.05645, allocations: 0 / 357.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of Templates: time 0.01609/0.07254, allocations: 13 MB / 370.8 MB, free: 8.617 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.3234043610282242]