Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.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.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003078/0.003079, allocations: 184.8 kB / 15.76 MB, free: 6.363 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.066/2.066, allocations: 205.4 MB / 221.9 MB, free: 13.76 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.001128/0.001128, allocations: 86.83 kB / 270.2 MB, free: 13.3 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.263/0.263, allocations: 38.07 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004672, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.5986, allocations: 107.6 MB / 0.5729 GB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.599, allocations: 94.45 kB / 0.573 GB, free: 8.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1327/0.7317, allocations: 29.59 MB / 0.6019 GB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.307e-06/0.7318, allocations: 4 kB / 0.6019 GB, free: 14.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.306e-05/0.7319, allocations: 28 kB / 0.6019 GB, free: 14.87 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.006495/0.7384, allocations: 1.678 MB / 0.6036 GB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7384, allocations: 8.031 kB / 0.6036 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/0.7411, allocations: 223.2 kB / 0.6038 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007015/0.7482, allocations: 1.641 MB / 0.6054 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.7484, allocations: 87.94 kB / 0.6055 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/0.7488, allocations: 110.1 kB / 0.6056 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/0.7535, allocations: 1.661 MB / 0.6072 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.7536, allocations: 7.938 kB / 0.6072 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.7538, allocations: 42.56 kB / 0.6073 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003786/0.7542, allocations: 69.83 kB / 0.6073 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004507/0.7587, allocations: 1.447 MB / 0.6087 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/0.7885, allocations: 7.996 MB / 0.6165 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.7924, allocations: 1.563 MB / 0.6181 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.7927, allocations: 18.42 kB / 0.6181 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004611/0.7973, allocations: 1.786 MB / 0.6198 GB, free: 15.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=177): time 5.34e-06/0.7974, allocations: 0 / 0.6198 GB, free: 15.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=178): time 0.04874/0.8461, allocations: 10.69 MB / 0.6303 GB, free: 4.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002165/0.8464, allocations: 246.9 kB / 0.6305 GB, free: 4.457 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.8478, allocations: 0.5892 MB / 0.6311 GB, free: 3.863 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005245/0.8483, allocations: 65.69 kB / 0.6312 GB, free: 3.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/0.8488, allocations: 499.3 kB / 0.6316 GB, free: 3.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.8499, allocations: 0.5825 MB / 0.6322 GB, free: 2.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.8502, allocations: 39.98 kB / 0.6322 GB, free: 2.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.8504, allocations: 390.8 kB / 0.6326 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/0.8539, allocations: 1.265 MB / 0.6338 GB, free: 1.016 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.8579, allocations: 1.545 MB / 0.6354 GB, free: 15.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.8619, allocations: 1.434 MB / 0.6368 GB, free: 13.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.8619, allocations: 4 kB / 0.6368 GB, free: 13.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.04386/0.9058, allocations: 7.578 MB / 0.6442 GB, free: 6.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.9059, allocations: 66.2 kB / 0.6442 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03341/0.9393, allocations: 6.168 MB / 0.6502 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04624/0.9856, allocations: 7.296 MB / 0.6574 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.9869, allocations: 159.7 kB / 0.6575 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07633/1.063, allocations: 24.79 MB / 0.6817 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/1.066, allocations: 159.8 kB / 0.6819 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006481/1.066, allocations: 195.8 kB / 0.6821 GB, free: 15.32 MB / 490.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: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$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 (158): * Single equations (assignments): 152 * 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: 0 * Non-linear torn systems: 1 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.001648/1.068, allocations: 0.4967 MB / 0.6826 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/1.069, allocations: 118.6 kB / 0.6827 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.031/1.1, allocations: 5.554 MB / 0.6881 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.912e-05/1.1, allocations: 32 kB / 0.6881 GB, free: 9.047 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.1, allocations: 4 kB / 0.6881 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.901e-05/1.1, allocations: 7.969 kB / 0.6881 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0397/1.14, allocations: 8.118 MB / 0.6961 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/1.14, allocations: 0 / 0.6961 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.141, allocations: 151.9 kB / 0.6962 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05084/1.192, allocations: 8.162 MB / 0.7042 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009572/1.193, allocations: 259.8 kB / 0.7044 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3734/1.566, allocations: 22.54 MB / 0.7264 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.567, allocations: 2.141 kB / 0.7264 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03293/1.599, allocations: 6.789 MB / 0.7331 GB, free: 152 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/1.6, allocations: 190.2 kB / 0.7332 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009245/1.601, allocations: 225.7 kB / 0.7335 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/1.603, allocations: 136.6 kB / 0.7336 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001236/1.604, allocations: 273.9 kB / 0.7339 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004552/1.605, allocations: 202.1 kB / 0.734 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008202/1.606, allocations: 457.2 kB / 0.7345 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.6e-07/1.606, allocations: 0 / 0.7345 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003254/1.609, allocations: 0.6915 MB / 0.7352 GB, free: 151.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,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: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007603/1.61, allocations: 259.4 kB / 0.7354 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.622, allocations: 4.153 MB / 0.7395 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.622, allocations: 0 / 0.7395 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008502/1.63, allocations: 3.17 MB / 0.7426 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.632, allocations: 188.5 kB / 0.7427 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/1.644, allocations: 5.87 MB / 0.7485 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.645, allocations: 1.312 MB / 0.7498 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007523/1.646, allocations: 93.64 kB / 0.7498 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/1.646, allocations: 0 / 0.7498 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.073/1.719, allocations: 45.35 MB / 0.7941 GB, free: 117.6 MB / 0.4948 GB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)