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.001339/0.001338, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.639/1.639, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001672/0.001671, allocations: 116.7 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1556/0.1556, allocations: 37.93 MB / 330.9 MB, free: 2.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.464e-05, allocations: 4 kB / 390.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2541, allocations: 53.21 MB / 443.6 MB, free: 17.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.6252, allocations: 100.3 MB / 0.5312 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.6255, allocations: 86.75 kB / 0.5313 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06441/0.6899, allocations: 24.95 MB / 0.5556 GB, free: 33.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.69, allocations: 3.875 kB / 0.5556 GB, free: 33.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.737e-05/0.69, allocations: 27.47 kB / 0.5556 GB, free: 33.04 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.002412/0.6925, allocations: 1.386 MB / 0.557 GB, free: 32.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.6925, allocations: 7.812 kB / 0.557 GB, free: 32.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6935, allocations: 206 kB / 0.5572 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.6965, allocations: 1.291 MB / 0.5585 GB, free: 31.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.6965, allocations: 42.92 kB / 0.5585 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.6967, allocations: 66.09 kB / 0.5586 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001775/0.6985, allocations: 1.278 MB / 0.5598 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.7003, allocations: 1.431 MB / 0.5612 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.7003, allocations: 7.844 kB / 0.5612 GB, free: 31.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.7004, allocations: 11.64 kB / 0.5612 GB, free: 31.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.5e-05/0.7005, allocations: 74.77 kB / 0.5613 GB, free: 31.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006519/0.707, allocations: 5.565 MB / 0.5667 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.7082, allocations: 1.034 MB / 0.5677 GB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007811/0.709, allocations: 0.8016 MB / 0.5685 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/0.7091, allocations: 20.52 kB / 0.5685 GB, free: 29.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.7103, allocations: 1.091 MB / 0.5696 GB, free: 28.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=161): time 2.965e-06/0.7103, allocations: 0 / 0.5696 GB, free: 28.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=162): time 0.004724/0.715, allocations: 3.564 MB / 0.5731 GB, free: 28.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.7151, allocations: 253.2 kB / 0.5733 GB, free: 27.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.7156, allocations: 459.9 kB / 0.5738 GB, free: 27.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.7157, allocations: 37.02 kB / 0.5738 GB, free: 27.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.716, allocations: 452 kB / 0.5742 GB, free: 27.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.7164, allocations: 483.8 kB / 0.5747 GB, free: 26.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.7164, allocations: 0 / 0.5747 GB, free: 26.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7166, allocations: 411.7 kB / 0.5751 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.7174, allocations: 0.6577 MB / 0.5757 GB, free: 26.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009182/0.7183, allocations: 0.9431 MB / 0.5767 GB, free: 26.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.7193, allocations: 0.78 MB / 0.5774 GB, free: 26.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.7194, allocations: 3.812 kB / 0.5774 GB, free: 26.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004351/0.7237, allocations: 2.632 MB / 0.58 GB, free: 25.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.7238, allocations: 67.16 kB / 0.5801 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003716/0.7275, allocations: 2.248 MB / 0.5823 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.7304, allocations: 1.039 MB / 0.5833 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.7309, allocations: 144.7 kB / 0.5834 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.7414, allocations: 7.882 MB / 0.5911 GB, free: 21.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.7425, allocations: 66.78 kB / 0.5912 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7426, allocations: 56.62 kB / 0.5912 GB, free: 21.49 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.000373/0.743, allocations: 246.5 kB / 0.5915 GB, free: 21.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.7432, allocations: 100.7 kB / 0.5916 GB, free: 21.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.7456, allocations: 1.7 MB / 0.5932 GB, free: 20.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.182e-05/0.7457, allocations: 32.8 kB / 0.5932 GB, free: 20.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7457, allocations: 3.188 kB / 0.5932 GB, free: 20.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.7457, allocations: 12.03 kB / 0.5933 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.75, allocations: 3.223 MB / 0.5964 GB, free: 18.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7501, allocations: 3.984 kB / 0.5964 GB, free: 18.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.752, allocations: 383.3 kB / 0.5968 GB, free: 18.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.7522, allocations: 51 kB / 0.5968 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.153e-05/0.7523, allocations: 22.59 kB / 0.5968 GB, free: 18.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008943/0.7532, allocations: 1.497 MB / 0.5983 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7532, allocations: 0 / 0.5983 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.7564, allocations: 2.815 MB / 0.6011 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.7569, allocations: 295.9 kB / 0.6013 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.7571, allocations: 23.98 kB / 0.6014 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.7577, allocations: 59.91 kB / 0.6014 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.7579, allocations: 133.1 kB / 0.6015 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/0.758, allocations: 43.98 kB / 0.6016 GB, free: 14.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003652/0.7584, allocations: 342.9 kB / 0.6019 GB, free: 13.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7584, allocations: 3.938 kB / 0.6019 GB, free: 13.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001308/0.7597, allocations: 371.9 kB / 0.6023 GB, free: 13.49 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.0003704/0.7601, allocations: 203.5 kB / 0.6025 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003722/0.7638, allocations: 2.403 MB / 0.6048 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7638, allocations: 4.125 kB / 0.6048 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.765, allocations: 1.208 MB / 0.606 GB, free: 9.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006545/0.7657, allocations: 114.9 kB / 0.6061 GB, free: 9.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.7691, allocations: 2.459 MB / 0.6085 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.7697, allocations: 1.245 MB / 0.6097 GB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006788/0.7703, allocations: 276.2 kB / 0.61 GB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.7706, allocations: 79.42 kB / 0.6101 GB, free: 5.363 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7706, allocations: 0 / 0.6101 GB, free: 5.363 MB / 378.7 MB Notification: Performance of Templates: time 0.02552/0.7962, allocations: 15.8 MB / 0.6255 GB, free: 5.57 MB / 394.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)