Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.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.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 185.3 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.924/1.924, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001461/0.001461, allocations: 90.47 kB / 267.1 MB, free: 9.273 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.2777/0.2777, allocations: 37.98 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.499e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 56.32 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4884/0.5921, allocations: 102.6 MB / 0.5622 GB, free: 1.109 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.5925, allocations: 91.94 kB / 0.5623 GB, free: 1.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.101/0.6935, allocations: 21.98 MB / 0.5838 GB, free: 10.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6936, allocations: 0 / 0.5838 GB, free: 10.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.535e-05/0.6937, allocations: 24 kB / 0.5838 GB, free: 10.76 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003594/0.6973, allocations: 1.172 MB / 0.585 GB, free: 9.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.6974, allocations: 8.031 kB / 0.585 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.6988, allocations: 162.6 kB / 0.5851 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00503/0.7039, allocations: 1.199 MB / 0.5863 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.7041, allocations: 69.95 kB / 0.5864 GB, free: 8.035 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/0.7043, allocations: 84 kB / 0.5864 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/0.7077, allocations: 1.264 MB / 0.5877 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/0.7078, allocations: 0 / 0.5877 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.708, allocations: 47.92 kB / 0.5877 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.7081, allocations: 57.98 kB / 0.5878 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/0.7114, allocations: 1.109 MB / 0.5889 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.7225, allocations: 4.569 MB / 0.5933 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.7247, allocations: 0.8143 MB / 0.5941 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.7264, allocations: 0.6515 MB / 0.5948 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.7265, allocations: 16.77 kB / 0.5948 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/0.7287, allocations: 0.8983 MB / 0.5956 GB, free: 14.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 4.158e-06/0.7287, allocations: 0 / 0.5956 GB, free: 14.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.008501/0.7372, allocations: 3.073 MB / 0.5986 GB, free: 11.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.7375, allocations: 234.6 kB / 0.5989 GB, free: 10.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.7383, allocations: 431.7 kB / 0.5993 GB, free: 10.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002316/0.7386, allocations: 53.69 kB / 0.5993 GB, free: 10.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.739, allocations: 438.7 kB / 0.5998 GB, free: 9.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005606/0.7396, allocations: 378.8 kB / 0.6001 GB, free: 9.508 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.7397, allocations: 24 kB / 0.6001 GB, free: 9.484 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.7399, allocations: 370.7 kB / 0.6005 GB, free: 9.113 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.7414, allocations: 0.5187 MB / 0.601 GB, free: 8.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.743, allocations: 0.7566 MB / 0.6017 GB, free: 7.754 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.7447, allocations: 0.6598 MB / 0.6024 GB, free: 7.082 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.7448, allocations: 4 kB / 0.6024 GB, free: 7.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006421/0.7512, allocations: 2.025 MB / 0.6044 GB, free: 5.031 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/0.7513, allocations: 59.41 kB / 0.6044 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006845/0.7582, allocations: 1.661 MB / 0.606 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/0.7628, allocations: 0.6566 MB / 0.6067 GB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.7642, allocations: 131.7 kB / 0.6068 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/0.7854, allocations: 5.911 MB / 0.6126 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.7871, allocations: 63.94 kB / 0.6126 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.7874, allocations: 51.98 kB / 0.6127 GB, free: 12.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 116 * 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 {(7,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006161/0.788, allocations: 269.2 kB / 0.6129 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.7884, allocations: 90.91 kB / 0.613 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005065/0.7935, allocations: 1.438 MB / 0.6144 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.505e-05/0.7936, allocations: 31.98 kB / 0.6145 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.7937, allocations: 0 / 0.6145 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/0.7937, allocations: 7.984 kB / 0.6145 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.8041, allocations: 2.799 MB / 0.6172 GB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.8041, allocations: 4 kB / 0.6172 GB, free: 7.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002955/0.8071, allocations: 223.8 kB / 0.6174 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.012e-05/0.8072, allocations: 15.89 kB / 0.6174 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/0.8074, allocations: 31.97 kB / 0.6175 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.8075, allocations: 7.938 kB / 0.6175 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.8075, allocations: 8 kB / 0.6175 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007778/0.8153, allocations: 2.336 MB / 0.6198 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.8157, allocations: 148.1 kB / 0.6199 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/0.8161, allocations: 28.03 kB / 0.6199 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.8174, allocations: 55.92 kB / 0.62 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/0.8179, allocations: 112.6 kB / 0.6201 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.8181, allocations: 31.98 kB / 0.6201 GB, free: 4.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008797/0.819, allocations: 337.5 kB / 0.6205 GB, free: 4.191 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.8191, allocations: 3.938 kB / 0.6205 GB, free: 4.188 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002305/0.8214, allocations: 323.9 kB / 0.6208 GB, free: 3.871 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 47 (switch1.switch_b.closed,switch1.switch_c.closed,switch1.switch_a.closed,switch2.switch_a.closed,switch2.switch_b.closed,switch2.switch_c.closed,$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,system.initime) * Number of discrete states: 16 (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_c.open,switch2.switch_a.open,switch2.switch_b.open,switch1.switch_b.open,switch1.switch_c.open,switch1.switch_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 88 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000649/0.822, allocations: 203 kB / 0.621 GB, free: 3.664 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007114/0.8292, allocations: 1.85 MB / 0.6228 GB, free: 1.773 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.8292, allocations: 0 / 0.6228 GB, free: 1.773 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/0.8321, allocations: 0.8898 MB / 0.6236 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.8332, allocations: 108.6 kB / 0.6237 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.8387, allocations: 1.952 MB / 0.6256 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.8398, allocations: 1.125 MB / 0.6267 GB, free: 13.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.8404, allocations: 71.42 kB / 0.6268 GB, free: 13.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/0.8404, allocations: 0 / 0.6268 GB, free: 13.54 MB / 474.7 MB Notification: Performance of Templates: time 0.3762/1.217, allocations: 13.88 MB / 0.6404 GB, free: 136.3 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1)