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.001797/0.001797, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.581/1.581, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.0007817/0.0007816, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1805/0.1805, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.711e-05, allocations: 7.984 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 56.31 MB / 474 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4696/0.6015, allocations: 106.1 MB / 0.5665 GB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.6019, allocations: 88.58 kB / 0.5666 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07299/0.6749, allocations: 25.18 MB / 0.5912 GB, free: 7.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.675, allocations: 0 / 0.5912 GB, free: 7.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.883e-05/0.6751, allocations: 24 kB / 0.5912 GB, free: 7.105 MB / 394.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.003206/0.6783, allocations: 1.391 MB / 0.5926 GB, free: 5.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/0.6783, allocations: 8.031 kB / 0.5926 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.6797, allocations: 203 kB / 0.5928 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/0.6836, allocations: 1.297 MB / 0.594 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.6838, allocations: 85.3 kB / 0.5941 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.684, allocations: 109 kB / 0.5942 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.6867, allocations: 1.567 MB / 0.5958 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.6867, allocations: 3.938 kB / 0.5958 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.6869, allocations: 51.53 kB / 0.5958 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.804e-05/0.687, allocations: 73.03 kB / 0.5959 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.6891, allocations: 1.387 MB / 0.5972 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009035/0.6981, allocations: 5.759 MB / 0.6029 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.6998, allocations: 1.09 MB / 0.6039 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.7009, allocations: 0.8309 MB / 0.6047 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-05/0.701, allocations: 13 kB / 0.6048 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/0.7027, allocations: 1.137 MB / 0.6059 GB, free: 10.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=161): time 4.899e-06/0.7027, allocations: 0 / 0.6059 GB, free: 10.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.006382/0.7091, allocations: 3.921 MB / 0.6097 GB, free: 7.797 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/0.7094, allocations: 245.9 kB / 0.6099 GB, free: 7.512 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.7102, allocations: 0.4931 MB / 0.6104 GB, free: 7.117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.7103, allocations: 62.69 kB / 0.6105 GB, free: 7.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.7109, allocations: 460.6 kB / 0.6109 GB, free: 6.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/0.7114, allocations: 489.4 kB / 0.6114 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.7114, allocations: 32 kB / 0.6114 GB, free: 6.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.7117, allocations: 414.7 kB / 0.6118 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.7128, allocations: 0.6873 MB / 0.6125 GB, free: 5.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.7141, allocations: 0.9873 MB / 0.6134 GB, free: 3.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.7155, allocations: 0.8517 MB / 0.6143 GB, free: 3.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.7155, allocations: 4 kB / 0.6143 GB, free: 3.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00567/0.7212, allocations: 2.835 MB / 0.617 GB, free: 252 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/0.7213, allocations: 75.34 kB / 0.6171 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004567/0.7259, allocations: 2.345 MB / 0.6194 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/0.7292, allocations: 1.071 MB / 0.6204 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.7299, allocations: 147.7 kB / 0.6206 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.7445, allocations: 8.198 MB / 0.6286 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.7458, allocations: 99.75 kB / 0.6287 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.7459, allocations: 56 kB / 0.6287 GB, free: 4.105 MB / 426.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 () * 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.0005481/0.7465, allocations: 299.9 kB / 0.629 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.7468, allocations: 106.8 kB / 0.6291 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.7502, allocations: 1.858 MB / 0.6309 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/0.7503, allocations: 39.98 kB / 0.631 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7503, allocations: 0 / 0.631 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.7503, allocations: 11.92 kB / 0.631 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.7564, allocations: 3.535 MB / 0.6344 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.7565, allocations: 3.984 kB / 0.6344 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/0.7585, allocations: 383.7 kB / 0.6348 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001919/0.7587, allocations: 52.83 kB / 0.6349 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.7588, allocations: 39.97 kB / 0.6349 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.7603, allocations: 1.56 MB / 0.6364 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7603, allocations: 0 / 0.6364 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.7649, allocations: 2.984 MB / 0.6393 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/0.7657, allocations: 303.8 kB / 0.6396 GB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.7659, allocations: 43.94 kB / 0.6397 GB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.7666, allocations: 75.84 kB / 0.6397 GB, free: 8.477 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.767, allocations: 140.8 kB / 0.6399 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.605e-05/0.7671, allocations: 35.98 kB / 0.6399 GB, free: 8.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006109/0.7677, allocations: 399.2 kB / 0.6403 GB, free: 7.914 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7677, allocations: 0 / 0.6403 GB, free: 7.914 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001995/0.7697, allocations: 419.9 kB / 0.6407 GB, free: 7.504 MB / 442.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) * 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.000607/0.7703, allocations: 211 kB / 0.6409 GB, free: 7.289 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005481/0.7758, allocations: 2.501 MB / 0.6433 GB, free: 4.746 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7758, allocations: 4.688 kB / 0.6433 GB, free: 4.742 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.7776, allocations: 1.249 MB / 0.6446 GB, free: 3.457 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7787, allocations: 147.2 kB / 0.6447 GB, free: 3.316 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/0.7836, allocations: 2.508 MB / 0.6472 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008894/0.7845, allocations: 1.245 MB / 0.6484 GB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008387/0.7854, allocations: 284.3 kB / 0.6486 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.7857, allocations: 79.42 kB / 0.6487 GB, free: 15.13 MB / 458.7 MB Notification: Performance of SimCode: time 3.838e-06/0.7857, allocations: 0 / 0.6487 GB, free: 15.13 MB / 458.7 MB Notification: Performance of Templates: time 0.02917/0.8149, allocations: 16.66 MB / 0.665 GB, free: 14.48 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/jenkins/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