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.0009819/0.0009821, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.521/1.521, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007997/0.0007997, allocations: 91.17 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1645/0.1645, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003653, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3559, allocations: 56.32 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5084, allocations: 98.68 MB / 0.5654 GB, free: 3.754 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5087, allocations: 95.94 kB / 0.5655 GB, free: 3.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02845/0.5371, allocations: 10.1 MB / 0.5754 GB, free: 9.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5372, allocations: 0 / 0.5754 GB, free: 9.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.5372, allocations: 16.12 kB / 0.5754 GB, free: 9.422 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.001355/0.5386, allocations: 0.7848 MB / 0.5762 GB, free: 8.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5387, allocations: 12.03 kB / 0.5762 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.5388, allocations: 55.3 kB / 0.5762 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.5409, allocations: 0.8931 MB / 0.5771 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.541, allocations: 33 kB / 0.5771 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.5411, allocations: 39.94 kB / 0.5772 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.5418, allocations: 470.5 kB / 0.5776 GB, free: 7.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5418, allocations: 7.938 kB / 0.5776 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.5419, allocations: 19.98 kB / 0.5776 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.5419, allocations: 12 kB / 0.5777 GB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.5425, allocations: 358.6 kB / 0.578 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.5448, allocations: 1.714 MB / 0.5797 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.5454, allocations: 309.7 kB / 0.58 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5454, allocations: 8.297 kB / 0.58 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.5459, allocations: 283.6 kB / 0.5802 GB, free: 4.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.5459, allocations: 3.938 kB / 0.5802 GB, free: 4.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002274/0.5481, allocations: 1.433 MB / 0.5816 GB, free: 2.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.5482, allocations: 140.5 kB / 0.5818 GB, free: 2.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.5486, allocations: 328.8 kB / 0.5821 GB, free: 2.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.5486, allocations: 33.7 kB / 0.5821 GB, free: 2.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.5488, allocations: 252 kB / 0.5824 GB, free: 1.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5489, allocations: 114.5 kB / 0.5825 GB, free: 1.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.549, allocations: 12.03 kB / 0.5825 GB, free: 1.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5492, allocations: 354.8 kB / 0.5828 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.5494, allocations: 125.1 kB / 0.5829 GB, free: 1.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.5497, allocations: 256.1 kB / 0.5832 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.55, allocations: 181.6 kB / 0.5834 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.55, allocations: 0 / 0.5834 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008378/0.5508, allocations: 0.5345 MB / 0.5839 GB, free: 196 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.5509, allocations: 37.69 kB / 0.5839 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5509, allocations: 7.938 kB / 0.5839 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.5512, allocations: 74.11 kB / 0.584 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.5515, allocations: 71.95 kB / 0.5841 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.5539, allocations: 2.787 MB / 0.5868 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.5542, allocations: 32.17 kB / 0.5868 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.5542, allocations: 20 kB / 0.5868 GB, free: 12.89 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.0002763/0.5545, allocations: 235.4 kB / 0.5871 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.5546, allocations: 47.39 kB / 0.5871 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008204/0.5554, allocations: 476.8 kB / 0.5876 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5554, allocations: 4 kB / 0.5876 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5554, allocations: 0 / 0.5876 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.5554, allocations: 3.984 kB / 0.5876 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.557, allocations: 1.017 MB / 0.5886 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.557, allocations: 4 kB / 0.5886 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.5572, allocations: 47.89 kB / 0.5886 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/0.5574, allocations: 73.66 kB / 0.5887 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.5574, allocations: 31.91 kB / 0.5887 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.5596, allocations: 2.779 MB / 0.5914 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5597, allocations: 0 / 0.5914 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.5607, allocations: 0.7533 MB / 0.5922 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5609, allocations: 116.7 kB / 0.5923 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.5609, allocations: 12 kB / 0.5923 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.5612, allocations: 23.94 kB / 0.5923 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/0.5613, allocations: 44 kB / 0.5924 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.5613, allocations: 8 kB / 0.5924 GB, free: 6.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.5616, allocations: 255.2 kB / 0.5926 GB, free: 6.543 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5616, allocations: 0 / 0.5926 GB, free: 6.543 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004754/0.5621, allocations: 120 kB / 0.5927 GB, free: 6.426 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.0002325/0.5623, allocations: 142.3 kB / 0.5929 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009691/0.5633, allocations: 0.6374 MB / 0.5935 GB, free: 5.605 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5633, allocations: 0.9375 kB / 0.5935 GB, free: 5.605 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.5639, allocations: 497.2 kB / 0.5939 GB, free: 5.082 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.5644, allocations: 79.91 kB / 0.594 GB, free: 5.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.5661, allocations: 1.209 MB / 0.5952 GB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.5666, allocations: 0.8821 MB / 0.5961 GB, free: 2.852 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.5669, allocations: 71.34 kB / 0.5961 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.567, allocations: 31.44 kB / 0.5962 GB, free: 2.746 MB / 426.7 MB Notification: Performance of SimCode: time 4.5e-07/0.567, allocations: 0 / 0.5962 GB, free: 2.746 MB / 426.7 MB Notification: Performance of Templates: time 0.01/0.577, allocations: 4.874 MB / 0.6009 GB, free: 13.88 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/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