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.0008437/0.0008438, allocations: 95.89 kB / 16.3 MB, free: 6.461 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.0009707/0.0009708, allocations: 173.3 kB / 17.19 MB, free: 6.348 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.249/1.249, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3/0.3, allocations: 38.08 MB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 12 kB / 400 MB, free: 9.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2576, allocations: 59.15 MB / 459.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005028/0.2627, allocations: 5.059 MB / 464.2 MB, free: 26.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2647, allocations: 1.312 MB / 465.5 MB, free: 25.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.265, allocations: 22.62 kB / 465.5 MB, free: 25.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.2653, allocations: 88.23 kB / 465.6 MB, free: 25.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005793/0.2659, allocations: 262.1 kB / 465.9 MB, free: 25.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.2662, allocations: 151.4 kB / 466 MB, free: 25.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00045/0.2667, allocations: 371.9 kB / 466.4 MB, free: 25.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.2669, allocations: 147.3 kB / 466.5 MB, free: 25.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.2673, allocations: 230.6 kB / 466.7 MB, free: 25.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004015/0.2677, allocations: 237.5 kB / 467 MB, free: 24.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.2677, allocations: 19.03 kB / 467 MB, free: 24.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.916e-05/0.2678, allocations: 20.53 kB / 467 MB, free: 24.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.268, allocations: 166.9 kB / 467.2 MB, free: 24.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2681, allocations: 118.1 kB / 467.3 MB, free: 24.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.2686, allocations: 412.7 kB / 467.7 MB, free: 24.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2687, allocations: 0 / 467.7 MB, free: 24.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2687, allocations: 5.031 kB / 467.7 MB, free: 24.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2687, allocations: 0 / 467.7 MB, free: 24.74 MB / 350.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.00126/0.2699, allocations: 0.7522 MB / 468.4 MB, free: 24.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.27, allocations: 9.188 kB / 468.5 MB, free: 24.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.843e-05/0.2701, allocations: 54.17 kB / 468.5 MB, free: 24.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.2707, allocations: 424.7 kB / 468.9 MB, free: 23.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.2708, allocations: 30.23 kB / 469 MB, free: 23.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.2708, allocations: 35.75 kB / 469 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.2716, allocations: 481 kB / 469.5 MB, free: 23.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2716, allocations: 4 kB / 469.5 MB, free: 23.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.2716, allocations: 14.31 kB / 469.5 MB, free: 23.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.2717, allocations: 33.14 kB / 469.5 MB, free: 23.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.2723, allocations: 369 kB / 469.9 MB, free: 23.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.2744, allocations: 1.722 MB / 471.6 MB, free: 22.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.275, allocations: 403.4 kB / 472 MB, free: 21.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.275, allocations: 7.156 kB / 472 MB, free: 21.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.2755, allocations: 292.3 kB / 472.3 MB, free: 21.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.764e-06/0.2755, allocations: 0 / 472.3 MB, free: 21.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.00221/0.2777, allocations: 1.487 MB / 473.8 MB, free: 20.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.2778, allocations: 136.6 kB / 473.9 MB, free: 20.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.2782, allocations: 367.6 kB / 474.3 MB, free: 20.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.2782, allocations: 37.44 kB / 474.3 MB, free: 20.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.2784, allocations: 254.5 kB / 474.5 MB, free: 20.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.2785, allocations: 117.1 kB / 474.7 MB, free: 20.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.2785, allocations: 9.406 kB / 474.7 MB, free: 20.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.2786, allocations: 359.7 kB / 475 MB, free: 19.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2788, allocations: 128.9 kB / 475.1 MB, free: 19.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.2791, allocations: 262.5 kB / 475.4 MB, free: 19.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.2794, allocations: 180.8 kB / 475.6 MB, free: 19.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2794, allocations: 1.375 kB / 475.6 MB, free: 19.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008077/0.2802, allocations: 0.5423 MB / 476.1 MB, free: 19.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.2802, allocations: 33.33 kB / 476.1 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2803, allocations: 2.875 kB / 476.2 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.2805, allocations: 76.86 kB / 476.2 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.2808, allocations: 81.78 kB / 476.3 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.2824, allocations: 2.808 MB / 479.1 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.2827, allocations: 31.8 kB / 479.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.2827, allocations: 20.44 kB / 479.2 MB, free: 16.38 MB / 350.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,$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,$whenCondition1,$PRE.relay.cnt,relay.cnt) * 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.0002603/0.283, allocations: 232.2 kB / 479.4 MB, free: 16.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.2831, allocations: 43.98 kB / 479.4 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/0.2839, allocations: 0.518 MB / 480 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.284, allocations: 4.062 kB / 480 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.284, allocations: 1.312 kB / 480 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.284, allocations: 7 kB / 480 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.2853, allocations: 1.057 MB / 481 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2854, allocations: 4 kB / 481 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.2855, allocations: 43.23 kB / 481.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.2857, allocations: 86.55 kB / 481.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.2858, allocations: 17.17 kB / 481.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.2872, allocations: 2.812 MB / 484 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2873, allocations: 0 / 484 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.2882, allocations: 0.8077 MB / 484.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.2883, allocations: 116.8 kB / 484.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.2884, allocations: 9.875 kB / 484.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.2886, allocations: 24.3 kB / 484.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.2887, allocations: 38.81 kB / 485 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.2887, allocations: 13.06 kB / 485 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.289, allocations: 261.6 kB / 485.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.289, allocations: 0 / 485.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000495/0.2895, allocations: 113.2 kB / 485.4 MB, free: 11.48 MB / 350.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) * 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.0001209/0.2896, allocations: 113.3 kB / 485.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.2905, allocations: 0.6514 MB / 486.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2905, allocations: 0 / 486.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.291, allocations: 0.4967 MB / 486.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.2915, allocations: 76.14 kB / 486.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2929, allocations: 1.212 MB / 487.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.2932, allocations: 0.8775 MB / 488.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.2934, allocations: 73.22 kB / 488.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.2935, allocations: 30.69 kB / 488.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2935, allocations: 0 / 488.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of Templates: time 0.007286/0.3008, allocations: 4.823 MB / 493.7 MB, free: 4.09 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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