Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001706/0.001705, allocations: 182 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 94.73 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2581/0.2581, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004635, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.615, allocations: 106.2 MB / 0.5715 GB, free: 9.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.6154, allocations: 99.06 kB / 0.5716 GB, free: 9.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1136/0.729, allocations: 25.19 MB / 0.5962 GB, free: 4.062 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7291, allocations: 4 kB / 0.5962 GB, free: 4.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.91e-05/0.7292, allocations: 20 kB / 0.5962 GB, free: 4.039 MB / 394.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.005153/0.7344, allocations: 1.495 MB / 0.5977 GB, free: 2.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.7344, allocations: 12.03 kB / 0.5977 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.7365, allocations: 202.5 kB / 0.5979 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005395/0.7419, allocations: 1.304 MB / 0.5991 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.7421, allocations: 94.05 kB / 0.5992 GB, free: 1.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.7425, allocations: 105.8 kB / 0.5993 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004681/0.7472, allocations: 1.607 MB / 0.6009 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/0.7473, allocations: 11.94 kB / 0.6009 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.7475, allocations: 46.8 kB / 0.601 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/0.7477, allocations: 73.48 kB / 0.601 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/0.7519, allocations: 1.407 MB / 0.6024 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.7663, allocations: 5.767 MB / 0.608 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.7691, allocations: 1.104 MB / 0.6091 GB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.7693, allocations: 13.06 kB / 0.6091 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002795/0.7721, allocations: 1.143 MB / 0.6102 GB, free: 8.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=161): time 6.182e-06/0.7721, allocations: 0 / 0.6102 GB, free: 8.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.01433/0.7865, allocations: 5.258 MB / 0.6154 GB, free: 4.012 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002036/0.7867, allocations: 246 kB / 0.6156 GB, free: 3.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.7879, allocations: 0.497 MB / 0.6161 GB, free: 3.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003764/0.7883, allocations: 64.25 kB / 0.6162 GB, free: 3.281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/0.7889, allocations: 492.8 kB / 0.6166 GB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008712/0.7898, allocations: 485.4 kB / 0.6171 GB, free: 2.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.7899, allocations: 31.94 kB / 0.6171 GB, free: 2.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.7902, allocations: 382.8 kB / 0.6175 GB, free: 1.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.7923, allocations: 0.7028 MB / 0.6182 GB, free: 1.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.7949, allocations: 0.9989 MB / 0.6191 GB, free: 108 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.7975, allocations: 0.856 MB / 0.62 GB, free: 15.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.7976, allocations: 4 kB / 0.62 GB, free: 15.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01052/0.8081, allocations: 2.827 MB / 0.6227 GB, free: 12.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.754e-05/0.8082, allocations: 70.16 kB / 0.6228 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009057/0.8173, allocations: 2.372 MB / 0.6251 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006337/0.8237, allocations: 1.078 MB / 0.6262 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.8248, allocations: 147.6 kB / 0.6263 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02462/0.8495, allocations: 8.603 MB / 0.6347 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.8511, allocations: 95.81 kB / 0.6348 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.8513, allocations: 52 kB / 0.6349 GB, free: 15.82 MB / 442.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.001189/0.8525, allocations: 0.4933 MB / 0.6353 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.8529, allocations: 106.8 kB / 0.6355 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005331/0.8582, allocations: 1.885 MB / 0.6373 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-05/0.8584, allocations: 39.98 kB / 0.6373 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.8584, allocations: 4 kB / 0.6373 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.8584, allocations: 3.984 kB / 0.6373 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.8688, allocations: 3.566 MB / 0.6408 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.8689, allocations: 0 / 0.6408 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004019/0.8729, allocations: 375.7 kB / 0.6412 GB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003088/0.8733, allocations: 64.75 kB / 0.6412 GB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003194/0.8736, allocations: 31.98 kB / 0.6413 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.8756, allocations: 1.568 MB / 0.6428 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8756, allocations: 0 / 0.6428 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/0.8835, allocations: 3.015 MB / 0.6457 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/0.8846, allocations: 307.8 kB / 0.646 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.8849, allocations: 35.98 kB / 0.6461 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.886, allocations: 91.84 kB / 0.6462 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.8865, allocations: 128.8 kB / 0.6463 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.8867, allocations: 43.97 kB / 0.6463 GB, free: 3.719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008052/0.8875, allocations: 399.1 kB / 0.6467 GB, free: 3.332 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.8875, allocations: 0 / 0.6467 GB, free: 3.332 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002331/0.8899, allocations: 419.9 kB / 0.6471 GB, free: 2.922 MB / 442.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.0005835/0.8905, allocations: 222.8 kB / 0.6473 GB, free: 2.695 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008169/0.8987, allocations: 2.539 MB / 0.6498 GB, free: 120 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8987, allocations: 128 / 0.6498 GB, free: 120 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003131/0.9019, allocations: 1.241 MB / 0.651 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.9032, allocations: 139.1 kB / 0.6511 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/0.912, allocations: 3.584 MB / 0.6546 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.9134, allocations: 1.25 MB / 0.6559 GB, free: 9.793 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007672/0.9142, allocations: 83.42 kB / 0.6559 GB, free: 9.711 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/0.9142, allocations: 0 / 0.6559 GB, free: 9.711 MB / 458.7 MB Notification: Performance of Templates: time 0.04267/0.9569, allocations: 19 MB / 0.6745 GB, free: 6.691 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.pipe 2>&1)