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.001057/0.001057, allocations: 179.2 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.2+maint.om/package.mo): time 1.296/1.296, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001584/0.001584, allocations: 112.3 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.16/0.16, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 20 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.0863, allocations: 53.22 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/0.3953, allocations: 101.1 MB / 0.545 GB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.3955, allocations: 93.56 kB / 0.5451 GB, free: 10.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06502/0.4605, allocations: 25.18 MB / 0.5697 GB, free: 4.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4606, allocations: 0 / 0.5697 GB, free: 4.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.727e-05/0.4606, allocations: 24 kB / 0.5697 GB, free: 4.609 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.002826/0.4634, allocations: 1.485 MB / 0.5712 GB, free: 3.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4635, allocations: 12.02 kB / 0.5712 GB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.4646, allocations: 214.2 kB / 0.5714 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.4676, allocations: 1.303 MB / 0.5727 GB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.112e-05/0.4677, allocations: 92.47 kB / 0.5727 GB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.4679, allocations: 98.5 kB / 0.5728 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.47, allocations: 1.586 MB / 0.5744 GB, free: 440 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.4701, allocations: 15.83 kB / 0.5744 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.4702, allocations: 46.11 kB / 0.5744 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.523e-05/0.4703, allocations: 69.22 kB / 0.5745 GB, free: 344 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.4722, allocations: 1.416 MB / 0.5759 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007366/0.4796, allocations: 5.765 MB / 0.5815 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.481, allocations: 1.091 MB / 0.5826 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.427e-05/0.4811, allocations: 20.42 kB / 0.5826 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.4824, allocations: 1.135 MB / 0.5837 GB, free: 8.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=161): time 2.435e-06/0.4824, allocations: 3.938 kB / 0.5837 GB, free: 8.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.006701/0.4891, allocations: 5.269 MB / 0.5889 GB, free: 4.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.4893, allocations: 242.9 kB / 0.5891 GB, free: 4.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.4899, allocations: 0.4982 MB / 0.5896 GB, free: 3.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-05/0.49, allocations: 65.67 kB / 0.5896 GB, free: 3.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.4903, allocations: 456.6 kB / 0.5901 GB, free: 3.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.4907, allocations: 489.3 kB / 0.5905 GB, free: 2.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.4908, allocations: 28 kB / 0.5906 GB, free: 2.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4909, allocations: 418.8 kB / 0.591 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00099/0.4919, allocations: 0.6989 MB / 0.5917 GB, free: 1.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.4931, allocations: 1.003 MB / 0.5926 GB, free: 412 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.4943, allocations: 0.8676 MB / 0.5935 GB, free: 15.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4943, allocations: 4 kB / 0.5935 GB, free: 15.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005202/0.4995, allocations: 2.859 MB / 0.5963 GB, free: 12.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.4996, allocations: 63.41 kB / 0.5963 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004217/0.5038, allocations: 2.372 MB / 0.5987 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00331/0.5071, allocations: 1.078 MB / 0.5997 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.5076, allocations: 147.7 kB / 0.5998 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.5204, allocations: 8.6 MB / 0.6082 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/0.5213, allocations: 103.9 kB / 0.6083 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.894e-05/0.5214, allocations: 63.92 kB / 0.6084 GB, free: 60 kB / 410.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.000756/0.5222, allocations: 492.7 kB / 0.6089 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.5224, allocations: 102.8 kB / 0.609 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.5252, allocations: 1.885 MB / 0.6108 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/0.5252, allocations: 39.94 kB / 0.6109 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.5252, allocations: 4 kB / 0.6109 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.5253, allocations: 11.95 kB / 0.6109 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.5304, allocations: 3.547 MB / 0.6143 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5305, allocations: 4.094 kB / 0.6143 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/0.5324, allocations: 383.6 kB / 0.6147 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.5326, allocations: 52.81 kB / 0.6148 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.624e-05/0.5327, allocations: 31.98 kB / 0.6148 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.5339, allocations: 1.564 MB / 0.6163 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/0.534, allocations: 7.938 kB / 0.6163 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.538, allocations: 3.023 MB / 0.6193 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006558/0.5387, allocations: 303.8 kB / 0.6196 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5389, allocations: 43.98 kB / 0.6196 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/0.5395, allocations: 79.91 kB / 0.6197 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.5398, allocations: 128.8 kB / 0.6198 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/0.5399, allocations: 43.98 kB / 0.6198 GB, free: 3.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.5404, allocations: 403 kB / 0.6202 GB, free: 3.594 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5404, allocations: 0 / 0.6202 GB, free: 3.594 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001248/0.5416, allocations: 427.9 kB / 0.6206 GB, free: 3.176 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.0003706/0.542, allocations: 207 kB / 0.6208 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004302/0.5463, allocations: 2.55 MB / 0.6233 GB, free: 380 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5463, allocations: 0 / 0.6233 GB, free: 380 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.548, allocations: 1.254 MB / 0.6245 GB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.5489, allocations: 146.8 kB / 0.6247 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.554, allocations: 3.483 MB / 0.6281 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009292/0.5549, allocations: 1.253 MB / 0.6293 GB, free: 10.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008132/0.5558, allocations: 284.3 kB / 0.6296 GB, free: 9.848 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.5561, allocations: 71.44 kB / 0.6297 GB, free: 9.777 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5561, allocations: 3.938 kB / 0.6297 GB, free: 9.773 MB / 442.7 MB Notification: Performance of Templates: time 0.02627/0.5824, allocations: 16.56 MB / 0.6458 GB, free: 9.215 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)