Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 112.7 kB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 183 kB / 18.68 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1755/0.1755, allocations: 38.02 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 458.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 58.05 MB / 0.5048 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine): time 0.007952/0.3085, allocations: 8.732 MB / 0.5133 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.3121, allocations: 2.357 MB / 0.5156 GB, free: 24 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.3125, allocations: 34.75 kB / 0.5156 GB, free: 8 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008767/0.3134, allocations: 320.8 kB / 0.5159 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.3151, allocations: 0.8325 MB / 0.5168 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.316, allocations: 371.4 kB / 0.5171 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.3181, allocations: 1.889 MB / 0.519 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.3187, allocations: 382.7 kB / 0.5193 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.3201, allocations: 0.824 MB / 0.5201 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.3217, allocations: 1.107 MB / 0.5212 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.3219, allocations: 117.4 kB / 0.5213 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.3223, allocations: 122.7 kB / 0.5214 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006949/0.323, allocations: 0.6039 MB / 0.522 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008408/0.3238, allocations: 0.6878 MB / 0.5227 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.3256, allocations: 1.548 MB / 0.5242 GB, free: 12.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3256, allocations: 0.7031 kB / 0.5242 GB, free: 12.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3256, allocations: 0 / 0.5242 GB, free: 12.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.3257, allocations: 5.5 kB / 0.5242 GB, free: 12.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004278/0.3299, allocations: 1.912 MB / 0.5261 GB, free: 11.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.33, allocations: 15.86 kB / 0.5261 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.3303, allocations: 141.4 kB / 0.5262 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.3327, allocations: 1.177 MB / 0.5274 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.3328, allocations: 66.72 kB / 0.5274 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.333, allocations: 109.6 kB / 0.5275 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.3352, allocations: 1.312 MB / 0.5288 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3352, allocations: 1.562 kB / 0.5288 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3353, allocations: 40.19 kB / 0.5289 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000672/0.336, allocations: 200.9 kB / 0.5291 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.3376, allocations: 0.9579 MB / 0.53 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007116/0.3448, allocations: 4.51 MB / 0.5344 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.3463, allocations: 1.175 MB / 0.5355 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.3473, allocations: 0.7266 MB / 0.5363 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.3474, allocations: 9.125 kB / 0.5363 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.3488, allocations: 0.9429 MB / 0.5372 GB, free: 4.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 5.3e-06/0.3489, allocations: 5.031 kB / 0.5372 GB, free: 4.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=105): time 0.01191/0.3608, allocations: 6.628 MB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.3609, allocations: 204.9 kB / 0.5439 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009255/0.3618, allocations: 0.7588 MB / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.705e-05/0.3619, allocations: 53.7 kB / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.3623, allocations: 493.1 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.3627, allocations: 400.8 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.3631, allocations: 255.6 kB / 0.5457 GB, free: 13.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3632, allocations: 361.9 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3642, allocations: 0.6754 MB / 0.5468 GB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.3654, allocations: 0.9473 MB / 0.5477 GB, free: 11.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007136/0.3725, allocations: 3.539 MB / 0.5511 GB, free: 7.945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3726, allocations: 7.938 kB / 0.5511 GB, free: 7.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004799/0.3774, allocations: 2.781 MB / 0.5539 GB, free: 5.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.3774, allocations: 63.39 kB / 0.5539 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.3774, allocations: 8 kB / 0.5539 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/0.3805, allocations: 1.132 MB / 0.555 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.381, allocations: 179.7 kB / 0.5552 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.3934, allocations: 8.731 MB / 0.5637 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.3942, allocations: 111.9 kB / 0.5638 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.3943, allocations: 48 kB / 0.5639 GB, free: 10.69 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.trafo.i1 = 0.0 $DER.line.i[1,1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 41 (system.initime,ab.fault_pp.t0,$PRE.ab.fault_pp.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,trafo.tap_2_internal,trafo.tap_1_internal,$PRE.switch1.switch_1.open,$PRE.switch2.switch_1.open,relay2.y[1],$PRE.relay2.y[1],relay1.y[1],$PRE.relay1.y[1],ab.fault_pp.on,$PRE.ab.fault_pp.on,ab.first,$PRE.ab.first,ab.v_pos,$PRE.ab.v_pos,ab.t_zero,$PRE.ab.t_zero,switch2.switch_1.closed,switch2.switch_1.open,switch2.switch_1.arc,$PRE.switch2.switch_1.arc,switch1.switch_1.closed,switch1.switch_1.open,switch1.switch_1.arc,$PRE.switch1.switch_1.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,44,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006187/0.3949, allocations: 444.8 kB / 0.5643 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.3951, allocations: 115.3 kB / 0.5644 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/0.3991, allocations: 2.333 MB / 0.5667 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.3991, allocations: 11.92 kB / 0.5667 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3991, allocations: 0 / 0.5667 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.3997, allocations: 324.2 kB / 0.567 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.3999, allocations: 71.95 kB / 0.5671 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/0.4006, allocations: 91.86 kB / 0.5672 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.4009, allocations: 116.8 kB / 0.5673 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00678/0.4077, allocations: 3.228 MB / 0.5704 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003781/0.4115, allocations: 2.953 MB / 0.5733 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001099/0.4126, allocations: 0.8626 MB / 0.5742 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006358/0.4133, allocations: 0.5107 MB / 0.5747 GB, free: 15.42 MB / 446.1 MB Notification: Performance of Backend: time 6.31e-07/0.4133, allocations: 4.031 kB / 0.5747 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004157/0.4174, allocations: 1.814 MB / 0.5764 GB, free: 13.56 MB / 446.1 MB Notification: Performance of SimCode: time 0.005529/0.423, allocations: 4.318 MB / 0.5806 GB, free: 9.16 MB / 446.1 MB Notification: Performance of Templates: time 0.03273/0.4557, allocations: 21.75 MB / 0.6019 GB, free: 3.543 MB / 462.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe 2>&1)