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.001547/0.001547, allocations: 109.7 kB / 17.06 MB, free: 5.996 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.001248/0.001248, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.45/1.45, allocations: 222.9 MB / 241.7 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.1745/0.1745, allocations: 38.05 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 458.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4111, allocations: 58.05 MB / 0.5041 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00804/0.4192, allocations: 6.649 MB / 0.5106 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.4231, allocations: 2.019 MB / 0.5126 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.4235, allocations: 23.22 kB / 0.5126 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.4253, allocations: 0.721 MB / 0.5133 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.4268, allocations: 0.5674 MB / 0.5138 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.4276, allocations: 251.3 kB / 0.5141 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.4291, allocations: 1.134 MB / 0.5152 GB, free: 332 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009559/0.4301, allocations: 0.5918 MB / 0.5158 GB, free: 80 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.4311, allocations: 0.5206 MB / 0.5163 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.4322, allocations: 0.6066 MB / 0.5169 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.4324, allocations: 67.5 kB / 0.5169 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.4332, allocations: 271.6 kB / 0.5172 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007571/0.434, allocations: 490.5 kB / 0.5176 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006368/0.4346, allocations: 486.9 kB / 0.5181 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.4363, allocations: 1.19 MB / 0.5193 GB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4364, allocations: 3.938 kB / 0.5193 GB, free: 14.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4364, allocations: 1.219 kB / 0.5193 GB, free: 14.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.4364, allocations: 0.7969 kB / 0.5193 GB, free: 14.65 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.002566/0.439, allocations: 1.231 MB / 0.5205 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.439, allocations: 13.11 kB / 0.5205 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.4401, allocations: 169.1 kB / 0.5207 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.4416, allocations: 0.6312 MB / 0.5213 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.28e-05/0.4417, allocations: 64.05 kB / 0.5213 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.4419, allocations: 100.8 kB / 0.5214 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.4441, allocations: 1.154 MB / 0.5226 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.4442, allocations: 3.266 kB / 0.5226 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.4443, allocations: 40.23 kB / 0.5226 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/0.4445, allocations: 83.38 kB / 0.5227 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.4464, allocations: 1.004 MB / 0.5237 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006603/0.453, allocations: 4.35 MB / 0.5279 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.4544, allocations: 0.6313 MB / 0.5285 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/0.4551, allocations: 304 kB / 0.5288 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-05/0.4552, allocations: 10.91 kB / 0.5288 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.4552, allocations: 37.98 kB / 0.5289 GB, free: 9.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 4.108e-06/0.4553, allocations: 0 / 0.5289 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.004419/0.4597, allocations: 1.768 MB / 0.5306 GB, free: 8.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.4598, allocations: 88.3 kB / 0.5307 GB, free: 7.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/0.4607, allocations: 0.55 MB / 0.5312 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.4608, allocations: 36.45 kB / 0.5312 GB, free: 7.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.4612, allocations: 449.2 kB / 0.5317 GB, free: 7.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.4614, allocations: 231.8 kB / 0.5319 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.4617, allocations: 183.5 kB / 0.5321 GB, free: 6.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4619, allocations: 381 kB / 0.5324 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.4625, allocations: 285.3 kB / 0.5327 GB, free: 6.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009007/0.4634, allocations: 0.6103 MB / 0.5333 GB, free: 5.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.4649, allocations: 0.9709 MB / 0.5342 GB, free: 5.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.4649, allocations: 3.656 kB / 0.5342 GB, free: 5.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002375/0.4673, allocations: 1.184 MB / 0.5354 GB, free: 4.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.4673, allocations: 10 kB / 0.5354 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001472/0.4688, allocations: 0.7139 MB / 0.5361 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007899/0.4696, allocations: 213.7 kB / 0.5363 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/0.4704, allocations: 221.7 kB / 0.5365 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005194/0.4756, allocations: 5.378 MB / 0.5418 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.4764, allocations: 35.05 kB / 0.5418 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.4764, allocations: 46.8 kB / 0.5419 GB, free: 14.8 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.0006526/0.4771, allocations: 351.5 kB / 0.5422 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4772, allocations: 66.92 kB / 0.5423 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4784, allocations: 0.6498 MB / 0.5429 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4784, allocations: 7.375 kB / 0.5429 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.4784, allocations: 4.781 kB / 0.5429 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4784, allocations: 4.609 kB / 0.5429 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.481, allocations: 1.542 MB / 0.5444 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.481, allocations: 2.938 kB / 0.5444 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.4818, allocations: 175 kB / 0.5446 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.4818, allocations: 8.531 kB / 0.5446 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.093e-05/0.4819, allocations: 22.86 kB / 0.5446 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4819, allocations: 2.906 kB / 0.5446 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4819, allocations: 2.688 kB / 0.5446 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.4834, allocations: 1.024 MB / 0.5456 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.4838, allocations: 187.4 kB / 0.5458 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.4839, allocations: 14.59 kB / 0.5458 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.4842, allocations: 17.45 kB / 0.5458 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.4843, allocations: 54.38 kB / 0.5459 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.4844, allocations: 18 kB / 0.5459 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004618/0.4848, allocations: 362.8 kB / 0.5462 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4848, allocations: 0 / 0.5462 GB, free: 12.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001136/0.486, allocations: 219 kB / 0.5465 GB, free: 11.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.4861, allocations: 123.1 kB / 0.5466 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.4881, allocations: 1.107 MB / 0.5476 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4881, allocations: 4 kB / 0.5477 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.4887, allocations: 307 kB / 0.5479 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/0.4895, allocations: 161.6 kB / 0.5481 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.4926, allocations: 1.948 MB / 0.55 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007504/0.4934, allocations: 1.075 MB / 0.5511 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006032/0.494, allocations: 229.6 kB / 0.5513 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.4942, allocations: 51.44 kB / 0.5513 GB, free: 6.777 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4942, allocations: 0 / 0.5513 GB, free: 6.777 MB / 414.1 MB Notification: Performance of Templates: time 0.0147/0.5089, allocations: 8.55 MB / 0.5597 GB, free: 14.28 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches