Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009186/0.0009186, allocations: 179.5 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.282/1.282, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001801/0.001801, allocations: 117.1 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1584/0.1584, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.000361, allocations: 15.98 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.0846, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.3978, allocations: 97.63 MB / 0.5416 GB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.398, allocations: 93.12 kB / 0.5417 GB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05742/0.4555, allocations: 22 MB / 0.5632 GB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4555, allocations: 4 kB / 0.5632 GB, free: 10.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.895e-05/0.4556, allocations: 20 kB / 0.5632 GB, free: 10.88 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002195/0.4578, allocations: 1.254 MB / 0.5644 GB, free: 9.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4578, allocations: 12.02 kB / 0.5645 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007043/0.4585, allocations: 159.4 kB / 0.5646 GB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.4613, allocations: 1.224 MB / 0.5658 GB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.4613, allocations: 72.92 kB / 0.5659 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4615, allocations: 82.62 kB / 0.566 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.4632, allocations: 1.269 MB / 0.5672 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.4633, allocations: 7.938 kB / 0.5672 GB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/0.4633, allocations: 41.23 kB / 0.5672 GB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.4634, allocations: 57.92 kB / 0.5673 GB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.465, allocations: 1.13 MB / 0.5684 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005638/0.4706, allocations: 4.573 MB / 0.5729 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.4718, allocations: 0.8153 MB / 0.5737 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/0.4718, allocations: 21.61 kB / 0.5737 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.4729, allocations: 0.9106 MB / 0.5746 GB, free: 1.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 2.484e-06/0.4729, allocations: 4 kB / 0.5746 GB, free: 1.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.00503/0.478, allocations: 4.041 MB / 0.5785 GB, free: 13.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.4781, allocations: 238.5 kB / 0.5787 GB, free: 13.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.4786, allocations: 433.1 kB / 0.5792 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.4787, allocations: 51.45 kB / 0.5792 GB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.4789, allocations: 395.8 kB / 0.5796 GB, free: 12.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.4792, allocations: 381.6 kB / 0.58 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.4793, allocations: 22.81 kB / 0.58 GB, free: 12.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4794, allocations: 402 kB / 0.5804 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.4801, allocations: 0.5316 MB / 0.5809 GB, free: 11.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008781/0.481, allocations: 0.77 MB / 0.5816 GB, free: 11.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.4818, allocations: 0.6642 MB / 0.5823 GB, free: 10.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4819, allocations: 0 / 0.5823 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003447/0.4853, allocations: 2.083 MB / 0.5843 GB, free: 9.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.4854, allocations: 63.39 kB / 0.5844 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002854/0.4882, allocations: 1.677 MB / 0.586 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.4901, allocations: 0.6603 MB / 0.5867 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.4906, allocations: 139.7 kB / 0.5868 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008557/0.4991, allocations: 6.157 MB / 0.5928 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.4999, allocations: 67.89 kB / 0.5929 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.021e-05/0.5, allocations: 51.98 kB / 0.5929 GB, free: 92 kB / 394.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 () * Number of clocked 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.0006554/0.5006, allocations: 422.2 kB / 0.5933 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.5008, allocations: 87.05 kB / 0.5934 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.5029, allocations: 1.451 MB / 0.5948 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.503, allocations: 24 kB / 0.5948 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.503, allocations: 7.984 kB / 0.5948 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.503, allocations: 7.984 kB / 0.5949 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.5071, allocations: 2.833 MB / 0.5976 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5071, allocations: 0 / 0.5976 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.5081, allocations: 235.8 kB / 0.5978 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.5081, allocations: 4 kB / 0.5978 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-05/0.5082, allocations: 27.98 kB / 0.5979 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.5082, allocations: 4 kB / 0.5979 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5082, allocations: 3.938 kB / 0.5979 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.5112, allocations: 2.369 MB / 0.6002 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.5114, allocations: 148.1 kB / 0.6003 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5115, allocations: 28 kB / 0.6004 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.5119, allocations: 63.88 kB / 0.6004 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.5122, allocations: 112.8 kB / 0.6005 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.5123, allocations: 31.98 kB / 0.6006 GB, free: 8.051 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003749/0.5126, allocations: 334.8 kB / 0.6009 GB, free: 7.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5126, allocations: 0 / 0.6009 GB, free: 7.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00101/0.5137, allocations: 319.9 kB / 0.6012 GB, free: 7.41 MB / 410.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) * Number of clocked states: 0 () * 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.0003266/0.514, allocations: 206.9 kB / 0.6014 GB, free: 7.195 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00276/0.5168, allocations: 1.892 MB / 0.6032 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5168, allocations: 0 / 0.6032 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.5179, allocations: 0.911 MB / 0.6041 GB, free: 4.332 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.5184, allocations: 118 kB / 0.6042 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.5219, allocations: 2.676 MB / 0.6068 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.5226, allocations: 1.125 MB / 0.6079 GB, free: 360 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006099/0.5233, allocations: 242.9 kB / 0.6082 GB, free: 112 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.5235, allocations: 59.44 kB / 0.6082 GB, free: 52 kB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5235, allocations: 0 / 0.6082 GB, free: 52 kB / 410.7 MB Notification: Performance of Templates: time 0.01841/0.5419, allocations: 12.45 MB / 0.6204 GB, free: 3.609 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1)