Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline.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.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001016/0.001016, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.264/1.264, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1706/0.1706, allocations: 38.04 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3003, allocations: 58.05 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.01112/0.3115, allocations: 6.578 MB / 0.5112 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.3168, allocations: 2.101 MB / 0.5133 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006195/0.3174, allocations: 21.88 kB / 0.5133 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.3199, allocations: 0.6352 MB / 0.5139 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.3221, allocations: 0.5456 MB / 0.5144 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.3236, allocations: 371.4 kB / 0.5148 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.3258, allocations: 1.217 MB / 0.516 GB, free: 284 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.3271, allocations: 0.5794 MB / 0.5165 GB, free: 24 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.3286, allocations: 0.5223 MB / 0.517 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.3304, allocations: 0.6566 MB / 0.5177 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004498/0.3308, allocations: 92.88 kB / 0.5178 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.3328, allocations: 0.5134 MB / 0.5183 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009703/0.3338, allocations: 486.8 kB / 0.5187 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.3352, allocations: 0.5263 MB / 0.5193 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.338, allocations: 1.375 MB / 0.5206 GB, free: 14.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3381, allocations: 4 kB / 0.5206 GB, free: 14.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3381, allocations: 0.9688 kB / 0.5206 GB, free: 14.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.074e-05/0.3381, allocations: 0 / 0.5206 GB, free: 14.41 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.005161/0.3433, allocations: 1.38 MB / 0.5219 GB, free: 13.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3434, allocations: 13.11 kB / 0.522 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.345, allocations: 155.3 kB / 0.5221 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.3471, allocations: 0.6301 MB / 0.5227 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3473, allocations: 73.23 kB / 0.5228 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.3477, allocations: 101.8 kB / 0.5229 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.3514, allocations: 1.313 MB / 0.5242 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/0.3515, allocations: 1.281 kB / 0.5242 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.3516, allocations: 36.41 kB / 0.5242 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/0.3519, allocations: 61.52 kB / 0.5243 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.3553, allocations: 1.18 MB / 0.5254 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/0.3671, allocations: 4.638 MB / 0.5299 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.3697, allocations: 1.289 MB / 0.5312 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.3712, allocations: 0.6419 MB / 0.5318 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/0.3713, allocations: 17.08 kB / 0.5319 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/0.3733, allocations: 0.8996 MB / 0.5327 GB, free: 7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 5.711e-06/0.3733, allocations: 0 / 0.5327 GB, free: 7 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.008986/0.3823, allocations: 3.582 MB / 0.5362 GB, free: 4.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.3825, allocations: 233.7 kB / 0.5364 GB, free: 4.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/0.3835, allocations: 0.4925 MB / 0.5369 GB, free: 4.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.3836, allocations: 56.03 kB / 0.537 GB, free: 4.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/0.3841, allocations: 404.9 kB / 0.5374 GB, free: 4.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005048/0.3847, allocations: 364.7 kB / 0.5377 GB, free: 3.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.3852, allocations: 227.4 kB / 0.5379 GB, free: 3.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002747/0.3855, allocations: 393.9 kB / 0.5383 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.387, allocations: 0.5194 MB / 0.5388 GB, free: 2.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.3887, allocations: 0.7812 MB / 0.5396 GB, free: 2.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/0.3919, allocations: 1.407 MB / 0.541 GB, free: 1.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.3919, allocations: 1.375 kB / 0.541 GB, free: 1.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.006756/0.3987, allocations: 2.065 MB / 0.543 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/0.3988, allocations: 64.42 kB / 0.543 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005309/0.4041, allocations: 1.638 MB / 0.5446 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003554/0.4077, allocations: 0.6564 MB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.4085, allocations: 143.6 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.4246, allocations: 6.47 MB / 0.5517 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4257, allocations: 67.84 kB / 0.5518 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.4259, allocations: 47.94 kB / 0.5518 GB, free: 7.355 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay2.y[3],$PRE.relay2.y[3],relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[3],$PRE.relay1.y[3],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],switch2.switch_c.closed,switch2.switch_c.open,$PRE.switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,$PRE.switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,$PRE.switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,$PRE.switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,$PRE.switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,switch1.switch_a.open,$PRE.switch1.switch_a.open,switch1.switch_a.arc,$PRE.switch1.switch_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009535/0.4269, allocations: 438.1 kB / 0.5523 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/0.4272, allocations: 79.06 kB / 0.5523 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003654/0.4309, allocations: 1.427 MB / 0.5537 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.4309, allocations: 3.984 kB / 0.5537 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.431, allocations: 7.938 kB / 0.5537 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.4313, allocations: 144.1 kB / 0.5539 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.4315, allocations: 35.92 kB / 0.5539 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.4323, allocations: 47.95 kB / 0.554 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.4326, allocations: 96.88 kB / 0.554 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005225/0.4379, allocations: 1.845 MB / 0.5558 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005535/0.4434, allocations: 2.459 MB / 0.5583 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001551/0.445, allocations: 0.7107 MB / 0.5589 GB, free: 15.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006831/0.4457, allocations: 346.9 kB / 0.5593 GB, free: 15.6 MB / 430.1 MB Notification: Performance of Backend: time 7.32e-07/0.4457, allocations: 0 / 0.5593 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005238/0.451, allocations: 1.506 MB / 0.5607 GB, free: 14.05 MB / 430.1 MB Notification: Performance of SimCode: time 0.004502/0.4555, allocations: 2.261 MB / 0.563 GB, free: 11.71 MB / 430.1 MB Notification: Performance of Templates: time 0.02894/0.4844, allocations: 16.22 MB / 0.5788 GB, free: 11.57 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.RXline.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.RXline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches