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.001616/0.001616, allocations: 178.7 kB / 17.4 MB, free: 4.418 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.65/1.65, allocations: 194.5 MB / 212.6 MB, free: 2.93 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.001763/0.001763, allocations: 108.5 kB / 257.9 MB, free: 4.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1947/0.1947, allocations: 38.01 MB / 341.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005011, allocations: 12 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 53.24 MB / 458.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/0.5556, allocations: 101.1 MB / 0.5463 GB, free: 10.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.556, allocations: 94.17 kB / 0.5464 GB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07017/0.6262, allocations: 25.16 MB / 0.5709 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6262, allocations: 3.938 kB / 0.5709 GB, free: 4.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.233e-05/0.6263, allocations: 20 kB / 0.571 GB, free: 4.266 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.004312/0.6306, allocations: 1.476 MB / 0.5724 GB, free: 2.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.6307, allocations: 8.031 kB / 0.5724 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.6322, allocations: 210.7 kB / 0.5726 GB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.6345, allocations: 0.9296 MB / 0.5735 GB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.6346, allocations: 92.23 kB / 0.5736 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/0.635, allocations: 101.4 kB / 0.5737 GB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.638, allocations: 1.601 MB / 0.5753 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.638, allocations: 11.84 kB / 0.5753 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.6382, allocations: 44.73 kB / 0.5753 GB, free: 380 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.6383, allocations: 75.95 kB / 0.5754 GB, free: 308 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.6407, allocations: 1.415 MB / 0.5768 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008566/0.6493, allocations: 5.765 MB / 0.5824 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.6509, allocations: 1.101 MB / 0.5835 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.652, allocations: 0.835 MB / 0.5843 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.986e-05/0.6521, allocations: 20.42 kB / 0.5843 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.6536, allocations: 1.14 MB / 0.5854 GB, free: 8.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=161): time 4.498e-06/0.6536, allocations: 4 kB / 0.5854 GB, free: 8.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.007442/0.661, allocations: 4.76 MB / 0.5901 GB, free: 4.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6612, allocations: 246.9 kB / 0.5903 GB, free: 3.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.662, allocations: 0.5653 MB / 0.5909 GB, free: 3.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.6621, allocations: 61.69 kB / 0.5909 GB, free: 3.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.6625, allocations: 460.6 kB / 0.5914 GB, free: 2.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/0.6629, allocations: 489.3 kB / 0.5918 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.663, allocations: 32 kB / 0.5919 GB, free: 2.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.6633, allocations: 422.6 kB / 0.5923 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.6644, allocations: 0.6989 MB / 0.5929 GB, free: 1.152 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.6658, allocations: 1.003 MB / 0.5939 GB, free: 48 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.6685, allocations: 1.842 MB / 0.5957 GB, free: 14.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.6686, allocations: 0 / 0.5957 GB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005664/0.6742, allocations: 2.866 MB / 0.5985 GB, free: 11.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.6743, allocations: 63.41 kB / 0.5986 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004438/0.6788, allocations: 2.372 MB / 0.6009 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/0.6819, allocations: 1.074 MB / 0.6019 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.6824, allocations: 147.6 kB / 0.6021 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.6956, allocations: 8.237 MB / 0.6101 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6966, allocations: 91.91 kB / 0.6102 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.6968, allocations: 56 kB / 0.6103 GB, free: 14.99 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 () * 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.001039/0.6979, allocations: 0.4928 MB / 0.6108 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.6982, allocations: 106.8 kB / 0.6109 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.7015, allocations: 1.881 MB / 0.6127 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.258e-05/0.7015, allocations: 43.92 kB / 0.6127 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.7016, allocations: 4 kB / 0.6127 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.7016, allocations: 3.984 kB / 0.6127 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/0.7078, allocations: 3.558 MB / 0.6162 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.7078, allocations: 0 / 0.6162 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.7097, allocations: 383.6 kB / 0.6166 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.7099, allocations: 52.81 kB / 0.6166 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.7101, allocations: 31.98 kB / 0.6167 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.7115, allocations: 1.568 MB / 0.6182 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/0.7115, allocations: 12.03 kB / 0.6182 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/0.716, allocations: 2.966 MB / 0.6211 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/0.7166, allocations: 307.7 kB / 0.6214 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.7169, allocations: 43.98 kB / 0.6214 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.7176, allocations: 79.84 kB / 0.6215 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/0.7179, allocations: 132.8 kB / 0.6216 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/0.718, allocations: 39.98 kB / 0.6217 GB, free: 2.977 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005657/0.7186, allocations: 403 kB / 0.6221 GB, free: 2.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7186, allocations: 0 / 0.6221 GB, free: 2.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001578/0.7202, allocations: 423.9 kB / 0.6225 GB, free: 2.168 MB / 426.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.0004329/0.7207, allocations: 215.9 kB / 0.6227 GB, free: 1.949 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004715/0.7254, allocations: 2.547 MB / 0.6252 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7254, allocations: 0 / 0.6252 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.7271, allocations: 1.257 MB / 0.6264 GB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.7282, allocations: 155.8 kB / 0.6265 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/0.7338, allocations: 3.485 MB / 0.6299 GB, free: 10.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.7351, allocations: 1.221 MB / 0.6311 GB, free: 9.141 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009194/0.736, allocations: 280.3 kB / 0.6314 GB, free: 8.863 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.7364, allocations: 75.44 kB / 0.6315 GB, free: 8.789 MB / 442.7 MB Notification: Performance of SimCode: time 1.392e-06/0.7364, allocations: 4 kB / 0.6315 GB, free: 8.785 MB / 442.7 MB Notification: Performance of Templates: time 0.03326/0.7696, allocations: 16.63 MB / 0.6477 GB, free: 8.156 MB / 458.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)