Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.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.FaultRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|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.FaultRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|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.FaultRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 106.6 kB / 17.74 MB, free: 5.336 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.001655/0.001655, allocations: 194.9 kB / 18.68 MB, free: 4.41 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.322/1.322, 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.1761/0.1761, allocations: 38.03 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2993, allocations: 58.05 MB / 0.5048 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultRXline): time 0.006863/0.3062, allocations: 7.435 MB / 0.512 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.3098, allocations: 2.397 MB / 0.5144 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004248/0.3102, allocations: 22.88 kB / 0.5144 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.3119, allocations: 0.759 MB / 0.5151 GB, free: 368 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.3134, allocations: 0.6464 MB / 0.5158 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.3147, allocations: 495.6 kB / 0.5162 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.3166, allocations: 1.491 MB / 0.5177 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.3178, allocations: 0.7198 MB / 0.5184 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.3191, allocations: 0.6716 MB / 0.5191 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.3206, allocations: 0.8016 MB / 0.5198 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003879/0.321, allocations: 118.3 kB / 0.52 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.3221, allocations: 0.5365 MB / 0.5205 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006134/0.3228, allocations: 0.5961 MB / 0.5211 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007259/0.3235, allocations: 0.6627 MB / 0.5217 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.3255, allocations: 1.7 MB / 0.5234 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3255, allocations: 0 / 0.5234 GB, free: 12.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3255, allocations: 0 / 0.5234 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.3256, allocations: 0 / 0.5234 GB, free: 12.84 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003576/0.3291, allocations: 1.666 MB / 0.525 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3292, allocations: 13.12 kB / 0.525 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.3303, allocations: 194.3 kB / 0.5252 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.3315, allocations: 0.7316 MB / 0.5259 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/0.3316, allocations: 93.39 kB / 0.526 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/0.3319, allocations: 121.8 kB / 0.5261 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.3346, allocations: 1.621 MB / 0.5277 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.3346, allocations: 6.062 kB / 0.5277 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.3348, allocations: 46.66 kB / 0.5277 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.335, allocations: 81.19 kB / 0.5278 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.3374, allocations: 1.458 MB / 0.5292 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007868/0.3453, allocations: 5.82 MB / 0.5349 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.3471, allocations: 1.575 MB / 0.5365 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.3483, allocations: 0.8273 MB / 0.5373 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.268e-05/0.3484, allocations: 24.42 kB / 0.5373 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/0.35, allocations: 1.119 MB / 0.5384 GB, free: 3.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=157): time 3.256e-06/0.35, allocations: 0 / 0.5384 GB, free: 3.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=158): time 0.007303/0.3573, allocations: 4.715 MB / 0.543 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.3574, allocations: 249.8 kB / 0.5432 GB, free: 380 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/0.3581, allocations: 0.5788 MB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.994e-05/0.3583, allocations: 65.69 kB / 0.5439 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.3586, allocations: 468.3 kB / 0.5443 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.359, allocations: 477.5 kB / 0.5448 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004192/0.3594, allocations: 283.6 kB / 0.545 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3595, allocations: 345.9 kB / 0.5454 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3606, allocations: 0.6871 MB / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.3619, allocations: 1.008 MB / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.3642, allocations: 1.837 MB / 0.5488 GB, free: 10.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3643, allocations: 4 kB / 0.5488 GB, free: 10.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.005404/0.3697, allocations: 2.838 MB / 0.5516 GB, free: 7.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.3697, allocations: 67.39 kB / 0.5517 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004509/0.3742, allocations: 2.332 MB / 0.5539 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003285/0.3775, allocations: 1.067 MB / 0.555 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3781, allocations: 151.7 kB / 0.5551 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.392, allocations: 9.019 MB / 0.5639 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/0.3929, allocations: 91.81 kB / 0.564 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3931, allocations: 56 kB / 0.5641 GB, free: 10.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 84 (system.initime,abc.fault_pp1.t0,$PRE.abc.fault_pp1.t0,abc.fault_pp2.t0,$PRE.abc.fault_pp2.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,abc.fault_pp2.on,$PRE.abc.fault_pp2.on,abc.fault_pp1.on,$PRE.abc.fault_pp1.on,abc.first,$PRE.abc.first,abc.v_pos,$PRE.abc.v_pos,abc.theta_zero,$PRE.abc.theta_zero,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],switch2.switch_c.closed,switch2.switch_c.open,$PRE.switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,$PRE.switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,$PRE.switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,$PRE.switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,$PRE.switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,switch1.switch_a.open,$PRE.switch1.switch_a.open,switch1.switch_a.arc,$PRE.switch1.switch_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * Array equations: 3 * 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): 1 system {(12,41,81.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007881/0.3939, allocations: 0.4966 MB / 0.5645 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.3941, allocations: 106.9 kB / 0.5646 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.3971, allocations: 1.85 MB / 0.5665 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.3972, allocations: 15.91 kB / 0.5665 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3972, allocations: 0 / 0.5665 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/0.3977, allocations: 295.8 kB / 0.5668 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.3979, allocations: 39.98 kB / 0.5668 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.3985, allocations: 67.92 kB / 0.5669 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.3988, allocations: 124.8 kB / 0.567 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004289/0.4031, allocations: 2.359 MB / 0.5693 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004152/0.4072, allocations: 3.086 MB / 0.5723 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001189/0.4084, allocations: 0.9139 MB / 0.5732 GB, free: 1.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005692/0.409, allocations: 411 kB / 0.5736 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of Backend: time 4.61e-07/0.409, allocations: 0 / 0.5736 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004777/0.4138, allocations: 2.012 MB / 0.5755 GB, free: 14.77 MB / 446.1 MB Notification: Performance of SimCode: time 0.003837/0.4177, allocations: 2.855 MB / 0.5783 GB, free: 11.84 MB / 446.1 MB Notification: Performance of Templates: time 0.03266/0.4503, allocations: 21.06 MB / 0.5989 GB, free: 6.887 MB / 462.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe 2>&1)