Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.FaultRXline.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001315/0.001319, allocations: 184.8 kB / 16.38 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.69/1.69, allocations: 194.5 MB / 211.6 MB, free: 7.516 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001793/0.001792, allocations: 116.6 kB / 256.9 MB, free: 10.13 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.228/0.228, allocations: 38.01 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004767, allocations: 14.69 kB / 403.8 MB, free: 55.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07302/0.07352, allocations: 53.23 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.FaultRXline): time 0.006695/0.08026, allocations: 7.029 MB / 464 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00365/0.08393, allocations: 2.585 MB / 466.6 MB, free: 0.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.08433, allocations: 43.69 kB / 466.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.08474, allocations: 178.9 kB / 466.8 MB, free: 500 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.08584, allocations: 0.5142 MB / 467.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.08695, allocations: 415 kB / 467.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.08802, allocations: 0.7576 MB / 468.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.08986, allocations: 0.9628 MB / 469.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.09058, allocations: 478.3 kB / 470 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008279/0.09143, allocations: 0.5686 MB / 470.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.09162, allocations: 56 kB / 470.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.0925, allocations: 447.4 kB / 471 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005972/0.09312, allocations: 0.5027 MB / 471.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.09343, allocations: 241 kB / 471.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.09498, allocations: 1.231 MB / 473 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.431e-06/0.09499, allocations: 0 / 473 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.167e-06/0.09501, allocations: 0 / 473 MB, free: 10.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.09503, allocations: 0 / 473 MB, free: 10.3 MB / 314.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.003014/0.09805, allocations: 1.463 MB / 474.4 MB, free: 8.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.09811, allocations: 12.02 kB / 474.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.09933, allocations: 198.3 kB / 474.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.1009, allocations: 0.697 MB / 475.3 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.101, allocations: 85.98 kB / 475.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.1013, allocations: 131.8 kB / 475.6 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.1046, allocations: 1.609 MB / 477.2 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.1046, allocations: 11.94 kB / 477.2 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.1048, allocations: 47.97 kB / 477.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002544/0.105, allocations: 73.97 kB / 477.3 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.1082, allocations: 1.452 MB / 478.8 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.1187, allocations: 5.856 MB / 484.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.1213, allocations: 1.568 MB / 486.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/0.1213, allocations: 17 kB / 486.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/0.1234, allocations: 1.127 MB / 487.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=157): time 4.645e-06/0.1234, allocations: 0 / 487.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=158): time 0.009851/0.1333, allocations: 5.145 MB / 492.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.1335, allocations: 247.2 kB / 492.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.1343, allocations: 0.5771 MB / 493.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.1345, allocations: 61.7 kB / 493.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.1349, allocations: 472.3 kB / 493.8 MB, free: 4.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.1354, allocations: 477.5 kB / 494.3 MB, free: 4.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1356, allocations: 28 kB / 494.3 MB, free: 4.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002979/0.1359, allocations: 418.7 kB / 494.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.1373, allocations: 0.6793 MB / 495.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.1391, allocations: 0.9928 MB / 496.4 MB, free: 1.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.1408, allocations: 0.8439 MB / 497.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.1408, allocations: 4 kB / 497.2 MB, free: 1.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007072/0.1479, allocations: 2.819 MB / 0.4883 GB, free: 14.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.148, allocations: 63.16 kB / 0.4884 GB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00589/0.1539, allocations: 2.314 MB / 0.4906 GB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004219/0.1581, allocations: 1.067 MB / 0.4917 GB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.1587, allocations: 155.6 kB / 0.4918 GB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/0.1767, allocations: 8.576 MB / 0.5002 GB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.1776, allocations: 91.91 kB / 0.5003 GB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.1778, allocations: 59.94 kB / 0.5004 GB, free: 1.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (148): * Single equations (assignments): 142 * Array equations: 3 * 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.000893/0.1787, allocations: 0.5043 MB / 0.5008 GB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.179, allocations: 102.8 kB / 0.5009 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.1829, allocations: 1.865 MB / 0.5028 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/0.183, allocations: 35.98 kB / 0.5028 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.183, allocations: 7.953 kB / 0.5028 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.1831, allocations: 3.984 kB / 0.5028 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007281/0.1904, allocations: 3.519 MB / 0.5063 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.027e-06/0.1904, allocations: 0 / 0.5063 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/0.1927, allocations: 363.6 kB / 0.5066 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/0.1929, allocations: 56.81 kB / 0.5067 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.1931, allocations: 35.97 kB / 0.5067 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.1949, allocations: 1.568 MB / 0.5082 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1949, allocations: 192 / 0.5082 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005816/0.2007, allocations: 2.99 MB / 0.5111 GB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/0.2014, allocations: 295.8 kB / 0.5114 GB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.2016, allocations: 43.94 kB / 0.5115 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007834/0.2024, allocations: 75.91 kB / 0.5115 GB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/0.2028, allocations: 136.7 kB / 0.5117 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.2029, allocations: 43.98 kB / 0.5117 GB, free: 5.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006313/0.2036, allocations: 411 kB / 0.5121 GB, free: 5.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.2036, allocations: 0 / 0.5121 GB, free: 5.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001465/0.2051, allocations: 392 kB / 0.5125 GB, free: 5.008 MB / 362.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_c.closed,switch1.switch_b.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,abc.v_pos,abc.first,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_b.open,switch2.switch_c.open,switch2.switch_a.open,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_b.open,switch1.switch_c.open,switch1.switch_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 107 * Array equations: 3 * 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.0003518/0.2054, allocations: 183.1 kB / 0.5126 GB, free: 4.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005575/0.211, allocations: 2.526 MB / 0.5151 GB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.239e-06/0.211, allocations: 0 / 0.5151 GB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.2133, allocations: 1.245 MB / 0.5163 GB, free: 0.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.2141, allocations: 143.7 kB / 0.5165 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.2203, allocations: 3.468 MB / 0.5199 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.2215, allocations: 1.249 MB / 0.5211 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000956/0.2224, allocations: 272.3 kB / 0.5213 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.2228, allocations: 79.42 kB / 0.5214 GB, free: 11.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2228, allocations: 0 / 0.5214 GB, free: 11.68 MB / 378.7 MB Notification: Performance of Templates: time 0.2612/0.4841, allocations: 16.23 MB / 0.5373 GB, free: 78.63 MB / 378.7 MB