Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001746/0.001746, allocations: 181.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.685/1.685, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 115.8 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1692/0.1692, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.729e-05/4.731e-05, allocations: 4 kB / 397.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3971, allocations: 53.21 MB / 450.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.494/0.8911, allocations: 101 MB / 0.5388 GB, free: 33.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.8915, allocations: 88.81 kB / 0.5389 GB, free: 33.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06583/0.9573, allocations: 25.17 MB / 0.5635 GB, free: 30.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.9574, allocations: 0 / 0.5635 GB, free: 30.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.884e-05/0.9574, allocations: 27.53 kB / 0.5635 GB, free: 30.11 MB / 378.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.003125/0.9606, allocations: 1.388 MB / 0.5649 GB, free: 29.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.9607, allocations: 7.656 kB / 0.5649 GB, free: 29.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.9618, allocations: 206.6 kB / 0.5651 GB, free: 29.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/0.9648, allocations: 1.288 MB / 0.5663 GB, free: 28.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.9648, allocations: 89.14 kB / 0.5664 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.965, allocations: 106.5 kB / 0.5665 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.9672, allocations: 1.572 MB / 0.568 GB, free: 28.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.9672, allocations: 7.844 kB / 0.5681 GB, free: 28.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.9673, allocations: 47.95 kB / 0.5681 GB, free: 28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.6e-05/0.9675, allocations: 72.25 kB / 0.5682 GB, free: 27.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.9694, allocations: 1.387 MB / 0.5695 GB, free: 27.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007552/0.977, allocations: 5.759 MB / 0.5751 GB, free: 24.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.9783, allocations: 1.081 MB / 0.5762 GB, free: 24.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009329/0.9793, allocations: 0.8225 MB / 0.577 GB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.9794, allocations: 18.5 kB / 0.577 GB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/0.9807, allocations: 1.134 MB / 0.5781 GB, free: 23.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=161): time 3.086e-06/0.9807, allocations: 0 / 0.5781 GB, free: 23.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=162): time 0.005328/0.9861, allocations: 3.926 MB / 0.582 GB, free: 22.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.9862, allocations: 238.1 kB / 0.5822 GB, free: 22.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.9868, allocations: 0.502 MB / 0.5827 GB, free: 22.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/0.9869, allocations: 60.06 kB / 0.5827 GB, free: 22.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.9872, allocations: 453.3 kB / 0.5832 GB, free: 21.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.9875, allocations: 494.6 kB / 0.5836 GB, free: 21.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.9876, allocations: 28.94 kB / 0.5837 GB, free: 21.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9877, allocations: 424.6 kB / 0.5841 GB, free: 21.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008435/0.9886, allocations: 0.6966 MB / 0.5848 GB, free: 21.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.9896, allocations: 0.9782 MB / 0.5857 GB, free: 20.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.9907, allocations: 0.8527 MB / 0.5865 GB, free: 20.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.9907, allocations: 7.844 kB / 0.5865 GB, free: 20.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004739/0.9955, allocations: 2.83 MB / 0.5893 GB, free: 19.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.9955, allocations: 63.08 kB / 0.5894 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003872/0.9994, allocations: 2.347 MB / 0.5917 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/1.002, allocations: 1.072 MB / 0.5927 GB, free: 18.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/1.003, allocations: 145.7 kB / 0.5929 GB, free: 18.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.015, allocations: 8.203 MB / 0.6009 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.016, allocations: 95.86 kB / 0.601 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/1.016, allocations: 56 kB / 0.601 GB, free: 15.1 MB / 378.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.0003835/1.017, allocations: 295.8 kB / 0.6013 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/1.017, allocations: 106.8 kB / 0.6014 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/1.019, allocations: 1.873 MB / 0.6032 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/1.019, allocations: 35.98 kB / 0.6033 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.019, allocations: 0 / 0.6033 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.02, allocations: 11.97 kB / 0.6033 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/1.025, allocations: 3.535 MB / 0.6067 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.025, allocations: 4 kB / 0.6067 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/1.026, allocations: 375.7 kB / 0.6071 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/1.027, allocations: 56.77 kB / 0.6071 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/1.027, allocations: 35.97 kB / 0.6072 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/1.028, allocations: 1.56 MB / 0.6087 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.028, allocations: 0 / 0.6087 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/1.032, allocations: 2.988 MB / 0.6116 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007122/1.032, allocations: 303.8 kB / 0.6119 GB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/1.033, allocations: 39.98 kB / 0.6119 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/1.033, allocations: 83.91 kB / 0.612 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/1.034, allocations: 136.9 kB / 0.6121 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.034, allocations: 39.98 kB / 0.6122 GB, free: 3.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006058/1.034, allocations: 395.2 kB / 0.6126 GB, free: 2.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.034, allocations: 0 / 0.6126 GB, free: 2.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001631/1.036, allocations: 416 kB / 0.613 GB, free: 2.5 MB / 378.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.0004402/1.036, allocations: 226.8 kB / 0.6132 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004268/1.041, allocations: 2.504 MB / 0.6156 GB, free: 15.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.041, allocations: 0 / 0.6156 GB, free: 15.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.042, allocations: 1.241 MB / 0.6168 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/1.043, allocations: 136.7 kB / 0.617 GB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/1.048, allocations: 2.512 MB / 0.6194 GB, free: 11.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.049, allocations: 1.257 MB / 0.6206 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008308/1.05, allocations: 276.3 kB / 0.6209 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/1.05, allocations: 75.42 kB / 0.621 GB, free: 10.12 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/1.05, allocations: 3.938 kB / 0.621 GB, free: 10.12 MB / 394.7 MB Notification: Performance of Templates: time 0.03009/1.08, allocations: 16.64 MB / 0.6372 GB, free: 9.469 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe 2>&1)