Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 106.4 kB / 17.74 MB, free: 5.348 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.00117/0.001171, allocations: 185.4 kB / 18.67 MB, free: 4.43 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.337/1.337, 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.1712/0.1712, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3362, allocations: 58.06 MB / 0.5048 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006332/0.3426, allocations: 6.641 MB / 0.5112 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.3453, allocations: 2.015 MB / 0.5132 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.3456, allocations: 30.31 kB / 0.5132 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.3472, allocations: 0.7185 MB / 0.5139 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.3484, allocations: 0.5703 MB / 0.5145 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.349, allocations: 247.6 kB / 0.5147 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3501, allocations: 1.144 MB / 0.5158 GB, free: 308 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007461/0.3509, allocations: 0.5875 MB / 0.5164 GB, free: 64 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006748/0.3516, allocations: 0.5268 MB / 0.5169 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009241/0.3525, allocations: 0.6025 MB / 0.5175 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.3527, allocations: 67.56 kB / 0.5176 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.3533, allocations: 275.2 kB / 0.5179 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006414/0.354, allocations: 480 kB / 0.5183 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005205/0.3545, allocations: 498.9 kB / 0.5188 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.3558, allocations: 1.182 MB / 0.5199 GB, free: 14.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3558, allocations: 5.406 kB / 0.5199 GB, free: 14.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3559, allocations: 0 / 0.5199 GB, free: 14.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.3559, allocations: 0 / 0.5199 GB, free: 14.64 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002157/0.358, allocations: 1.209 MB / 0.5211 GB, free: 13.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.3581, allocations: 13.06 kB / 0.5211 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/0.3591, allocations: 163.4 kB / 0.5213 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.3602, allocations: 0.6193 MB / 0.5219 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.3603, allocations: 71.58 kB / 0.522 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.3605, allocations: 97.27 kB / 0.5221 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3623, allocations: 1.154 MB / 0.5232 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.3623, allocations: 7.438 kB / 0.5232 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.3624, allocations: 32.23 kB / 0.5232 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.3626, allocations: 87.61 kB / 0.5233 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.3643, allocations: 1.005 MB / 0.5243 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005293/0.3696, allocations: 4.336 MB / 0.5285 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.3707, allocations: 0.6259 MB / 0.5291 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.3712, allocations: 311.4 kB / 0.5294 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.3713, allocations: 6.469 kB / 0.5294 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.3713, allocations: 47.72 kB / 0.5295 GB, free: 9.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 3.025e-06/0.3713, allocations: 0 / 0.5295 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003124/0.3744, allocations: 1.738 MB / 0.5312 GB, free: 8.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3745, allocations: 91.8 kB / 0.5313 GB, free: 8.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.3751, allocations: 0.5538 MB / 0.5318 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.3752, allocations: 36.45 kB / 0.5318 GB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.3754, allocations: 435.3 kB / 0.5323 GB, free: 7.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.3756, allocations: 219.1 kB / 0.5325 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.3759, allocations: 188 kB / 0.5326 GB, free: 6.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3761, allocations: 376.6 kB / 0.533 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.3766, allocations: 284.4 kB / 0.5333 GB, free: 6.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/0.3773, allocations: 0.6188 MB / 0.5339 GB, free: 5.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.3785, allocations: 0.9672 MB / 0.5348 GB, free: 5.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3785, allocations: 3.594 kB / 0.5348 GB, free: 5.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002172/0.3807, allocations: 1.184 MB / 0.536 GB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3807, allocations: 13.12 kB / 0.536 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00132/0.3821, allocations: 0.7104 MB / 0.5367 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007218/0.3828, allocations: 213.5 kB / 0.5369 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.3836, allocations: 225.6 kB / 0.5371 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.3883, allocations: 5.366 MB / 0.5424 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.3889, allocations: 48.17 kB / 0.5424 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.389, allocations: 43.03 kB / 0.5424 GB, free: 14.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005365/0.3895, allocations: 342.6 kB / 0.5428 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3897, allocations: 66.62 kB / 0.5428 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.3908, allocations: 0.6578 MB / 0.5435 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.3908, allocations: 3.984 kB / 0.5435 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3908, allocations: 1.375 kB / 0.5435 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.3911, allocations: 178.8 kB / 0.5436 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.3912, allocations: 17.48 kB / 0.5437 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.3915, allocations: 12.12 kB / 0.5437 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3916, allocations: 49.11 kB / 0.5437 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001715/0.3933, allocations: 0.9112 MB / 0.5446 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001452/0.3948, allocations: 1.201 MB / 0.5458 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004014/0.3952, allocations: 297.6 kB / 0.5461 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003883/0.3956, allocations: 370.8 kB / 0.5464 GB, free: 12.39 MB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.3956, allocations: 0 / 0.5464 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.3975, allocations: 1.01 MB / 0.5474 GB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 0.002743/0.4003, allocations: 2.228 MB / 0.5496 GB, free: 9.312 MB / 414.1 MB Notification: Performance of Templates: time 0.01637/0.4167, allocations: 10.02 MB / 0.5594 GB, free: 15.32 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches