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.001049/0.001049, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.476/1.476, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009272/0.0009271, allocations: 93.86 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2064/0.2064, allocations: 38.06 MB / 357.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003011, allocations: 15.98 kB / 424 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2578, allocations: 56.31 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.3933, allocations: 106.2 MB / 0.5727 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.3936, allocations: 91.95 kB / 0.5728 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06743/0.461, allocations: 25.19 MB / 0.5974 GB, free: 2.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.461, allocations: 0 / 0.5974 GB, free: 2.648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.175e-05/0.4611, allocations: 24 kB / 0.5974 GB, free: 2.625 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.00279/0.4639, allocations: 1.493 MB / 0.5989 GB, free: 1.043 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4639, allocations: 8.031 kB / 0.5989 GB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.465, allocations: 203 kB / 0.5991 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.4685, allocations: 1.317 MB / 0.6004 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.853e-05/0.4686, allocations: 89.97 kB / 0.6005 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.4688, allocations: 111.8 kB / 0.6006 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.4711, allocations: 1.587 MB / 0.6021 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.4712, allocations: 7.922 kB / 0.6021 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.4713, allocations: 47.98 kB / 0.6022 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.743e-05/0.4714, allocations: 69.97 kB / 0.6022 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.4737, allocations: 1.405 MB / 0.6036 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008131/0.4818, allocations: 5.772 MB / 0.6093 GB, free: 6.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.4833, allocations: 1.095 MB / 0.6103 GB, free: 5.016 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.098e-05/0.4834, allocations: 13.06 kB / 0.6103 GB, free: 5.004 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.4848, allocations: 1.147 MB / 0.6115 GB, free: 3.824 MB / 442.7 MB Notification: Performance of pre-optimization done (n=161): time 2.916e-06/0.4849, allocations: 1.531 kB / 0.6115 GB, free: 3.824 MB / 442.7 MB Notification: Performance of matching and sorting (n=162): time 0.007002/0.4919, allocations: 5.265 MB / 0.6166 GB, free: 14.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.492, allocations: 238.9 kB / 0.6168 GB, free: 14.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.4926, allocations: 0.506 MB / 0.6173 GB, free: 13.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.4927, allocations: 65.75 kB / 0.6174 GB, free: 13.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.4931, allocations: 456.5 kB / 0.6178 GB, free: 13.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.4934, allocations: 489.4 kB / 0.6183 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.4935, allocations: 31.94 kB / 0.6183 GB, free: 12.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4937, allocations: 418.7 kB / 0.6187 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.4947, allocations: 0.7027 MB / 0.6194 GB, free: 11.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.4959, allocations: 0.9989 MB / 0.6204 GB, free: 10.28 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.497, allocations: 0.8599 MB / 0.6212 GB, free: 9.406 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.497, allocations: 0 / 0.6212 GB, free: 9.406 MB / 458.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005061/0.5021, allocations: 2.862 MB / 0.624 GB, free: 6.523 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.5022, allocations: 67.36 kB / 0.6241 GB, free: 6.445 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004275/0.5064, allocations: 2.372 MB / 0.6264 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/0.5096, allocations: 1.078 MB / 0.6274 GB, free: 2.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.5102, allocations: 147.6 kB / 0.6276 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.5236, allocations: 8.607 MB / 0.636 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.5246, allocations: 99.8 kB / 0.6361 GB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/0.5249, allocations: 52 kB / 0.6361 GB, free: 9.941 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.0009726/0.5259, allocations: 0.4889 MB / 0.6366 GB, free: 9.434 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.5262, allocations: 102.8 kB / 0.6367 GB, free: 9.332 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.5292, allocations: 1.889 MB / 0.6386 GB, free: 7.418 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/0.5293, allocations: 39.98 kB / 0.6386 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5293, allocations: 0 / 0.6386 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.5293, allocations: 7.969 kB / 0.6386 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006811/0.5361, allocations: 3.57 MB / 0.6421 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5362, allocations: 0 / 0.6421 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.5383, allocations: 375.7 kB / 0.6424 GB, free: 3.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.5385, allocations: 64.75 kB / 0.6425 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.5386, allocations: 31.98 kB / 0.6425 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.5401, allocations: 1.564 MB / 0.6441 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5401, allocations: 0 / 0.6441 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1934/0.7335, allocations: 3.012 MB / 0.647 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.7347, allocations: 304.4 kB / 0.6473 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/0.7351, allocations: 36.89 kB / 0.6473 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/0.736, allocations: 81.44 kB / 0.6474 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/0.7364, allocations: 140.1 kB / 0.6475 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.7366, allocations: 40.67 kB / 0.6476 GB, free: 136.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006751/0.7373, allocations: 404.2 kB / 0.648 GB, free: 136.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7373, allocations: 0 / 0.648 GB, free: 136.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001718/0.739, allocations: 411.5 kB / 0.6484 GB, free: 136.5 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.0004252/0.7394, allocations: 213 kB / 0.6486 GB, free: 136.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004465/0.7439, allocations: 2.551 MB / 0.6511 GB, free: 136.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7439, allocations: 0 / 0.6511 GB, free: 136.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.7455, allocations: 1.259 MB / 0.6523 GB, free: 135.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.7463, allocations: 134.1 kB / 0.6524 GB, free: 135.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.7512, allocations: 3.503 MB / 0.6558 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009636/0.7522, allocations: 1.248 MB / 0.6571 GB, free: 133.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008696/0.7531, allocations: 283.8 kB / 0.6573 GB, free: 133.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.7534, allocations: 75.19 kB / 0.6574 GB, free: 133.9 MB / 474.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7534, allocations: 0 / 0.6574 GB, free: 133.9 MB / 474.7 MB Notification: Performance of Templates: time 0.02638/0.7798, allocations: 16.56 MB / 0.6736 GB, free: 133 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