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.001707/0.001707, allocations: 110.2 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.001951/0.001951, allocations: 185.4 kB / 18.67 MB, free: 4.41 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.319/1.319, 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.1779/0.1779, allocations: 38.05 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.89 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2868, allocations: 58.05 MB / 0.5048 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005827/0.2927, allocations: 5.303 MB / 0.51 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2946, allocations: 1.158 MB / 0.5111 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.2949, allocations: 16.94 kB / 0.5111 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.2953, allocations: 92.95 kB / 0.5112 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008621/0.2962, allocations: 320.8 kB / 0.5115 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.2967, allocations: 156.5 kB / 0.5116 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008796/0.2975, allocations: 0.7197 MB / 0.5124 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.2978, allocations: 192.7 kB / 0.5125 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.2984, allocations: 321.4 kB / 0.5128 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006685/0.2991, allocations: 358.5 kB / 0.5132 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.2992, allocations: 44.53 kB / 0.5132 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.2994, allocations: 40.91 kB / 0.5133 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.2997, allocations: 202.3 kB / 0.5135 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.3001, allocations: 259.7 kB / 0.5137 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006693/0.3007, allocations: 0.5544 MB / 0.5142 GB, free: 1.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3007, allocations: 1.438 kB / 0.5142 GB, free: 1.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3008, allocations: 0 / 0.5142 GB, free: 1.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.3008, allocations: 0 / 0.5142 GB, free: 1.82 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.001611/0.3024, allocations: 0.8526 MB / 0.5151 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3024, allocations: 13.05 kB / 0.5151 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.3026, allocations: 54.92 kB / 0.5151 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.3033, allocations: 454 kB / 0.5156 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.3033, allocations: 32.7 kB / 0.5156 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.3034, allocations: 36.72 kB / 0.5156 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.3042, allocations: 488.6 kB / 0.5161 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3042, allocations: 3.938 kB / 0.5161 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.3042, allocations: 13.97 kB / 0.5161 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.3044, allocations: 28.59 kB / 0.5162 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.305, allocations: 367.4 kB / 0.5165 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.3075, allocations: 1.718 MB / 0.5182 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.3083, allocations: 404.9 kB / 0.5186 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.3087, allocations: 203.3 kB / 0.5188 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.3087, allocations: 4.234 kB / 0.5188 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/0.3092, allocations: 279.8 kB / 0.519 GB, free: 14.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.3092, allocations: 1.469 kB / 0.519 GB, free: 14.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002411/0.3116, allocations: 1.413 MB / 0.5204 GB, free: 13.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.3117, allocations: 136.8 kB / 0.5205 GB, free: 13.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.3121, allocations: 379.3 kB / 0.5209 GB, free: 13.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.3122, allocations: 32.67 kB / 0.5209 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3124, allocations: 258.8 kB / 0.5212 GB, free: 13.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3125, allocations: 112.8 kB / 0.5213 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3126, allocations: 78.11 kB / 0.5214 GB, free: 13.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3128, allocations: 359.6 kB / 0.5217 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.313, allocations: 129.4 kB / 0.5218 GB, free: 12.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.3134, allocations: 255.1 kB / 0.5221 GB, free: 12.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.3139, allocations: 443.8 kB / 0.5225 GB, free: 12.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.314, allocations: 2.344 kB / 0.5225 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008982/0.3149, allocations: 0.536 MB / 0.523 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3149, allocations: 36.52 kB / 0.5231 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3149, allocations: 4.188 kB / 0.5231 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.3152, allocations: 78.69 kB / 0.5231 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.3155, allocations: 69.27 kB / 0.5232 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.3178, allocations: 3.006 MB / 0.5261 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.3181, allocations: 31.84 kB / 0.5262 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.3182, allocations: 22.66 kB / 0.5262 GB, free: 8.91 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.0002956/0.3185, allocations: 242.4 kB / 0.5264 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.3185, allocations: 42.89 kB / 0.5265 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008974/0.3194, allocations: 0.4902 MB / 0.5269 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3195, allocations: 2.062 kB / 0.5269 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3195, allocations: 5.094 kB / 0.527 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3196, allocations: 118.9 kB / 0.5271 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.3197, allocations: 15.23 kB / 0.5271 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3199, allocations: 21.83 kB / 0.5271 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.32, allocations: 35.44 kB / 0.5271 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001098/0.3211, allocations: 0.6986 MB / 0.5278 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001056/0.3222, allocations: 0.8641 MB / 0.5287 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000288/0.3225, allocations: 183.9 kB / 0.5288 GB, free: 7.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.3228, allocations: 265.4 kB / 0.5291 GB, free: 7.168 MB / 398.1 MB Notification: Performance of Backend: time 5.31e-07/0.3228, allocations: 0 / 0.5291 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.324, allocations: 0.5743 MB / 0.5297 GB, free: 6.742 MB / 398.1 MB Notification: Performance of SimCode: time 0.001845/0.3259, allocations: 1.478 MB / 0.5311 GB, free: 5.641 MB / 398.1 MB Notification: Performance of Templates: time 0.0116/0.3375, allocations: 5.646 MB / 0.5366 GB, free: 3.73 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