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.001419/0.001419, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.482/1.482, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001691/0.001692, allocations: 118 kB / 248.1 MB, free: 6.312 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1736/0.1736, allocations: 37.91 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.751e-05, allocations: 4 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/0.4682, allocations: 96.86 MB / 0.5278 GB, free: 9.172 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4685, allocations: 89 kB / 0.5279 GB, free: 9.16 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05785/0.5263, allocations: 21.78 MB / 0.5491 GB, free: 8.84 MB / 363.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.5264, allocations: 4 kB / 0.5492 GB, free: 8.836 MB / 363.1 MB Notification: Performance of Transformations before backend: time 6.16e-05/0.5265, allocations: 20 kB / 0.5492 GB, free: 8.816 MB / 363.1 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.002953/0.5294, allocations: 1.173 MB / 0.5503 GB, free: 7.633 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.5295, allocations: 12.03 kB / 0.5503 GB, free: 7.621 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.5306, allocations: 155.3 kB / 0.5505 GB, free: 7.469 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.5337, allocations: 1.202 MB / 0.5516 GB, free: 6.438 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.5338, allocations: 43.25 kB / 0.5517 GB, free: 6.398 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.534, allocations: 51.98 kB / 0.5517 GB, free: 6.348 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001746/0.5358, allocations: 1.008 MB / 0.5527 GB, free: 5.668 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.5378, allocations: 1.142 MB / 0.5538 GB, free: 4.754 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.5378, allocations: 4 kB / 0.5538 GB, free: 4.75 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.5379, allocations: 4 kB / 0.5538 GB, free: 4.746 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.223e-05/0.538, allocations: 53.3 kB / 0.5539 GB, free: 4.699 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00639/0.5444, allocations: 4.411 MB / 0.5582 GB, free: 0.8828 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.5455, allocations: 0.7738 MB / 0.559 GB, free: 368 kB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/0.5463, allocations: 0.6177 MB / 0.5596 GB, free: 15.96 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.5463, allocations: 11.91 kB / 0.5596 GB, free: 15.95 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.5475, allocations: 0.8663 MB / 0.5604 GB, free: 15.26 MB / 379.1 MB Notification: Performance of pre-optimization done (n=126): time 4.98e-06/0.5475, allocations: 3.984 kB / 0.5604 GB, free: 15.25 MB / 379.1 MB Notification: Performance of matching and sorting (n=127): time 0.004481/0.552, allocations: 2.769 MB / 0.5631 GB, free: 13.04 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.5522, allocations: 246.7 kB / 0.5634 GB, free: 12.75 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.5527, allocations: 384.1 kB / 0.5637 GB, free: 12.45 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 8.111e-05/0.5528, allocations: 41.19 kB / 0.5638 GB, free: 12.41 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.5531, allocations: 393 kB / 0.5641 GB, free: 12.1 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.5535, allocations: 364.9 kB / 0.5645 GB, free: 11.79 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.5535, allocations: 0 / 0.5645 GB, free: 11.79 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.5537, allocations: 398.9 kB / 0.5649 GB, free: 11.42 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/0.5544, allocations: 0.4926 MB / 0.5654 GB, free: 11.1 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008878/0.5553, allocations: 0.7331 MB / 0.5661 GB, free: 10.48 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.5564, allocations: 0.5802 MB / 0.5666 GB, free: 10.08 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.5564, allocations: 4 kB / 0.5666 GB, free: 10.07 MB / 379.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003573/0.56, allocations: 1.891 MB / 0.5685 GB, free: 8.59 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/0.5601, allocations: 61.41 kB / 0.5685 GB, free: 8.52 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002912/0.563, allocations: 1.59 MB / 0.5701 GB, free: 7.301 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.565, allocations: 0.6447 MB / 0.5707 GB, free: 6.652 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.5656, allocations: 131.7 kB / 0.5709 GB, free: 6.523 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008434/0.5741, allocations: 5.657 MB / 0.5764 GB, free: 0.7422 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008502/0.575, allocations: 39.94 kB / 0.5764 GB, free: 0.7031 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.5752, allocations: 48 kB / 0.5765 GB, free: 0.6562 MB / 379.1 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.0004676/0.5757, allocations: 240.2 kB / 0.5767 GB, free: 416 kB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.5761, allocations: 83.05 kB / 0.5768 GB, free: 332 kB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.5787, allocations: 1.284 MB / 0.578 GB, free: 15.03 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-05/0.5788, allocations: 31.98 kB / 0.5781 GB, free: 15 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5788, allocations: 7.938 kB / 0.5781 GB, free: 14.99 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.5788, allocations: 7.984 kB / 0.5781 GB, free: 14.98 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/0.5832, allocations: 2.529 MB / 0.5805 GB, free: 12.4 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5832, allocations: 0 / 0.5805 GB, free: 12.4 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.5843, allocations: 239.7 kB / 0.5808 GB, free: 12.17 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.5843, allocations: 4 kB / 0.5808 GB, free: 12.16 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.5844, allocations: 15.94 kB / 0.5808 GB, free: 12.15 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.5844, allocations: 4 kB / 0.5808 GB, free: 12.14 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5844, allocations: 4 kB / 0.5808 GB, free: 12.14 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.5877, allocations: 2.2 MB / 0.5829 GB, free: 9.887 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.5879, allocations: 144.2 kB / 0.5831 GB, free: 9.727 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.5881, allocations: 16.09 kB / 0.5831 GB, free: 9.711 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.5886, allocations: 39.92 kB / 0.5831 GB, free: 9.672 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.5888, allocations: 116.6 kB / 0.5832 GB, free: 9.555 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.5889, allocations: 35.98 kB / 0.5833 GB, free: 9.52 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003606/0.5893, allocations: 286.9 kB / 0.5836 GB, free: 9.238 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5893, allocations: 0 / 0.5836 GB, free: 9.238 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001154/0.5905, allocations: 287.9 kB / 0.5838 GB, free: 8.957 MB / 395.1 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.0003548/0.5908, allocations: 192.2 kB / 0.584 GB, free: 8.762 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003016/0.5939, allocations: 1.764 MB / 0.5857 GB, free: 6.965 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5939, allocations: 0 / 0.5857 GB, free: 6.965 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.5949, allocations: 0.8814 MB / 0.5866 GB, free: 6.059 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.5956, allocations: 102.3 kB / 0.5867 GB, free: 5.957 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.5988, allocations: 1.818 MB / 0.5885 GB, free: 4.102 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/0.5996, allocations: 1.129 MB / 0.5896 GB, free: 2.949 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0006994/0.6003, allocations: 234.7 kB / 0.5898 GB, free: 2.715 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.6006, allocations: 59.44 kB / 0.5899 GB, free: 2.656 MB / 395.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6006, allocations: 0 / 0.5899 GB, free: 2.656 MB / 395.1 MB Notification: Performance of Templates: time 0.02164/0.6223, allocations: 11.83 MB / 0.6014 GB, free: 6.863 MB / 411.1 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)