Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline.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.Transmission.Tline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80000,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.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80000,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.Transmission.Tline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 109.2 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.001122/0.001122, allocations: 188.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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1728/0.1728, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.89 kB / 458.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2866, allocations: 58.05 MB / 0.5048 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.Tline): time 0.007373/0.294, allocations: 8.092 MB / 0.5127 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.2979, allocations: 2.651 MB / 0.5153 GB, free: 196 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.2983, allocations: 27.69 kB / 0.5153 GB, free: 184 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.3001, allocations: 0.7051 MB / 0.516 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.3017, allocations: 0.6826 MB / 0.5166 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3029, allocations: 0.539 MB / 0.5172 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.3048, allocations: 1.753 MB / 0.5189 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.3058, allocations: 0.6844 MB / 0.5196 GB, free: 14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.3069, allocations: 0.7107 MB / 0.5202 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.308, allocations: 0.9406 MB / 0.5212 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.3083, allocations: 147.3 kB / 0.5213 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009728/0.3093, allocations: 0.5635 MB / 0.5219 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006121/0.3099, allocations: 0.6083 MB / 0.5225 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007922/0.3107, allocations: 0.7505 MB / 0.5232 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.3127, allocations: 1.949 MB / 0.5251 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3127, allocations: 0 / 0.5251 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3127, allocations: 0 / 0.5251 GB, free: 11.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.3128, allocations: 4 kB / 0.5251 GB, free: 11.75 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003945/0.3167, allocations: 1.817 MB / 0.5269 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.3168, allocations: 12.86 kB / 0.5269 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.318, allocations: 213.5 kB / 0.5271 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.3197, allocations: 0.8365 MB / 0.5279 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/0.3198, allocations: 97.56 kB / 0.528 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/0.3202, allocations: 187.5 kB / 0.5282 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.3228, allocations: 1.694 MB / 0.5298 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.3229, allocations: 7.875 kB / 0.5298 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.323, allocations: 46.36 kB / 0.5299 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004725/0.3235, allocations: 100.8 kB / 0.53 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.3259, allocations: 1.49 MB / 0.5314 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008315/0.3342, allocations: 5.942 MB / 0.5372 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.3368, allocations: 1.817 MB / 0.539 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3381, allocations: 0.8991 MB / 0.5399 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.872e-05/0.3382, allocations: 17.52 kB / 0.5399 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/0.3401, allocations: 1.281 MB / 0.5412 GB, free: 1.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=173): time 5.611e-06/0.3401, allocations: 7.984 kB / 0.5412 GB, free: 1.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=174): time 0.009387/0.3495, allocations: 5.766 MB / 0.5468 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.3496, allocations: 242.9 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009335/0.3506, allocations: 0.6799 MB / 0.5477 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.3507, allocations: 65.69 kB / 0.5477 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.3511, allocations: 484.7 kB / 0.5482 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005097/0.3517, allocations: 0.5357 MB / 0.5487 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000512/0.3522, allocations: 323.5 kB / 0.549 GB, free: 10.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3523, allocations: 353.9 kB / 0.5494 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.3537, allocations: 0.8394 MB / 0.5502 GB, free: 9.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.3553, allocations: 1.137 MB / 0.5513 GB, free: 7.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.3582, allocations: 2.124 MB / 0.5534 GB, free: 5.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.3582, allocations: 4 kB / 0.5534 GB, free: 5.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008266/0.3665, allocations: 3.77 MB / 0.5571 GB, free: 1.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.3665, allocations: 63.41 kB / 0.5571 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.3666, allocations: 11.98 kB / 0.5571 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00463/0.3712, allocations: 1.677 MB / 0.5588 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.3717, allocations: 147.7 kB / 0.5589 GB, free: 0 / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/0.3949, allocations: 14.22 MB / 0.5728 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.3962, allocations: 115.9 kB / 0.5729 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.3965, allocations: 60 kB / 0.573 GB, free: 1.441 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 91 (system.initime,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay2.y[3],$PRE.relay2.y[3],relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[3],$PRE.relay1.y[3],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],breaker2.breaker_c.opening,breaker2.breaker_c.t0,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.closed,breaker2.breaker_c.open,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.arc,breaker2.breaker_b.opening,breaker2.breaker_b.t0,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.closed,breaker2.breaker_b.open,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.arc,breaker2.breaker_a.opening,breaker2.breaker_a.t0,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.closed,breaker2.breaker_a.open,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.arc,breaker1.breaker_c.opening,breaker1.breaker_c.t0,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.closed,breaker1.breaker_c.open,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.arc,breaker1.breaker_b.opening,breaker1.breaker_b.t0,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.closed,breaker1.breaker_b.open,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.arc,breaker1.breaker_a.opening,breaker1.breaker_a.t0,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.closed,breaker1.breaker_a.open,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 2 * Algorithm blocks: 2 * 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 {(28,54)} Notification: Performance of prepare postOptimizeDAE: time 0.0009752/0.3975, allocations: 0.4968 MB / 0.5735 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.3978, allocations: 110.7 kB / 0.5736 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/0.4016, allocations: 2.234 MB / 0.5757 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.4016, allocations: 7.969 kB / 0.5758 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4016, allocations: 0 / 0.5758 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.4019, allocations: 199.5 kB / 0.5759 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.4022, allocations: 55.98 kB / 0.576 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/0.4031, allocations: 107.9 kB / 0.5761 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/0.4035, allocations: 149.1 kB / 0.5762 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006115/0.4096, allocations: 2.948 MB / 0.5791 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005042/0.4147, allocations: 3.57 MB / 0.5826 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001433/0.4161, allocations: 1.092 MB / 0.5837 GB, free: 6.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006506/0.4168, allocations: 475 kB / 0.5841 GB, free: 5.836 MB / 446.1 MB Notification: Performance of Backend: time 2.01e-07/0.4168, allocations: 0 / 0.5841 GB, free: 5.836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00542/0.4222, allocations: 2.501 MB / 0.5866 GB, free: 3.297 MB / 446.1 MB Notification: Performance of SimCode: time 0.005478/0.4277, allocations: 4.105 MB / 0.5906 GB, free: 15.12 MB / 462.1 MB Notification: Performance of Templates: time 0.04692/0.4747, allocations: 31.86 MB / 0.6217 GB, free: 15.4 MB / 494.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)