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.001497/0.001497, allocations: 185.7 kB / 13.19 MB, free: 2.125 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 1.975/1.975, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001119/0.001118, allocations: 102.6 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2679/0.2679, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.178e-05, allocations: 0 / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 56.32 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4818/0.5838, allocations: 106.1 MB / 0.5656 GB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.5842, allocations: 87.95 kB / 0.5657 GB, free: 13.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1194/0.7036, allocations: 25.18 MB / 0.5903 GB, free: 4.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7036, allocations: 0 / 0.5903 GB, free: 4.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.785e-05/0.7037, allocations: 24 kB / 0.5903 GB, free: 4.047 MB / 426.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.005148/0.7089, allocations: 1.384 MB / 0.5917 GB, free: 2.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.709, allocations: 12.03 kB / 0.5917 GB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.7111, allocations: 203 kB / 0.5919 GB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/0.7168, allocations: 1.297 MB / 0.5931 GB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.717, allocations: 85.97 kB / 0.5932 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.7175, allocations: 107.9 kB / 0.5933 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004736/0.7222, allocations: 1.571 MB / 0.5949 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.7223, allocations: 3.938 kB / 0.5949 GB, free: 15.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.7225, allocations: 51.92 kB / 0.5949 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.7227, allocations: 73.97 kB / 0.595 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.7271, allocations: 1.382 MB / 0.5963 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.7433, allocations: 5.764 MB / 0.602 GB, free: 7.727 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.7463, allocations: 1.096 MB / 0.603 GB, free: 6.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/0.7485, allocations: 0.8342 MB / 0.6038 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.7487, allocations: 9 kB / 0.6039 GB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002827/0.7516, allocations: 1.128 MB / 0.605 GB, free: 4.605 MB / 442.7 MB Notification: Performance of pre-optimization done (n=161): time 9.147e-06/0.7516, allocations: 0 / 0.605 GB, free: 4.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=162): time 0.01074/0.7624, allocations: 3.931 MB / 0.6088 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.7626, allocations: 242.9 kB / 0.609 GB, free: 296 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.7637, allocations: 0.4892 MB / 0.6095 GB, free: 15.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003437/0.7641, allocations: 61.69 kB / 0.6096 GB, free: 15.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/0.7646, allocations: 490.9 kB / 0.61 GB, free: 15.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007975/0.7654, allocations: 489.4 kB / 0.6105 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.7656, allocations: 28 kB / 0.6105 GB, free: 14.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.7658, allocations: 378.8 kB / 0.6109 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.7678, allocations: 0.6951 MB / 0.6116 GB, free: 13.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.7702, allocations: 0.9834 MB / 0.6125 GB, free: 12.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.7726, allocations: 0.8595 MB / 0.6134 GB, free: 11.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.7726, allocations: 0 / 0.6134 GB, free: 11.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01006/0.7827, allocations: 2.804 MB / 0.6161 GB, free: 8.879 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.7828, allocations: 67.34 kB / 0.6162 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008525/0.7914, allocations: 2.353 MB / 0.6185 GB, free: 6.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006135/0.7976, allocations: 1.067 MB / 0.6195 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.7987, allocations: 143.7 kB / 0.6196 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02356/0.8223, allocations: 8.191 MB / 0.6276 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.8241, allocations: 99.75 kB / 0.6277 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/0.8244, allocations: 63.98 kB / 0.6278 GB, free: 12.75 MB / 474.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.0005865/0.825, allocations: 299.9 kB / 0.6281 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.8254, allocations: 102.8 kB / 0.6282 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/0.8306, allocations: 1.862 MB / 0.63 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.941e-05/0.8307, allocations: 35.98 kB / 0.63 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8307, allocations: 0 / 0.63 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/0.8308, allocations: 15.92 kB / 0.6301 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.8412, allocations: 3.539 MB / 0.6335 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.8413, allocations: 4 kB / 0.6335 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004018/0.8453, allocations: 379.7 kB / 0.6339 GB, free: 6.395 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/0.8457, allocations: 48.81 kB / 0.6339 GB, free: 6.344 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003377/0.846, allocations: 35.98 kB / 0.634 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.848, allocations: 1.564 MB / 0.6355 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8481, allocations: 3.938 kB / 0.6355 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007875/0.856, allocations: 2.98 MB / 0.6384 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.8571, allocations: 299.8 kB / 0.6387 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/0.8575, allocations: 47.88 kB / 0.6387 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.8588, allocations: 79.84 kB / 0.6388 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005254/0.8594, allocations: 136.8 kB / 0.6389 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.8596, allocations: 43.98 kB / 0.639 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008129/0.8604, allocations: 395.1 kB / 0.6394 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8604, allocations: 0 / 0.6394 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002191/0.8626, allocations: 419.9 kB / 0.6398 GB, free: 152 kB / 474.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.3/1.163, allocations: 212.3 kB / 0.64 GB, free: 135.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008508/1.171, allocations: 2.496 MB / 0.6424 GB, free: 135.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.171, allocations: 0 / 0.6424 GB, free: 135.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002979/1.174, allocations: 1.23 MB / 0.6436 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/1.176, allocations: 143.8 kB / 0.6437 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007236/1.183, allocations: 2.593 MB / 0.6463 GB, free: 134.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.184, allocations: 1.246 MB / 0.6475 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/1.185, allocations: 83.48 kB / 0.6476 GB, free: 134.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/1.185, allocations: 0 / 0.6476 GB, free: 134.1 MB / 474.7 MB Notification: Performance of Templates: time 0.04633/1.231, allocations: 19.01 MB / 0.6661 GB, free: 133.3 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)