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.001275/0.001275, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008628/0.0008626, allocations: 84.67 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1743/0.1743, allocations: 38 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 8 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 56.32 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/0.5212, allocations: 105.4 MB / 0.5589 GB, free: 5.516 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5215, allocations: 84.7 kB / 0.559 GB, free: 5.434 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06931/0.5908, allocations: 24.97 MB / 0.5834 GB, free: 12.18 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5909, allocations: 0 / 0.5834 GB, free: 12.18 MB / 427.1 MB Notification: Performance of Transformations before backend: time 5.303e-05/0.5909, allocations: 24 kB / 0.5834 GB, free: 12.16 MB / 427.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.002782/0.5937, allocations: 1.388 MB / 0.5847 GB, free: 10.69 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5938, allocations: 16.02 kB / 0.5847 GB, free: 10.67 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.595, allocations: 195 kB / 0.5849 GB, free: 10.48 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.5983, allocations: 1.296 MB / 0.5862 GB, free: 9.141 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.5984, allocations: 43.98 kB / 0.5862 GB, free: 9.098 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.5985, allocations: 67.91 kB / 0.5863 GB, free: 9.031 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001996/0.6005, allocations: 1.285 MB / 0.5876 GB, free: 7.746 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.6028, allocations: 1.427 MB / 0.589 GB, free: 6.23 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.6029, allocations: 3.938 kB / 0.589 GB, free: 6.227 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/0.603, allocations: 11.98 kB / 0.589 GB, free: 6.215 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.6031, allocations: 77.97 kB / 0.589 GB, free: 6.141 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008162/0.6113, allocations: 5.563 MB / 0.5945 GB, free: 428 kB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.6127, allocations: 1.038 MB / 0.5955 GB, free: 15.37 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.6137, allocations: 0.7999 MB / 0.5963 GB, free: 14.56 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.6138, allocations: 21.3 kB / 0.5963 GB, free: 14.54 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.6153, allocations: 1.085 MB / 0.5974 GB, free: 13.42 MB / 443.1 MB Notification: Performance of pre-optimization done (n=161): time 3.176e-06/0.6153, allocations: 4 kB / 0.5974 GB, free: 13.41 MB / 443.1 MB Notification: Performance of matching and sorting (n=162): time 0.005713/0.621, allocations: 3.575 MB / 0.6008 GB, free: 9.781 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.6212, allocations: 238.9 kB / 0.6011 GB, free: 9.496 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.6219, allocations: 458.2 kB / 0.6015 GB, free: 9.039 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.622, allocations: 41.69 kB / 0.6016 GB, free: 8.992 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.6225, allocations: 460.5 kB / 0.602 GB, free: 8.535 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.6229, allocations: 473.3 kB / 0.6024 GB, free: 8.066 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.623, allocations: 0 / 0.6024 GB, free: 8.066 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.6232, allocations: 414.7 kB / 0.6028 GB, free: 7.652 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009123/0.6241, allocations: 0.6561 MB / 0.6035 GB, free: 6.996 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.6253, allocations: 0.9482 MB / 0.6044 GB, free: 5.945 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.6265, allocations: 0.774 MB / 0.6052 GB, free: 5.176 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.6266, allocations: 4 kB / 0.6052 GB, free: 5.172 MB / 443.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005041/0.6316, allocations: 2.64 MB / 0.6077 GB, free: 2.52 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/0.6317, allocations: 59.41 kB / 0.6078 GB, free: 2.449 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004118/0.6358, allocations: 2.251 MB / 0.61 GB, free: 200 kB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/0.6389, allocations: 1.039 MB / 0.611 GB, free: 15.15 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.6395, allocations: 151.6 kB / 0.6112 GB, free: 15 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.6517, allocations: 7.883 MB / 0.6189 GB, free: 7 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.6528, allocations: 59.91 kB / 0.6189 GB, free: 6.941 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.6529, allocations: 56 kB / 0.619 GB, free: 6.887 MB / 459.1 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.0003902/0.6533, allocations: 240 kB / 0.6192 GB, free: 6.633 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.6536, allocations: 106.8 kB / 0.6193 GB, free: 6.527 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.6565, allocations: 1.7 MB / 0.621 GB, free: 4.816 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.093e-05/0.6566, allocations: 36 kB / 0.621 GB, free: 4.781 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.6566, allocations: 3.984 kB / 0.621 GB, free: 4.777 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.6566, allocations: 11.98 kB / 0.621 GB, free: 4.766 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/0.662, allocations: 3.227 MB / 0.6242 GB, free: 1.48 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.662, allocations: 0 / 0.6242 GB, free: 1.48 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.6639, allocations: 379.7 kB / 0.6245 GB, free: 1.109 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.6641, allocations: 56.81 kB / 0.6246 GB, free: 1.051 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.6642, allocations: 15.98 kB / 0.6246 GB, free: 1.035 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.6654, allocations: 1.501 MB / 0.6261 GB, free: 15.42 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6654, allocations: 0 / 0.6261 GB, free: 15.42 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.669, allocations: 2.819 MB / 0.6288 GB, free: 12.54 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.6696, allocations: 303.8 kB / 0.6291 GB, free: 12.23 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.6698, allocations: 19.98 kB / 0.6291 GB, free: 12.21 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/0.6704, allocations: 63.89 kB / 0.6292 GB, free: 12.14 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.6707, allocations: 137.1 kB / 0.6293 GB, free: 12.01 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.6708, allocations: 43.92 kB / 0.6293 GB, free: 11.97 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0004196/0.6712, allocations: 346.9 kB / 0.6297 GB, free: 11.63 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.6712, allocations: 0 / 0.6297 GB, free: 11.63 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.00132/0.6725, allocations: 359.9 kB / 0.63 GB, free: 11.28 MB / 475.1 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.0004272/0.673, allocations: 206.1 kB / 0.6302 GB, free: 11.07 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.004363/0.6774, allocations: 2.395 MB / 0.6326 GB, free: 8.637 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6774, allocations: 7.938 kB / 0.6326 GB, free: 8.629 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.6789, allocations: 1.205 MB / 0.6337 GB, free: 7.395 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.6796, allocations: 114 kB / 0.6339 GB, free: 7.277 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.6836, allocations: 2.444 MB / 0.6362 GB, free: 4.793 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.6844, allocations: 1.245 MB / 0.6375 GB, free: 3.52 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0007724/0.6852, allocations: 284.2 kB / 0.6377 GB, free: 3.238 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.6855, allocations: 75.42 kB / 0.6378 GB, free: 3.164 MB / 475.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6855, allocations: 0 / 0.6378 GB, free: 3.164 MB / 475.1 MB Notification: Performance of Templates: time 0.2614/0.9469, allocations: 15.8 MB / 0.6532 GB, free: 138.2 MB / 475.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) 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