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.001578/0.001578, allocations: 108.9 kB / 17.74 MB, free: 5.207 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.001843/0.001843, allocations: 181.4 kB / 18.67 MB, free: 4.289 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.172/0.172, allocations: 38.05 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3006, allocations: 58.04 MB / 0.5048 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005848/0.3065, allocations: 6.215 MB / 0.5108 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.3094, allocations: 2.076 MB / 0.5129 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.3097, allocations: 16.19 kB / 0.5129 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.3111, allocations: 0.5294 MB / 0.5134 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.3123, allocations: 0.4887 MB / 0.5139 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008523/0.3132, allocations: 362 kB / 0.5142 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3143, allocations: 1.064 MB / 0.5153 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.315, allocations: 0.5089 MB / 0.5158 GB, free: 484 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.3156, allocations: 467.4 kB / 0.5162 GB, free: 264 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.3163, allocations: 0.5519 MB / 0.5167 GB, free: 40 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.3165, allocations: 85.81 kB / 0.5168 GB, free: 40 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008828/0.3174, allocations: 0.4941 MB / 0.5173 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.3178, allocations: 403.7 kB / 0.5177 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005552/0.3184, allocations: 475.2 kB / 0.5181 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.3201, allocations: 1.225 MB / 0.5193 GB, free: 15.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3201, allocations: 1 kB / 0.5193 GB, free: 15.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3201, allocations: 0 / 0.5193 GB, free: 15.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.3201, allocations: 0 / 0.5193 GB, free: 15.02 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.002495/0.3226, allocations: 1.238 MB / 0.5205 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3227, allocations: 16.39 kB / 0.5206 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/0.3233, allocations: 132.3 kB / 0.5207 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.3244, allocations: 0.576 MB / 0.5212 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.3245, allocations: 57.91 kB / 0.5213 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.3247, allocations: 88.56 kB / 0.5214 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3264, allocations: 1.082 MB / 0.5224 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.3264, allocations: 9.938 kB / 0.5225 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.3265, allocations: 32.55 kB / 0.5225 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.3267, allocations: 50.44 kB / 0.5225 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.3282, allocations: 0.9396 MB / 0.5235 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005363/0.3335, allocations: 4.198 MB / 0.5276 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.3348, allocations: 0.9366 MB / 0.5285 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.3354, allocations: 452.2 kB / 0.5289 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.3355, allocations: 8.891 kB / 0.5289 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009412/0.3364, allocations: 0.6427 MB / 0.5295 GB, free: 8.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.126e-06/0.3364, allocations: 0 / 0.5295 GB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.004566/0.341, allocations: 2.893 MB / 0.5324 GB, free: 7.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.3411, allocations: 156.2 kB / 0.5325 GB, free: 6.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.3416, allocations: 476.5 kB / 0.533 GB, free: 6.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.3417, allocations: 47.84 kB / 0.533 GB, free: 6.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.342, allocations: 385.8 kB / 0.5334 GB, free: 6.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.3422, allocations: 288.8 kB / 0.5337 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.3425, allocations: 177.1 kB / 0.5338 GB, free: 5.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3426, allocations: 381.2 kB / 0.5342 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.3432, allocations: 393.9 kB / 0.5346 GB, free: 5.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.344, allocations: 0.6219 MB / 0.5352 GB, free: 4.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.3455, allocations: 1.083 MB / 0.5362 GB, free: 4.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3455, allocations: 2.625 kB / 0.5362 GB, free: 4.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00304/0.3485, allocations: 1.514 MB / 0.5377 GB, free: 3.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.3486, allocations: 42.52 kB / 0.5377 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002369/0.3509, allocations: 1.157 MB / 0.5389 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.3523, allocations: 438.5 kB / 0.5393 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.3528, allocations: 122.8 kB / 0.5394 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007359/0.3601, allocations: 5.163 MB / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.3608, allocations: 63.84 kB / 0.5445 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.3609, allocations: 40 kB / 0.5446 GB, free: 14.9 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.0004975/0.3614, allocations: 355 kB / 0.5449 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3616, allocations: 67.25 kB / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.3634, allocations: 1.13 MB / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3634, allocations: 7.922 kB / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3634, allocations: 4 kB / 0.5461 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3635, allocations: 136.2 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3637, allocations: 23.98 kB / 0.5462 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.3641, allocations: 51.94 kB / 0.5463 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.3643, allocations: 80.88 kB / 0.5463 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002232/0.3665, allocations: 1.352 MB / 0.5477 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002309/0.3688, allocations: 1.814 MB / 0.5494 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006627/0.3695, allocations: 0.5037 MB / 0.5499 GB, free: 9.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000356/0.3699, allocations: 327.1 kB / 0.5502 GB, free: 8.961 MB / 414.1 MB Notification: Performance of Backend: time 4.5e-07/0.3699, allocations: 0 / 0.5502 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.3723, allocations: 1.157 MB / 0.5514 GB, free: 7.777 MB / 414.1 MB Notification: Performance of SimCode: time 0.002524/0.3748, allocations: 2.042 MB / 0.5534 GB, free: 5.672 MB / 414.1 MB Notification: Performance of Templates: time 0.02155/0.3964, allocations: 14.39 MB / 0.5674 GB, free: 7.352 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)