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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007574/0.0007575, allocations: 93.48 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2126/0.2126, allocations: 38.08 MB / 358.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 12 kB / 425.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 56.32 MB / 481.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.5625, allocations: 106.2 MB / 0.574 GB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004119/0.5629, allocations: 99.81 kB / 0.5741 GB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07227/0.6352, allocations: 25.17 MB / 0.5987 GB, free: 2.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6353, allocations: 0 / 0.5987 GB, free: 2.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.077e-05/0.6354, allocations: 20 kB / 0.5987 GB, free: 2.457 MB / 426.7 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.006351/0.6417, allocations: 1.478 MB / 0.6001 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.19e-05/0.6418, allocations: 12.03 kB / 0.6001 GB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.644, allocations: 199.2 kB / 0.6003 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/0.6476, allocations: 0.9514 MB / 0.6013 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.6478, allocations: 82.36 kB / 0.6013 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006165/0.6485, allocations: 116 kB / 0.6014 GB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.6527, allocations: 1.599 MB / 0.603 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.6528, allocations: 0 / 0.603 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.653, allocations: 47.97 kB / 0.6031 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.6531, allocations: 69.98 kB / 0.6031 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.6567, allocations: 1.417 MB / 0.6045 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.6719, allocations: 5.768 MB / 0.6101 GB, free: 6.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.6751, allocations: 1.106 MB / 0.6112 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.6772, allocations: 0.8451 MB / 0.612 GB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.6774, allocations: 13 kB / 0.6121 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002875/0.6803, allocations: 1.143 MB / 0.6132 GB, free: 3.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=161): time 7.845e-06/0.6803, allocations: 0 / 0.6132 GB, free: 3.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=162): time 0.01433/0.6946, allocations: 4.761 MB / 0.6178 GB, free: 14.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.6949, allocations: 238.9 kB / 0.618 GB, free: 14.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.6964, allocations: 0.5654 MB / 0.6186 GB, free: 13.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.6967, allocations: 65.69 kB / 0.6187 GB, free: 13.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007213/0.6974, allocations: 460.5 kB / 0.6191 GB, free: 12.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008509/0.6983, allocations: 497.2 kB / 0.6196 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.6985, allocations: 28 kB / 0.6196 GB, free: 12.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003793/0.6989, allocations: 418.7 kB / 0.62 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.7012, allocations: 0.7066 MB / 0.6207 GB, free: 11.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/0.7039, allocations: 1.003 MB / 0.6217 GB, free: 10.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004994/0.7089, allocations: 1.827 MB / 0.6235 GB, free: 8.211 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.709, allocations: 7.938 kB / 0.6235 GB, free: 8.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.009182/0.7182, allocations: 2.874 MB / 0.6263 GB, free: 5.305 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.7183, allocations: 63.39 kB / 0.6263 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005787/0.7241, allocations: 2.376 MB / 0.6287 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003846/0.728, allocations: 1.074 MB / 0.6297 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.7287, allocations: 151.6 kB / 0.6298 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.7426, allocations: 8.226 MB / 0.6379 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.7437, allocations: 99.8 kB / 0.638 GB, free: 9.156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/0.744, allocations: 56 kB / 0.638 GB, free: 9.102 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 84 (system.initime,$PRE.abc.fault_pp1.t0,abc.fault_pp1.t0,$PRE.abc.fault_pp2.t0,abc.fault_pp2.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,$PRE.switch1.switch_a.open,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,$PRE.switch1.switch_b.open,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,$PRE.switch1.switch_c.open,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,$PRE.switch2.switch_a.open,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,$PRE.switch2.switch_b.open,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,$PRE.switch2.switch_c.open,switch2.switch_c.open,switch2.switch_c.closed,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3],$PRE.abc.theta_zero,abc.theta_zero,$PRE.abc.v_pos,abc.v_pos,$PRE.abc.first,abc.first,$PRE.abc.fault_pp1.on,abc.fault_pp1.on,$PRE.abc.fault_pp2.on,abc.fault_pp2.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 139 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(12,81.9%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.745, allocations: 0.4889 MB / 0.6385 GB, free: 8.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.7453, allocations: 102.8 kB / 0.6386 GB, free: 8.488 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.7486, allocations: 1.889 MB / 0.6404 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/0.7487, allocations: 39.92 kB / 0.6405 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7487, allocations: 0 / 0.6405 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.7487, allocations: 7.969 kB / 0.6405 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.7557, allocations: 3.566 MB / 0.644 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7558, allocations: 4 kB / 0.644 GB, free: 2.879 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.7577, allocations: 375.7 kB / 0.6443 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.7579, allocations: 56.75 kB / 0.6444 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.758, allocations: 31.98 kB / 0.6444 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.7596, allocations: 1.564 MB / 0.6459 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7596, allocations: 8.125 kB / 0.646 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2414/1.001, allocations: 2.955 MB / 0.6488 GB, free: 137.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006243/1.002, allocations: 301.6 kB / 0.6491 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.002, allocations: 40.17 kB / 0.6492 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/1.003, allocations: 84.2 kB / 0.6492 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.003, allocations: 133.1 kB / 0.6494 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/1.003, allocations: 47.69 kB / 0.6494 GB, free: 137.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005267/1.004, allocations: 398.4 kB / 0.6498 GB, free: 137.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 0 / 0.6498 GB, free: 137.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001368/1.005, allocations: 417.5 kB / 0.6502 GB, free: 137.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (line.i1[1],line.i1[2],line.i1[3],line.i2[1],line.i2[2],line.i2[3]) * Number of discrete variables: 57 (switch1.switch_a.closed,switch1.switch_b.closed,switch1.switch_c.closed,switch2.switch_a.closed,switch2.switch_c.closed,switch2.switch_b.closed,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,abc.theta_zero,abc.v_pos,abc.first,abc.fault_pp1.on,abc.fault_pp1.t0,abc.fault_pp2.on,abc.fault_pp2.t0,system.initime) * Number of discrete states: 21 (abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch2.switch_b.open,switch2.switch_c.open,switch2.switch_a.open,abc.v_pos,abc.first,switch1.switch_c.open,switch1.switch_b.open,switch1.switch_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 107 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003912/1.005, allocations: 213 kB / 0.6504 GB, free: 137.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004758/1.01, allocations: 2.551 MB / 0.6529 GB, free: 136.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.01, allocations: 3.844 kB / 0.6529 GB, free: 136.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.012, allocations: 1.255 MB / 0.6541 GB, free: 136.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/1.013, allocations: 155.9 kB / 0.6543 GB, free: 136.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/1.018, allocations: 3.484 MB / 0.6577 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.02, allocations: 1.229 MB / 0.6589 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009914/1.021, allocations: 280.3 kB / 0.6591 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/1.021, allocations: 78.28 kB / 0.6592 GB, free: 134.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.845e-06/1.021, allocations: 0 / 0.6592 GB, free: 134.6 MB / 474.7 MB Notification: Performance of Templates: time 0.02817/1.049, allocations: 16.64 MB / 0.6755 GB, free: 133.8 MB / 474.7 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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.FaultRXline.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches