Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 114.3 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 189.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1868/0.1868, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 63.89 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3409, allocations: 58.05 MB / 0.5048 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.006293/0.3473, allocations: 6.204 MB / 0.5108 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.3506, allocations: 2.081 MB / 0.5129 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.3511, allocations: 19.75 kB / 0.5129 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.3527, allocations: 0.5181 MB / 0.5134 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.3541, allocations: 0.4994 MB / 0.5139 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009715/0.355, allocations: 362.1 kB / 0.5142 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3562, allocations: 1.069 MB / 0.5153 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006671/0.3569, allocations: 0.5074 MB / 0.5158 GB, free: 452 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.3575, allocations: 472.4 kB / 0.5162 GB, free: 228 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009571/0.3585, allocations: 0.5484 MB / 0.5168 GB, free: 8 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.3587, allocations: 84.41 kB / 0.5168 GB, free: 8 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.3601, allocations: 0.4984 MB / 0.5173 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.3606, allocations: 403.4 kB / 0.5177 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006731/0.3613, allocations: 471.3 kB / 0.5182 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3631, allocations: 1.228 MB / 0.5194 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3631, allocations: 0 / 0.5194 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3631, allocations: 0 / 0.5194 GB, free: 14.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3631, allocations: 0 / 0.5194 GB, free: 14.98 MB / 398.1 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.002777/0.3659, allocations: 1.235 MB / 0.5206 GB, free: 14.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.366, allocations: 18.28 kB / 0.5206 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.3668, allocations: 131.8 kB / 0.5207 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3679, allocations: 0.5764 MB / 0.5213 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.368, allocations: 61.28 kB / 0.5213 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.3682, allocations: 84.52 kB / 0.5214 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.3699, allocations: 1.089 MB / 0.5225 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.37, allocations: 5.062 kB / 0.5225 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.37, allocations: 37.75 kB / 0.5225 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.3702, allocations: 45.53 kB / 0.5226 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.3717, allocations: 0.9362 MB / 0.5235 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005442/0.3772, allocations: 4.2 MB / 0.5276 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.3784, allocations: 0.9371 MB / 0.5285 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/0.3791, allocations: 447.2 kB / 0.5289 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.3791, allocations: 13.05 kB / 0.5289 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009649/0.3801, allocations: 0.6414 MB / 0.5295 GB, free: 8.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.815e-06/0.3801, allocations: 0 / 0.5295 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.004573/0.3847, allocations: 2.891 MB / 0.5324 GB, free: 7.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.3848, allocations: 154.3 kB / 0.5325 GB, free: 6.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.3853, allocations: 477 kB / 0.533 GB, free: 6.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.325e-05/0.3854, allocations: 49.39 kB / 0.533 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.3857, allocations: 384.8 kB / 0.5334 GB, free: 6.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.3859, allocations: 284.1 kB / 0.5337 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.3862, allocations: 181.6 kB / 0.5338 GB, free: 5.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3864, allocations: 377.6 kB / 0.5342 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/0.387, allocations: 397.5 kB / 0.5346 GB, free: 5.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007639/0.3878, allocations: 0.6215 MB / 0.5352 GB, free: 4.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.3892, allocations: 1.079 MB / 0.5362 GB, free: 4.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3892, allocations: 6.703 kB / 0.5362 GB, free: 4.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00295/0.3922, allocations: 1.521 MB / 0.5377 GB, free: 3.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.3922, allocations: 42.61 kB / 0.5378 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002309/0.3945, allocations: 1.154 MB / 0.5389 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.3959, allocations: 441.9 kB / 0.5393 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.3964, allocations: 123.2 kB / 0.5394 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007522/0.4039, allocations: 5.156 MB / 0.5445 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.4046, allocations: 67.78 kB / 0.5445 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.4047, allocations: 36 kB / 0.5446 GB, free: 14.87 MB / 414.1 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.0005225/0.4052, allocations: 351.1 kB / 0.5449 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4053, allocations: 67.23 kB / 0.545 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.4072, allocations: 1.134 MB / 0.5461 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4072, allocations: 3.984 kB / 0.5461 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4072, allocations: 7.984 kB / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.4073, allocations: 136.3 kB / 0.5462 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4075, allocations: 23.98 kB / 0.5462 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.4079, allocations: 51.94 kB / 0.5463 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.4081, allocations: 72.89 kB / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002337/0.4105, allocations: 1.359 MB / 0.5477 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002443/0.4129, allocations: 1.817 MB / 0.5495 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006865/0.4136, allocations: 0.5036 MB / 0.5499 GB, free: 9.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003956/0.414, allocations: 319.3 kB / 0.5503 GB, free: 8.926 MB / 414.1 MB Notification: Performance of Backend: time 3.2e-07/0.414, allocations: 4.031 kB / 0.5503 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.4168, allocations: 1.154 MB / 0.5514 GB, free: 7.738 MB / 414.1 MB Notification: Performance of SimCode: time 0.002862/0.4197, allocations: 2.048 MB / 0.5534 GB, free: 5.633 MB / 414.1 MB Notification: Performance of Templates: time 0.02563/0.4454, allocations: 14.38 MB / 0.5674 GB, free: 7.312 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)