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.002045/0.002045, allocations: 185.7 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 82.66 kB / 261.8 MB, free: 1.68 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.2462/0.2462, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.031e-05, allocations: 7.984 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 56.32 MB / 466.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.488/0.5935, allocations: 105.4 MB / 0.5582 GB, free: 6.371 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5938, allocations: 88.08 kB / 0.5583 GB, free: 6.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1094/0.7032, allocations: 24.97 MB / 0.5827 GB, free: 1.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7033, allocations: 0 / 0.5827 GB, free: 1.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.657e-05/0.7034, allocations: 24 kB / 0.5827 GB, free: 1.051 MB / 378.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.004643/0.708, allocations: 1.383 MB / 0.584 GB, free: 15.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7081, allocations: 12.03 kB / 0.584 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.7101, allocations: 206.9 kB / 0.5842 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.7156, allocations: 1.294 MB / 0.5855 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.7158, allocations: 46 kB / 0.5855 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.7161, allocations: 67.89 kB / 0.5856 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003427/0.7196, allocations: 1.28 MB / 0.5869 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/0.7232, allocations: 1.434 MB / 0.5883 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/0.7233, allocations: 3.938 kB / 0.5883 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.7234, allocations: 11.3 kB / 0.5883 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.7236, allocations: 73.48 kB / 0.5883 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.7377, allocations: 5.571 MB / 0.5938 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.7403, allocations: 1.035 MB / 0.5948 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.7421, allocations: 0.7994 MB / 0.5956 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.7423, allocations: 21.05 kB / 0.5956 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002422/0.7447, allocations: 1.081 MB / 0.5967 GB, free: 5.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=161): time 4.408e-06/0.7448, allocations: 0 / 0.5967 GB, free: 5.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.009667/0.7544, allocations: 3.578 MB / 0.6001 GB, free: 2.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.7547, allocations: 245.6 kB / 0.6004 GB, free: 2.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008819/0.7556, allocations: 452.7 kB / 0.6008 GB, free: 1.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002783/0.7559, allocations: 37.2 kB / 0.6008 GB, free: 1.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.7564, allocations: 489 kB / 0.6013 GB, free: 1.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007103/0.7571, allocations: 478.2 kB / 0.6018 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.7572, allocations: 4.062 kB / 0.6018 GB, free: 1.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.7574, allocations: 381.3 kB / 0.6021 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.7591, allocations: 0.6617 MB / 0.6028 GB, free: 148 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.7613, allocations: 0.9444 MB / 0.6037 GB, free: 15.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.7634, allocations: 0.7702 MB / 0.6045 GB, free: 14.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.7635, allocations: 4 kB / 0.6045 GB, free: 14.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.009237/0.7727, allocations: 2.609 MB / 0.607 GB, free: 11.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/0.7728, allocations: 63.39 kB / 0.6071 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007918/0.7808, allocations: 2.243 MB / 0.6093 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005901/0.7867, allocations: 1.039 MB / 0.6103 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.7878, allocations: 147.6 kB / 0.6104 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.8099, allocations: 7.887 MB / 0.6181 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.8114, allocations: 63.91 kB / 0.6182 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.8117, allocations: 59.98 kB / 0.6182 GB, free: 72 kB / 410.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.0005838/0.8123, allocations: 240 kB / 0.6185 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.8127, allocations: 102.7 kB / 0.6186 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.8174, allocations: 1.707 MB / 0.6202 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.527e-05/0.8175, allocations: 31.98 kB / 0.6203 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.8175, allocations: 4 kB / 0.6203 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.8175, allocations: 3.984 kB / 0.6203 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009521/0.8271, allocations: 3.228 MB / 0.6234 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.8271, allocations: 0 / 0.6234 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003994/0.8311, allocations: 383.7 kB / 0.6238 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.8315, allocations: 52.81 kB / 0.6238 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/0.8317, allocations: 15.98 kB / 0.6239 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.8336, allocations: 1.509 MB / 0.6253 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.8337, allocations: 4.078 kB / 0.6253 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006979/0.8407, allocations: 2.811 MB / 0.6281 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.8418, allocations: 307.7 kB / 0.6284 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.8421, allocations: 23.98 kB / 0.6284 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.8432, allocations: 55.91 kB / 0.6284 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004539/0.8437, allocations: 137.1 kB / 0.6286 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.8439, allocations: 43.98 kB / 0.6286 GB, free: 5.156 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006774/0.8446, allocations: 350.8 kB / 0.629 GB, free: 4.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8446, allocations: 0 / 0.629 GB, free: 4.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002031/0.8466, allocations: 359.9 kB / 0.6293 GB, free: 4.461 MB / 426.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.0005606/0.8472, allocations: 202.6 kB / 0.6295 GB, free: 4.258 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007392/0.8546, allocations: 2.4 MB / 0.6318 GB, free: 1.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.8547, allocations: 0 / 0.6318 GB, free: 1.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002844/0.8575, allocations: 1.193 MB / 0.633 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.8588, allocations: 122.8 kB / 0.6331 GB, free: 484 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007087/0.8659, allocations: 2.527 MB / 0.6356 GB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.8673, allocations: 1.249 MB / 0.6368 GB, free: 12.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000791/0.8681, allocations: 83.42 kB / 0.6369 GB, free: 12.54 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/0.8681, allocations: 0 / 0.6369 GB, free: 12.54 MB / 442.7 MB Notification: Performance of Templates: time 0.05689/0.925, allocations: 18.82 MB / 0.6553 GB, free: 9.691 MB / 458.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)