Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.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.AC3ph.Transmission.DoubleLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001772/0.001772, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1808/0.1808, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 55.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2786, allocations: 58.06 MB / 0.5048 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLine): time 0.009027/0.2876, allocations: 10.44 MB / 0.515 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006821/0.2945, allocations: 4.091 MB / 0.519 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.2956, allocations: 35.59 kB / 0.519 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003198/0.2988, allocations: 1.243 MB / 0.5202 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.302, allocations: 1.232 MB / 0.5214 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.3043, allocations: 0.9162 MB / 0.5223 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.3082, allocations: 2.78 MB / 0.525 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.3099, allocations: 1.07 MB / 0.5261 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.3121, allocations: 1.219 MB / 0.5273 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002743/0.3149, allocations: 1.647 MB / 0.5289 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007463/0.3156, allocations: 192.6 kB / 0.5291 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.3179, allocations: 0.7516 MB / 0.5298 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.3195, allocations: 1.09 MB / 0.5309 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.3216, allocations: 1.145 MB / 0.532 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004985/0.3266, allocations: 2.971 MB / 0.5349 GB, free: 5.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3267, allocations: 1.438 kB / 0.5349 GB, free: 5.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3267, allocations: 0 / 0.5349 GB, free: 5.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001561/0.3268, allocations: 0 / 0.5349 GB, free: 5.652 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.007739/0.3346, allocations: 2.541 MB / 0.5374 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3346, allocations: 16.86 kB / 0.5374 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.3374, allocations: 403.3 kB / 0.5378 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.3403, allocations: 1.276 MB / 0.539 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3405, allocations: 126.4 kB / 0.5391 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009277/0.3414, allocations: 353.4 kB / 0.5395 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/0.3457, allocations: 2.889 MB / 0.5423 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/0.3457, allocations: 10.73 kB / 0.5423 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.346, allocations: 74.19 kB / 0.5424 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001164/0.3471, allocations: 246.6 kB / 0.5426 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.3511, allocations: 2.505 MB / 0.545 GB, free: 15.07 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.3657, allocations: 10.7 MB / 0.5555 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.369, allocations: 2.575 MB / 0.558 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.3711, allocations: 1.527 MB / 0.5595 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.3712, allocations: 29.98 kB / 0.5595 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002444/0.3736, allocations: 1.865 MB / 0.5614 GB, free: 13.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=243): time 4.168e-06/0.3736, allocations: 0 / 0.5614 GB, free: 13.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=246): time 0.0128/0.3865, allocations: 8.415 MB / 0.5696 GB, free: 5.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.3866, allocations: 281.2 kB / 0.5698 GB, free: 5.008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3879, allocations: 1.006 MB / 0.5708 GB, free: 3.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.3881, allocations: 77.69 kB / 0.5709 GB, free: 3.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006007/0.3887, allocations: 0.7691 MB / 0.5716 GB, free: 3.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007257/0.3894, allocations: 0.8208 MB / 0.5724 GB, free: 2.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007484/0.3902, allocations: 0.4982 MB / 0.5729 GB, free: 1.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.3903, allocations: 309.1 kB / 0.5732 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.3924, allocations: 1.442 MB / 0.5746 GB, free: 32 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.3949, allocations: 2.024 MB / 0.5766 GB, free: 13.79 MB / 446.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0205/0.4154, allocations: 9.328 MB / 0.5857 GB, free: 4.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.4154, allocations: 4 kB / 0.5857 GB, free: 4.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01463/0.4301, allocations: 6.941 MB / 0.5925 GB, free: 13.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.4301, allocations: 63.41 kB / 0.5926 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01302/0.4432, allocations: 6.08 MB / 0.5985 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.4536, allocations: 4.206 MB / 0.6026 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4547, allocations: 267.4 kB / 0.6029 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04578/0.5005, allocations: 27.36 MB / 0.6296 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.5022, allocations: 143.8 kB / 0.6297 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/0.5026, allocations: 111.9 kB / 0.6298 GB, free: 6.727 MB / 494.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: infBus1.V = 2e4 * infBus1.v0 InfBus2.V = 4e5 * InfBus2.v0 lineF.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 86 (system.initime,abc.fault_pp1.t0,$PRE.abc.fault_pp1.t0,abc.fault_pp2.t0,$PRE.abc.fault_pp2.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,trafo.tap_2_internal,trafo.tap_1_internal,$PRE.switch1.switch_a.open,$PRE.switch1.switch_b.open,$PRE.switch1.switch_c.open,$PRE.switch2.switch_a.open,$PRE.switch2.switch_b.open,$PRE.switch2.switch_c.open,relay2.y[3],$PRE.relay2.y[3],relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[3],$PRE.relay1.y[3],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],abc.fault_pp2.on,$PRE.abc.fault_pp2.on,abc.fault_pp1.on,$PRE.abc.fault_pp1.on,abc.first,$PRE.abc.first,abc.v_pos,$PRE.abc.v_pos,abc.theta_zero,$PRE.abc.theta_zero,switch2.switch_c.closed,switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,switch1.switch_a.open,switch1.switch_a.arc,$PRE.switch1.switch_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 198 * Array equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(56,103)} Notification: Performance of prepare postOptimizeDAE: time 0.00127/0.5039, allocations: 0.7073 MB / 0.6305 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.5043, allocations: 177.9 kB / 0.6307 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0054/0.5097, allocations: 3.296 MB / 0.6339 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/0.5098, allocations: 15.95 kB / 0.6339 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.5098, allocations: 4 kB / 0.6339 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.5111, allocations: 490.8 kB / 0.6344 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/0.5115, allocations: 91.89 kB / 0.6345 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5126, allocations: 111.9 kB / 0.6346 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/0.5131, allocations: 185.7 kB / 0.6348 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01074/0.5238, allocations: 4.691 MB / 0.6393 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007438/0.5313, allocations: 5.393 MB / 0.6446 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002286/0.5336, allocations: 1.659 MB / 0.6462 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009523/0.5346, allocations: 0.6719 MB / 0.6469 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of Backend: time 4.61e-07/0.5346, allocations: 7.875 kB / 0.6469 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009813/0.5444, allocations: 4.358 MB / 0.6512 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of SimCode: time 0.009757/0.5542, allocations: 6.839 MB / 0.6578 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of Templates: time 0.08239/0.6366, allocations: 52.65 MB / 0.7093 GB, free: 5.316 MB / 0.5606 GB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.pipe 2>&1)