Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.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.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001537/0.001538, allocations: 184.3 kB / 13.65 MB, free: 1.664 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.732/1.732, allocations: 194.2 MB / 208.4 MB, free: 6.719 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.001698/0.001698, allocations: 114.3 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2078/0.2078, allocations: 37.92 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.075e-05, allocations: 4 kB / 397.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4076, allocations: 53.21 MB / 450.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4996/0.9073, allocations: 102.5 MB / 0.5403 GB, free: 34.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.9077, allocations: 88.8 kB / 0.5404 GB, free: 34.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07795/0.9856, allocations: 29.57 MB / 0.5692 GB, free: 28.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.9857, allocations: 0 / 0.5692 GB, free: 28.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.424e-05/0.9858, allocations: 27.17 kB / 0.5693 GB, free: 28.14 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002975/0.9888, allocations: 1.525 MB / 0.5708 GB, free: 27.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.9888, allocations: 11.72 kB / 0.5708 GB, free: 27.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.9901, allocations: 230.3 kB / 0.571 GB, free: 26.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.994, allocations: 1.616 MB / 0.5726 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/0.9941, allocations: 83.81 kB / 0.5726 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.9944, allocations: 113.2 kB / 0.5728 GB, free: 26.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.9967, allocations: 1.639 MB / 0.5744 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.9968, allocations: 0 / 0.5744 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.9969, allocations: 49.11 kB / 0.5744 GB, free: 25.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.9971, allocations: 67.53 kB / 0.5745 GB, free: 25.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.9991, allocations: 1.425 MB / 0.5759 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/1.014, allocations: 8.01 MB / 0.5837 GB, free: 21.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/1.016, allocations: 1.531 MB / 0.5852 GB, free: 21.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/1.017, allocations: 1.209 MB / 0.5864 GB, free: 21.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/1.017, allocations: 28.72 kB / 0.5864 GB, free: 21.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/1.019, allocations: 1.764 MB / 0.5881 GB, free: 21.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=177): time 2.995e-06/1.019, allocations: 0 / 0.5881 GB, free: 21.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=178): time 0.01868/1.038, allocations: 8.105 MB / 0.596 GB, free: 18.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/1.038, allocations: 245.5 kB / 0.5963 GB, free: 18.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009299/1.039, allocations: 0.5869 MB / 0.5968 GB, free: 18.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004764/1.04, allocations: 71.81 kB / 0.5969 GB, free: 18.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/1.04, allocations: 474.8 kB / 0.5973 GB, free: 17.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005265/1.041, allocations: 0.5879 MB / 0.5979 GB, free: 17.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.041, allocations: 36.48 kB / 0.598 GB, free: 17.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/1.041, allocations: 447.4 kB / 0.5984 GB, free: 17.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/1.043, allocations: 1.248 MB / 0.5996 GB, free: 16.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/1.044, allocations: 1.522 MB / 0.6011 GB, free: 15.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/1.046, allocations: 1.422 MB / 0.6025 GB, free: 14.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.046, allocations: 0 / 0.6025 GB, free: 14.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.02125/1.067, allocations: 7.577 MB / 0.6099 GB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/1.067, allocations: 67.39 kB / 0.6099 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01612/1.084, allocations: 6.145 MB / 0.6159 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02473/1.108, allocations: 7.282 MB / 0.6231 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/1.109, allocations: 159.7 kB / 0.6232 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03997/1.149, allocations: 23.41 MB / 0.6461 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.151, allocations: 175.6 kB / 0.6462 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/1.151, allocations: 195.9 kB / 0.6464 GB, free: 0.8281 MB / 410.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 () * 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.0005575/1.152, allocations: 303.8 kB / 0.6467 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/1.152, allocations: 114.7 kB / 0.6468 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.169, allocations: 5.523 MB / 0.6522 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001174/1.169, allocations: 31.98 kB / 0.6522 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-05/1.169, allocations: 0 / 0.6522 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.79e-05/1.169, allocations: 11.97 kB / 0.6523 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/1.192, allocations: 8.067 MB / 0.6601 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/1.192, allocations: 0 / 0.6601 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000963/1.193, allocations: 151.7 kB / 0.6603 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02707/1.22, allocations: 8.159 MB / 0.6682 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000896/1.221, allocations: 259.8 kB / 0.6685 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02613/1.247, allocations: 21.5 MB / 0.6895 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.247, allocations: 0 / 0.6895 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/1.267, allocations: 6.736 MB / 0.6961 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006579/1.267, allocations: 187.7 kB / 0.6962 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006258/1.268, allocations: 231.8 kB / 0.6965 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.269, allocations: 139.8 kB / 0.6966 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/1.27, allocations: 272.8 kB / 0.6969 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003369/1.271, allocations: 199.9 kB / 0.697 GB, free: 11.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008979/1.272, allocations: 459.1 kB / 0.6975 GB, free: 11.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.272, allocations: 0 / 0.6975 GB, free: 11.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003228/1.275, allocations: 0.6874 MB / 0.6982 GB, free: 10.43 MB / 474.7 MB 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) * 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.0006751/1.275, allocations: 254.4 kB / 0.6984 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008723/1.284, allocations: 4.064 MB / 0.7024 GB, free: 6.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.284, allocations: 0 / 0.7024 GB, free: 6.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00603/1.29, allocations: 3.149 MB / 0.7054 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.292, allocations: 191 kB / 0.7056 GB, free: 2.598 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2987/1.59, allocations: 4.533 MB / 0.7101 GB, free: 145.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.592, allocations: 1.314 MB / 0.7113 GB, free: 144.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001237/1.593, allocations: 259 kB / 0.7116 GB, free: 144.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/1.593, allocations: 90.47 kB / 0.7117 GB, free: 144.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/1.593, allocations: 1.125 kB / 0.7117 GB, free: 144.9 MB / 474.7 MB Notification: Performance of Templates: time 0.07434/1.668, allocations: 45.52 MB / 0.7561 GB, free: 128.7 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)