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.001527/0.001527, allocations: 183.2 kB / 15.76 MB, free: 6.344 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 2.086/2.086, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001143/0.001143, allocations: 98.75 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2677/0.2677, allocations: 38.04 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004457, allocations: 19.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4999/0.6072, allocations: 102.7 MB / 0.5681 GB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.6076, allocations: 91.02 kB / 0.5682 GB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0942/0.7018, allocations: 22.01 MB / 0.5897 GB, free: 10.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.7018, allocations: 0 / 0.5897 GB, free: 10.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.593e-05/0.7019, allocations: 24 kB / 0.5897 GB, free: 10.21 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003516/0.7054, allocations: 1.264 MB / 0.5909 GB, free: 8.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7055, allocations: 8.031 kB / 0.5909 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.7067, allocations: 162.6 kB / 0.5911 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.7112, allocations: 1.213 MB / 0.5923 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.7113, allocations: 72.5 kB / 0.5924 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.7115, allocations: 81.88 kB / 0.5924 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.7146, allocations: 1.281 MB / 0.5937 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/0.7147, allocations: 4 kB / 0.5937 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.7148, allocations: 33.12 kB / 0.5937 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.715, allocations: 61.22 kB / 0.5938 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.718, allocations: 1.133 MB / 0.5949 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.7284, allocations: 4.574 MB / 0.5994 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.7305, allocations: 0.829 MB / 0.6002 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.7306, allocations: 17.64 kB / 0.6002 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001984/0.7326, allocations: 0.9042 MB / 0.6011 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 3.777e-06/0.7327, allocations: 0 / 0.6011 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.009077/0.7417, allocations: 4.052 MB / 0.605 GB, free: 13.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.742, allocations: 234.4 kB / 0.6052 GB, free: 12.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007973/0.7428, allocations: 428.9 kB / 0.6057 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.7429, allocations: 53.25 kB / 0.6057 GB, free: 12.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.7433, allocations: 438.8 kB / 0.6061 GB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.7438, allocations: 372.9 kB / 0.6065 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.7439, allocations: 27.38 kB / 0.6065 GB, free: 11.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7441, allocations: 369.4 kB / 0.6069 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.7455, allocations: 0.5267 MB / 0.6074 GB, free: 11.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.747, allocations: 0.7724 MB / 0.6081 GB, free: 10.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.7486, allocations: 0.6568 MB / 0.6088 GB, free: 10.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.7486, allocations: 4 kB / 0.6088 GB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006268/0.7549, allocations: 2.056 MB / 0.6108 GB, free: 8.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.755, allocations: 62.22 kB / 0.6108 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005458/0.7605, allocations: 1.685 MB / 0.6125 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/0.764, allocations: 0.6603 MB / 0.6131 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009658/0.765, allocations: 131.7 kB / 0.6133 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/0.7809, allocations: 6.174 MB / 0.6193 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7821, allocations: 71.88 kB / 0.6193 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.7823, allocations: 40 kB / 0.6194 GB, free: 15.81 MB / 426.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.0009372/0.7832, allocations: 440 kB / 0.6198 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.7835, allocations: 83 kB / 0.6199 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/0.7873, allocations: 1.447 MB / 0.6213 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-05/0.7874, allocations: 27.98 kB / 0.6213 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7874, allocations: 4 kB / 0.6213 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.7874, allocations: 7.984 kB / 0.6213 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007365/0.7948, allocations: 2.818 MB / 0.6241 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.7948, allocations: 4 kB / 0.6241 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002084/0.7969, allocations: 235.8 kB / 0.6243 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.797, allocations: 4 kB / 0.6243 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.7971, allocations: 27.94 kB / 0.6243 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.7971, allocations: 4 kB / 0.6244 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.7971, allocations: 4 kB / 0.6244 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/0.8026, allocations: 2.368 MB / 0.6267 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.8029, allocations: 152 kB / 0.6268 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.8032, allocations: 39.98 kB / 0.6269 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000834/0.804, allocations: 51.94 kB / 0.6269 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/0.8044, allocations: 116.7 kB / 0.627 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.8045, allocations: 35.94 kB / 0.627 GB, free: 7.762 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000628/0.8052, allocations: 334.8 kB / 0.6274 GB, free: 7.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.8052, allocations: 0 / 0.6274 GB, free: 7.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001471/0.8067, allocations: 327.9 kB / 0.6277 GB, free: 7.113 MB / 426.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.0004639/0.8071, allocations: 199.4 kB / 0.6279 GB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005147/0.8123, allocations: 1.876 MB / 0.6297 GB, free: 4.988 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8124, allocations: 0.5625 kB / 0.6297 GB, free: 4.988 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.8144, allocations: 0.9064 MB / 0.6306 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009773/0.8154, allocations: 110 kB / 0.6307 GB, free: 3.953 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006453/0.8218, allocations: 2.763 MB / 0.6334 GB, free: 1.141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.823, allocations: 1.121 MB / 0.6345 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005952/0.8236, allocations: 71.38 kB / 0.6346 GB, free: 15.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.412e-06/0.8236, allocations: 0 / 0.6346 GB, free: 15.93 MB / 442.7 MB Notification: Performance of Templates: time 0.03239/0.856, allocations: 13.89 MB / 0.6481 GB, free: 2.012 MB / 442.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)