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.001313/0.001313, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.414/1.414, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001055/0.001055, allocations: 94.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1594/0.1594, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.871e-05, allocations: 7.938 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 56.32 MB / 474.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3855/0.4884, allocations: 98.58 MB / 0.5592 GB, free: 4.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.4887, allocations: 90.69 kB / 0.5593 GB, free: 4.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02583/0.5145, allocations: 10.1 MB / 0.5692 GB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.5146, allocations: 0 / 0.5692 GB, free: 11.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.038e-05/0.5146, allocations: 16 kB / 0.5692 GB, free: 11.36 MB / 378.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.001055/0.5157, allocations: 0.7134 MB / 0.5699 GB, free: 10.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5157, allocations: 11.97 kB / 0.5699 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.5158, allocations: 63.3 kB / 0.57 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.5179, allocations: 0.8776 MB / 0.5708 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.5179, allocations: 27.03 kB / 0.5708 GB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.518, allocations: 34.62 kB / 0.5709 GB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.5187, allocations: 471.4 kB / 0.5713 GB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5187, allocations: 3.938 kB / 0.5713 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.5188, allocations: 17.06 kB / 0.5713 GB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.5188, allocations: 8 kB / 0.5713 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.5194, allocations: 349 kB / 0.5717 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.5216, allocations: 1.716 MB / 0.5734 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.5221, allocations: 309.2 kB / 0.5736 GB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.5226, allocations: 220.8 kB / 0.5739 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.5226, allocations: 4.234 kB / 0.5739 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.523, allocations: 279.8 kB / 0.5741 GB, free: 6.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.523, allocations: 0 / 0.5741 GB, free: 6.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00158/0.5246, allocations: 1.055 MB / 0.5752 GB, free: 5.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.5247, allocations: 148.4 kB / 0.5753 GB, free: 5.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.525, allocations: 321.3 kB / 0.5756 GB, free: 5.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.525, allocations: 33.27 kB / 0.5756 GB, free: 5.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.5252, allocations: 260.9 kB / 0.5759 GB, free: 5.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.5253, allocations: 117.9 kB / 0.576 GB, free: 5.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.5253, allocations: 7.688 kB / 0.576 GB, free: 5.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5254, allocations: 350 kB / 0.5763 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.5256, allocations: 127.2 kB / 0.5765 GB, free: 4.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.5259, allocations: 249.9 kB / 0.5767 GB, free: 4.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.5261, allocations: 179.6 kB / 0.5769 GB, free: 4.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5261, allocations: 0 / 0.5769 GB, free: 4.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007518/0.5269, allocations: 0.5369 MB / 0.5774 GB, free: 3.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.5269, allocations: 29.7 kB / 0.5774 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.527, allocations: 4 kB / 0.5774 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.5272, allocations: 84.27 kB / 0.5775 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.5275, allocations: 66.78 kB / 0.5776 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.5294, allocations: 2.761 MB / 0.5803 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.5297, allocations: 29.23 kB / 0.5803 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.5297, allocations: 19.19 kB / 0.5803 GB, free: 0.8555 MB / 378.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 () * 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.0001375/0.5299, allocations: 167.7 kB / 0.5805 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.5299, allocations: 43.62 kB / 0.5805 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.5307, allocations: 474.5 kB / 0.581 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.5307, allocations: 7.938 kB / 0.581 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5307, allocations: 4 kB / 0.581 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5308, allocations: 0 / 0.581 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.5321, allocations: 1.018 MB / 0.582 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5321, allocations: 3.953 kB / 0.582 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.5323, allocations: 39.92 kB / 0.582 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.5325, allocations: 87.17 kB / 0.5821 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.5326, allocations: 7.562 kB / 0.5821 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.5344, allocations: 2.765 MB / 0.5848 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5344, allocations: 0 / 0.5848 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/0.5353, allocations: 0.7564 MB / 0.5855 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.5354, allocations: 112.4 kB / 0.5857 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.5355, allocations: 23.38 kB / 0.5857 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.5357, allocations: 23.55 kB / 0.5857 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.5358, allocations: 35.08 kB / 0.5857 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.5359, allocations: 11.31 kB / 0.5857 GB, free: 11.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.5361, allocations: 255.3 kB / 0.586 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5361, allocations: 0 / 0.586 GB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.5366, allocations: 109.8 kB / 0.5861 GB, free: 11.24 MB / 394.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) * 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.00023/0.5368, allocations: 131.6 kB / 0.5862 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.5376, allocations: 0.6216 MB / 0.5868 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5377, allocations: 4.062 kB / 0.5868 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.5382, allocations: 487.1 kB / 0.5873 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.5386, allocations: 80.94 kB / 0.5874 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.5398, allocations: 0.7332 MB / 0.5881 GB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.5402, allocations: 0.8752 MB / 0.5889 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.5404, allocations: 75.3 kB / 0.589 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.5405, allocations: 31.42 kB / 0.589 GB, free: 8.363 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5405, allocations: 4 kB / 0.589 GB, free: 8.359 MB / 394.7 MB Notification: Performance of Templates: time 0.008613/0.5491, allocations: 4.927 MB / 0.5939 GB, free: 3.453 MB / 394.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