Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=40000,variableFilter="Time|meterF.i|meterF.p|meterF.v|meterL.i|meterL.p|meterL.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|meterF.i|meterF.p|meterF.v|meterL.i|meterL.p|meterL.v",fileNamePrefix="PowerSystems_latest_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.001658/0.001658, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001885/0.001885, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1802/0.1802, allocations: 38.04 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2931, allocations: 58.06 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine): time 0.00882/0.302, allocations: 8.74 MB / 0.5133 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004029/0.3061, allocations: 2.363 MB / 0.5156 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005051/0.3066, allocations: 29.38 kB / 0.5157 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008867/0.3075, allocations: 312.2 kB / 0.516 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.3092, allocations: 0.8222 MB / 0.5168 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009658/0.3102, allocations: 374.7 kB / 0.5171 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.3125, allocations: 1.887 MB / 0.519 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.3131, allocations: 384 kB / 0.5193 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.3145, allocations: 0.8318 MB / 0.5201 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.3159, allocations: 1.103 MB / 0.5212 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.3162, allocations: 117.9 kB / 0.5213 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.3165, allocations: 122.4 kB / 0.5214 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.3172, allocations: 0.6069 MB / 0.522 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007905/0.318, allocations: 0.6802 MB / 0.5227 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.3196, allocations: 1.55 MB / 0.5242 GB, free: 12.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3196, allocations: 0 / 0.5242 GB, free: 12.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3196, allocations: 0 / 0.5242 GB, free: 12.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.3196, allocations: 0 / 0.5242 GB, free: 12.38 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.004145/0.3238, allocations: 1.894 MB / 0.5261 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3238, allocations: 8.828 kB / 0.5261 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.3241, allocations: 128.7 kB / 0.5262 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.3268, allocations: 1.171 MB / 0.5273 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.3268, allocations: 67.33 kB / 0.5274 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/0.3271, allocations: 100.2 kB / 0.5275 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.3293, allocations: 1.318 MB / 0.5288 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.3293, allocations: 1.25 kB / 0.5288 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.3295, allocations: 32.59 kB / 0.5288 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006539/0.3301, allocations: 208 kB / 0.529 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.3317, allocations: 0.9511 MB / 0.5299 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007234/0.3389, allocations: 4.498 MB / 0.5343 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.3405, allocations: 1.18 MB / 0.5355 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.3416, allocations: 0.7267 MB / 0.5362 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.91e-05/0.3416, allocations: 13.5 kB / 0.5362 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.343, allocations: 0.9425 MB / 0.5371 GB, free: 4.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.036e-06/0.343, allocations: 0 / 0.5371 GB, free: 4.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=105): time 0.01169/0.3547, allocations: 6.604 MB / 0.5436 GB, free: 32 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3548, allocations: 200.9 kB / 0.5438 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009561/0.3558, allocations: 0.7626 MB / 0.5445 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.761e-05/0.3559, allocations: 53.69 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.3563, allocations: 488.2 kB / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.3566, allocations: 378.9 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.357, allocations: 251.5 kB / 0.5456 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3572, allocations: 365.9 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.3582, allocations: 0.6715 MB / 0.5466 GB, free: 12.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.3594, allocations: 0.9589 MB / 0.5476 GB, free: 11.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007243/0.3667, allocations: 3.546 MB / 0.551 GB, free: 8.051 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3667, allocations: 4 kB / 0.551 GB, free: 8.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004911/0.3716, allocations: 2.768 MB / 0.5537 GB, free: 5.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.3717, allocations: 59.41 kB / 0.5538 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3717, allocations: 8.406 kB / 0.5538 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.3749, allocations: 1.136 MB / 0.5549 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.3755, allocations: 179.7 kB / 0.5551 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.3885, allocations: 8.723 MB / 0.5636 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.3897, allocations: 107.9 kB / 0.5637 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.3899, allocations: 48 kB / 0.5638 GB, free: 10.82 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.0009201/0.3908, allocations: 444.7 kB / 0.5642 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.3911, allocations: 106.8 kB / 0.5643 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.3955, allocations: 2.341 MB / 0.5666 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.3955, allocations: 11.86 kB / 0.5666 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3955, allocations: 0 / 0.5666 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008757/0.3964, allocations: 311.7 kB / 0.5669 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/0.3967, allocations: 71.97 kB / 0.5669 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/0.3976, allocations: 91.86 kB / 0.567 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/0.3979, allocations: 112.8 kB / 0.5671 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007243/0.4052, allocations: 3.228 MB / 0.5703 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004011/0.4092, allocations: 2.949 MB / 0.5732 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001112/0.4104, allocations: 0.8627 MB / 0.574 GB, free: 84 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007769/0.4112, allocations: 0.5068 MB / 0.5745 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Backend: time 4.01e-07/0.4112, allocations: 0 / 0.5745 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004486/0.4157, allocations: 1.805 MB / 0.5763 GB, free: 13.73 MB / 446.1 MB Notification: Performance of SimCode: time 0.005479/0.4212, allocations: 4.273 MB / 0.5804 GB, free: 9.375 MB / 446.1 MB Notification: Performance of Templates: time 0.03564/0.4568, allocations: 21.75 MB / 0.6017 GB, free: 3.773 MB / 462.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.pipe 2>&1)