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.002581/0.002587, allocations: 361.6 kB / 17.21 MB, free: 4.953 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 3.312/3.312, allocations: 388.9 MB / 406.9 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003513/0.003513, allocations: 233.8 kB / 452.2 MB, free: 0.6016 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7007/0.7007, allocations: 76.03 MB / 0.56 GB, free: 14.53 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004439, allocations: 8 kB / 0.6222 GB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 53.21 MB / 0.6742 GB, free: 62.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.4785, allocations: 101.1 MB / 0.7729 GB, free: 9.418 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.4789, allocations: 96.75 kB / 0.773 GB, free: 9.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3855/0.8643, allocations: 25.12 MB / 0.7976 GB, free: 94.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.8644, allocations: 7.812 kB / 0.7976 GB, free: 94.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.328e-05/0.8645, allocations: 27.59 kB / 0.7976 GB, free: 94.79 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.004437/0.8689, allocations: 1.488 MB / 0.799 GB, free: 93.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.869, allocations: 15.86 kB / 0.7991 GB, free: 93.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.8709, allocations: 195.1 kB / 0.7992 GB, free: 93.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.8737, allocations: 0.9261 MB / 0.8002 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.8738, allocations: 82.92 kB / 0.8002 GB, free: 92.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.8741, allocations: 111.9 kB / 0.8003 GB, free: 92.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.8777, allocations: 1.598 MB / 0.8019 GB, free: 90.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/0.8778, allocations: 3.938 kB / 0.8019 GB, free: 90.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.8779, allocations: 47.94 kB / 0.8019 GB, free: 90.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.8781, allocations: 73.97 kB / 0.802 GB, free: 90.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.8816, allocations: 1.405 MB / 0.8034 GB, free: 89.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.8947, allocations: 5.767 MB / 0.809 GB, free: 83.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.8972, allocations: 1.103 MB / 0.8101 GB, free: 82.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.899, allocations: 0.8358 MB / 0.8109 GB, free: 81.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.8991, allocations: 20.92 kB / 0.8109 GB, free: 81.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/0.9013, allocations: 1.146 MB / 0.8121 GB, free: 80.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=161): time 4.559e-06/0.9013, allocations: 0 / 0.8121 GB, free: 80.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.01103/0.9124, allocations: 4.762 MB / 0.8167 GB, free: 75.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.9125, allocations: 255 kB / 0.8169 GB, free: 74.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009612/0.9135, allocations: 0.5614 MB / 0.8175 GB, free: 74.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.9138, allocations: 61.69 kB / 0.8176 GB, free: 74.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.9142, allocations: 468.3 kB / 0.818 GB, free: 73.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005764/0.9148, allocations: 484.6 kB / 0.8185 GB, free: 73.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.9149, allocations: 35.83 kB / 0.8185 GB, free: 73.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.9151, allocations: 418.7 kB / 0.8189 GB, free: 72.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.9168, allocations: 0.7066 MB / 0.8196 GB, free: 72.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.9186, allocations: 1.003 MB / 0.8206 GB, free: 71.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.9205, allocations: 0.8557 MB / 0.8214 GB, free: 70.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.9205, allocations: 8 kB / 0.8214 GB, free: 70.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.008736/0.9293, allocations: 2.855 MB / 0.8242 GB, free: 67.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.9294, allocations: 67.45 kB / 0.8243 GB, free: 67.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007383/0.9368, allocations: 2.375 MB / 0.8266 GB, free: 64.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005444/0.9423, allocations: 1.074 MB / 0.8276 GB, free: 63.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009614/0.9433, allocations: 147.7 kB / 0.8278 GB, free: 63.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.9635, allocations: 8.234 MB / 0.8358 GB, free: 55.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.9651, allocations: 95.91 kB / 0.8359 GB, free: 55.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.9653, allocations: 55.98 kB / 0.836 GB, free: 55.19 MB / 394.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.001027/0.9663, allocations: 0.489 MB / 0.8364 GB, free: 54.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.9667, allocations: 102.8 kB / 0.8365 GB, free: 54.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/0.971, allocations: 1.892 MB / 0.8384 GB, free: 52.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.849e-05/0.9711, allocations: 35.98 kB / 0.8384 GB, free: 52.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.9712, allocations: 4 kB / 0.8384 GB, free: 52.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.9712, allocations: 7.969 kB / 0.8384 GB, free: 52.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008484/0.9797, allocations: 3.549 MB / 0.8419 GB, free: 49.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.9797, allocations: 4 kB / 0.8419 GB, free: 49.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003766/0.9835, allocations: 383.7 kB / 0.8423 GB, free: 48.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.9838, allocations: 60.77 kB / 0.8423 GB, free: 48.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.9841, allocations: 31.98 kB / 0.8424 GB, free: 48.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.9856, allocations: 1.563 MB / 0.8439 GB, free: 46.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9856, allocations: 0 / 0.8439 GB, free: 46.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006365/0.992, allocations: 2.977 MB / 0.8468 GB, free: 43.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/0.9929, allocations: 295.8 kB / 0.8471 GB, free: 43.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.9931, allocations: 48.05 kB / 0.8471 GB, free: 43.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9943, allocations: 83.91 kB / 0.8472 GB, free: 43.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/0.9947, allocations: 136.8 kB / 0.8473 GB, free: 43.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.9949, allocations: 43.92 kB / 0.8474 GB, free: 43.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006482/0.9956, allocations: 403 kB / 0.8478 GB, free: 42.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.9956, allocations: 0 / 0.8478 GB, free: 42.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001799/0.9974, allocations: 415.7 kB / 0.8481 GB, free: 42.43 MB / 394.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.000478/0.9979, allocations: 226 kB / 0.8484 GB, free: 42.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006964/1.005, allocations: 2.557 MB / 0.8509 GB, free: 39.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.005, allocations: 4.062 kB / 0.8509 GB, free: 39.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.007, allocations: 1.261 MB / 0.8521 GB, free: 38.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/1.009, allocations: 151.1 kB / 0.8522 GB, free: 38.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007039/1.016, allocations: 3.488 MB / 0.8556 GB, free: 34.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009366/1.017, allocations: 1.249 MB / 0.8569 GB, free: 33.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00137/1.018, allocations: 280.3 kB / 0.8571 GB, free: 33.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/1.019, allocations: 71.44 kB / 0.8572 GB, free: 33.03 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/1.019, allocations: 0 / 0.8572 GB, free: 33.03 MB / 394.7 MB Notification: Performance of Templates: time 0.04026/1.059, allocations: 16.58 MB / 0.8734 GB, free: 16.57 MB / 394.7 MB