Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001108, 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.001131/0.001131, 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1788/0.1788, allocations: 38.03 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2976, allocations: 58.06 MB / 0.5048 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005437/0.3031, allocations: 5.306 MB / 0.51 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3049, allocations: 1.161 MB / 0.5111 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.3051, allocations: 13.81 kB / 0.5111 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.3054, allocations: 97.25 kB / 0.5112 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006253/0.3061, allocations: 321.6 kB / 0.5115 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.3064, allocations: 148.1 kB / 0.5116 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006372/0.307, allocations: 0.7268 MB / 0.5124 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.3073, allocations: 193.9 kB / 0.5125 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.3077, allocations: 320.7 kB / 0.5128 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.3082, allocations: 361.9 kB / 0.5132 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.3083, allocations: 39.97 kB / 0.5132 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.3084, allocations: 41.97 kB / 0.5133 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.3086, allocations: 201.8 kB / 0.5135 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.3088, allocations: 259.9 kB / 0.5137 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.3094, allocations: 0.5504 MB / 0.5142 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3094, allocations: 0 / 0.5142 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3094, allocations: 5.469 kB / 0.5143 GB, free: 1.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3094, allocations: 0 / 0.5143 GB, free: 1.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001538/0.3109, allocations: 0.8286 MB / 0.5151 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.311, allocations: 13.22 kB / 0.5151 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.3111, allocations: 57.91 kB / 0.5151 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.3118, allocations: 450.7 kB / 0.5156 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.3119, allocations: 33.08 kB / 0.5156 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/0.312, allocations: 40.34 kB / 0.5156 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008347/0.3128, allocations: 483.6 kB / 0.5161 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3128, allocations: 1.469 kB / 0.5161 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.3129, allocations: 20.36 kB / 0.5161 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.313, allocations: 29.34 kB / 0.5161 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/0.3137, allocations: 366.1 kB / 0.5165 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.316, allocations: 1.708 MB / 0.5182 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.3167, allocations: 404.2 kB / 0.5185 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.3172, allocations: 205.2 kB / 0.5187 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.3172, allocations: 3.625 kB / 0.5187 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.3177, allocations: 288 kB / 0.519 GB, free: 14.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.514e-06/0.3177, allocations: 7.875 kB / 0.519 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002366/0.3201, allocations: 1.393 MB / 0.5204 GB, free: 13.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.3202, allocations: 140.1 kB / 0.5205 GB, free: 13.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.3206, allocations: 371.3 kB / 0.5209 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.3206, allocations: 40.11 kB / 0.5209 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3208, allocations: 253.3 kB / 0.5212 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.3209, allocations: 114.5 kB / 0.5213 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.321, allocations: 81.38 kB / 0.5213 GB, free: 13.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3212, allocations: 353.3 kB / 0.5217 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.3214, allocations: 130.4 kB / 0.5218 GB, free: 12.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.3217, allocations: 257.6 kB / 0.522 GB, free: 12.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.3223, allocations: 443.4 kB / 0.5225 GB, free: 12.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3223, allocations: 1.125 kB / 0.5225 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009344/0.3232, allocations: 0.5425 MB / 0.523 GB, free: 11.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.3233, allocations: 33.56 kB / 0.523 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3233, allocations: 3.531 kB / 0.523 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.3236, allocations: 80.14 kB / 0.5231 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.3238, allocations: 73.31 kB / 0.5232 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.3262, allocations: 2.998 MB / 0.5261 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.3265, allocations: 24.94 kB / 0.5261 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.3266, allocations: 15.47 kB / 0.5261 GB, free: 8.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002909/0.3269, allocations: 248.7 kB / 0.5264 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.3269, allocations: 40.2 kB / 0.5264 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000874/0.3278, allocations: 0.4885 MB / 0.5269 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3278, allocations: 3.797 kB / 0.5269 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3278, allocations: 0 / 0.5269 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3279, allocations: 118.6 kB / 0.527 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.328, allocations: 15.36 kB / 0.527 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.3282, allocations: 17.55 kB / 0.527 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3284, allocations: 39.55 kB / 0.5271 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001092/0.3295, allocations: 0.6913 MB / 0.5278 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001067/0.3305, allocations: 0.872 MB / 0.5286 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002772/0.3308, allocations: 179 kB / 0.5288 GB, free: 7.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.3311, allocations: 264.8 kB / 0.529 GB, free: 7.242 MB / 398.1 MB Notification: Performance of Backend: time 2.21e-07/0.3311, allocations: 0 / 0.529 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3323, allocations: 0.58 MB / 0.5296 GB, free: 6.809 MB / 398.1 MB Notification: Performance of SimCode: time 0.001831/0.3341, allocations: 1.451 MB / 0.531 GB, free: 5.738 MB / 398.1 MB Notification: Performance of Templates: time 0.01243/0.3465, allocations: 5.655 MB / 0.5365 GB, free: 3.75 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,meter.i,meter.p,meter.v Variables in the result:breaker.I_nom,breaker.V_nom,breaker.breaker_1.D,breaker.breaker_1.Earc,breaker.breaker_1.R0,breaker.breaker_1.arcBreaker.E,breaker.breaker_1.arcBreaker.r,breaker.breaker_1.epsG,breaker.breaker_1.epsR,breaker.breaker_1.t_opening,breaker.epsG,breaker.epsR,breaker.eps[1],breaker.eps[2],breaker.par.D,breaker.par.Earc,breaker.par.R0,breaker.par.t_opening,ind.L[1,1],ind.L[1,2],ind.L[2,1],ind.L[2,2],ind.RL_base[1],ind.RL_base[2],ind.R[1],ind.R[2],ind.S_nom,ind.V_nom,ind.dynType,ind.f_nom,ind.i_start[1],ind.i_start[2],ind.puUnits,ind.r[1],ind.r[2],ind.v_start[1],ind.v_start[2],ind.x[1,1],ind.x[1,2],ind.x[2,1],ind.x[2,2],meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.av,meter.i,meter.p,meter.puUnits,meter.tcst,meter.v,relay.ini_state,relay.n,relay.switched[1],relay.t_switch[1],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.coef,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,voltage.S_nom,voltage.V_base,voltage.V_nom,voltage.alpha0,voltage.f,voltage.fType,voltage.pol,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0eff