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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009929/0.000993, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 223.5 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009413/0.0009415, allocations: 102.2 kB / 271.9 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.17/0.17, allocations: 38.07 MB / 358.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 16 kB / 425.2 MB, free: 37.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3154, allocations: 56.32 MB / 481.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4538, allocations: 98.72 MB / 0.5667 GB, free: 3.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.4542, allocations: 95.81 kB / 0.5668 GB, free: 3.434 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02945/0.4837, allocations: 10.09 MB / 0.5766 GB, free: 9.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4837, allocations: 0 / 0.5766 GB, free: 9.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.774e-05/0.4837, allocations: 12 kB / 0.5766 GB, free: 9.215 MB / 410.7 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.001543/0.4853, allocations: 0.7812 MB / 0.5774 GB, free: 8.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4853, allocations: 8.031 kB / 0.5774 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.4855, allocations: 56.28 kB / 0.5775 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4867, allocations: 0.5939 MB / 0.578 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.4867, allocations: 29.38 kB / 0.5781 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/0.4868, allocations: 36.31 kB / 0.5781 GB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/0.4876, allocations: 479.2 kB / 0.5786 GB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4876, allocations: 3.938 kB / 0.5786 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.4877, allocations: 16 kB / 0.5786 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.4877, allocations: 8 kB / 0.5786 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.4883, allocations: 358.6 kB / 0.5789 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.4907, allocations: 1.715 MB / 0.5806 GB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.4913, allocations: 309.7 kB / 0.5809 GB, free: 4.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.4918, allocations: 229.8 kB / 0.5811 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4918, allocations: 240 / 0.5811 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/0.4922, allocations: 287.6 kB / 0.5814 GB, free: 4.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.4922, allocations: 0 / 0.5814 GB, free: 4.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002267/0.4945, allocations: 1.362 MB / 0.5827 GB, free: 2.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.4946, allocations: 144.6 kB / 0.5829 GB, free: 2.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.495, allocations: 373.5 kB / 0.5832 GB, free: 2.051 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.4951, allocations: 37.7 kB / 0.5833 GB, free: 2.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.4952, allocations: 252 kB / 0.5835 GB, free: 1.758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.4954, allocations: 117.3 kB / 0.5836 GB, free: 1.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.4954, allocations: 15.88 kB / 0.5836 GB, free: 1.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4955, allocations: 354.7 kB / 0.584 GB, free: 1.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.4958, allocations: 133 kB / 0.5841 GB, free: 1.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.4961, allocations: 252.1 kB / 0.5843 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.4966, allocations: 441.4 kB / 0.5847 GB, free: 356 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4966, allocations: 0 / 0.5847 GB, free: 356 kB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008714/0.4975, allocations: 0.5269 MB / 0.5853 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.4976, allocations: 37.69 kB / 0.5853 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4976, allocations: 7.938 kB / 0.5853 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.4979, allocations: 78.14 kB / 0.5854 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.4981, allocations: 71.89 kB / 0.5854 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.5002, allocations: 2.767 MB / 0.5881 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.5006, allocations: 35.83 kB / 0.5882 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.5006, allocations: 12 kB / 0.5882 GB, free: 12.52 MB / 426.7 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,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.5009, allocations: 247.4 kB / 0.5884 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.501, allocations: 39.53 kB / 0.5885 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.5018, allocations: 489.1 kB / 0.5889 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5018, allocations: 4 kB / 0.5889 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5018, allocations: 0 / 0.5889 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5019, allocations: 7.984 kB / 0.5889 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.5033, allocations: 1.056 MB / 0.59 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5034, allocations: 0 / 0.59 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.5036, allocations: 39.92 kB / 0.59 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002372/0.5038, allocations: 81.64 kB / 0.5901 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.5039, allocations: 8 kB / 0.5901 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.5059, allocations: 2.773 MB / 0.5928 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.506, allocations: 0 / 0.5928 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.507, allocations: 0.7496 MB / 0.5935 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.5071, allocations: 124.6 kB / 0.5937 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.5072, allocations: 8 kB / 0.5937 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.5074, allocations: 19.98 kB / 0.5937 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.5076, allocations: 47.94 kB / 0.5937 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.5076, allocations: 8 kB / 0.5937 GB, free: 6.402 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.5079, allocations: 259.1 kB / 0.594 GB, free: 6.156 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5079, allocations: 0 / 0.594 GB, free: 6.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005773/0.5085, allocations: 116 kB / 0.5941 GB, free: 6.043 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/0.5087, allocations: 127.2 kB / 0.5942 GB, free: 5.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009653/0.5097, allocations: 0.6308 MB / 0.5948 GB, free: 5.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5097, allocations: 0 / 0.5948 GB, free: 5.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.5103, allocations: 493.1 kB / 0.5953 GB, free: 4.723 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.5109, allocations: 86.08 kB / 0.5954 GB, free: 4.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.5128, allocations: 1.21 MB / 0.5966 GB, free: 3.391 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.5132, allocations: 0.8704 MB / 0.5974 GB, free: 2.496 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.5135, allocations: 75.34 kB / 0.5975 GB, free: 2.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.5136, allocations: 31.44 kB / 0.5975 GB, free: 2.391 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5136, allocations: 4 kB / 0.5975 GB, free: 2.387 MB / 426.7 MB Notification: Performance of Templates: time 0.01035/0.524, allocations: 4.955 MB / 0.6024 GB, free: 13.45 MB / 442.7 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","../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