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.0009315/0.0009315, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 82.53 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1698/0.1698, allocations: 38 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.561e-05, allocations: 0 / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09444/0.09447, allocations: 56.33 MB / 466.9 MB, free: 6.562 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4553, allocations: 97.92 MB / 0.5516 GB, free: 13 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4556, allocations: 87.95 kB / 0.5517 GB, free: 12.91 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02762/0.4832, allocations: 10 MB / 0.5614 GB, free: 2.809 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4833, allocations: 0 / 0.5614 GB, free: 2.809 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.4833, allocations: 19.94 kB / 0.5615 GB, free: 2.789 MB / 395.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.001069/0.4844, allocations: 0.7033 MB / 0.5621 GB, free: 2.035 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4844, allocations: 8.031 kB / 0.5621 GB, free: 2.027 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.4845, allocations: 59.3 kB / 0.5622 GB, free: 1.969 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.4866, allocations: 0.8782 MB / 0.5631 GB, free: 1.047 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.4866, allocations: 23.94 kB / 0.5631 GB, free: 1.023 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.4867, allocations: 24 kB / 0.5631 GB, free: 1 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005503/0.4872, allocations: 321.4 kB / 0.5634 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/0.4878, allocations: 414.4 kB / 0.5638 GB, free: 256 kB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4879, allocations: 0 / 0.5638 GB, free: 256 kB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.4879, allocations: 4 kB / 0.5638 GB, free: 252 kB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.4879, allocations: 11.95 kB / 0.5638 GB, free: 240 kB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.49, allocations: 1.64 MB / 0.5654 GB, free: 14.52 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.4905, allocations: 297.5 kB / 0.5657 GB, free: 14.21 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.491, allocations: 209.9 kB / 0.5659 GB, free: 14 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.491, allocations: 4.234 kB / 0.5659 GB, free: 14 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.4914, allocations: 275.3 kB / 0.5662 GB, free: 13.7 MB / 411.1 MB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.4914, allocations: 0 / 0.5662 GB, free: 13.7 MB / 411.1 MB Notification: Performance of matching and sorting (n=36): time 0.001527/0.493, allocations: 0.8985 MB / 0.5671 GB, free: 12.74 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.4931, allocations: 148.4 kB / 0.5672 GB, free: 12.57 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.4934, allocations: 310.3 kB / 0.5675 GB, free: 12.25 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.4935, allocations: 25.7 kB / 0.5675 GB, free: 12.22 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4936, allocations: 259.9 kB / 0.5678 GB, free: 11.96 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.4937, allocations: 110.5 kB / 0.5679 GB, free: 11.86 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.4938, allocations: 0 / 0.5679 GB, free: 11.86 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4939, allocations: 354.8 kB / 0.5682 GB, free: 11.5 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4941, allocations: 117.1 kB / 0.5683 GB, free: 11.39 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.4944, allocations: 235.1 kB / 0.5685 GB, free: 11.1 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.4946, allocations: 148 kB / 0.5687 GB, free: 10.96 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4946, allocations: 4 kB / 0.5687 GB, free: 10.95 MB / 411.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006793/0.4953, allocations: 461.9 kB / 0.5691 GB, free: 10.49 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.4953, allocations: 37.66 kB / 0.5692 GB, free: 10.45 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4954, allocations: 4.469 kB / 0.5692 GB, free: 10.44 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.4956, allocations: 77.67 kB / 0.5692 GB, free: 10.36 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.4959, allocations: 71.84 kB / 0.5693 GB, free: 10.29 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.4979, allocations: 2.657 MB / 0.5719 GB, free: 7.406 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.4982, allocations: 19.98 kB / 0.5719 GB, free: 7.387 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.4982, allocations: 20 kB / 0.5719 GB, free: 7.367 MB / 411.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,$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 () * 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.0001556/0.4984, allocations: 158.6 kB / 0.5721 GB, free: 7.199 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.4984, allocations: 43.44 kB / 0.5721 GB, free: 7.156 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007213/0.4992, allocations: 419.5 kB / 0.5725 GB, free: 6.73 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4992, allocations: 7.984 kB / 0.5725 GB, free: 6.723 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4992, allocations: 0 / 0.5725 GB, free: 6.723 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4992, allocations: 0 / 0.5725 GB, free: 6.723 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.5005, allocations: 0.899 MB / 0.5734 GB, free: 5.77 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5005, allocations: 0 / 0.5734 GB, free: 5.77 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.5007, allocations: 39.92 kB / 0.5735 GB, free: 5.73 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.5009, allocations: 77.64 kB / 0.5735 GB, free: 5.648 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.501, allocations: 7.984 kB / 0.5735 GB, free: 5.641 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.5028, allocations: 2.672 MB / 0.5762 GB, free: 2.738 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5028, allocations: 3.953 kB / 0.5762 GB, free: 2.734 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.5037, allocations: 0.6851 MB / 0.5768 GB, free: 2.008 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5039, allocations: 116.7 kB / 0.5769 GB, free: 1.875 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.5039, allocations: 12 kB / 0.5769 GB, free: 1.863 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.5042, allocations: 19.98 kB / 0.577 GB, free: 1.844 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.5043, allocations: 35.89 kB / 0.577 GB, free: 1.809 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.5043, allocations: 15.98 kB / 0.577 GB, free: 1.793 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.5046, allocations: 232.6 kB / 0.5772 GB, free: 1.57 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5046, allocations: 0 / 0.5772 GB, free: 1.57 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.5051, allocations: 104 kB / 0.5773 GB, free: 1.469 MB / 411.1 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) * 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.0002051/0.5054, allocations: 131.8 kB / 0.5775 GB, free: 1.336 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0008574/0.5062, allocations: 0.5892 MB / 0.578 GB, free: 0.7148 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5062, allocations: 0 / 0.578 GB, free: 0.7148 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.5068, allocations: 462.8 kB / 0.5785 GB, free: 236 kB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.5073, allocations: 73.33 kB / 0.5785 GB, free: 156 kB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.5085, allocations: 0.7085 MB / 0.5792 GB, free: 15.41 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.5089, allocations: 0.8821 MB / 0.5801 GB, free: 14.51 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.5092, allocations: 59.38 kB / 0.5802 GB, free: 14.45 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.5093, allocations: 39.36 kB / 0.5802 GB, free: 14.41 MB / 427.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5093, allocations: 0 / 0.5802 GB, free: 14.41 MB / 427.1 MB Notification: Performance of Templates: time 0.008718/0.518, allocations: 4.58 MB / 0.5847 GB, free: 9.836 MB / 427.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/jenkins/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