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.001555/0.001555, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001448/0.001448, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.334/1.334, 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.1808/0.1808, allocations: 38.05 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.001089, allocations: 55.91 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3346, allocations: 58.06 MB / 0.5047 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007323/0.342, allocations: 6.642 MB / 0.5112 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003693/0.3457, allocations: 2.016 MB / 0.5132 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005723/0.3463, allocations: 24.25 kB / 0.5132 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.348, allocations: 0.7209 MB / 0.5139 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.3499, allocations: 0.575 MB / 0.5145 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009838/0.3509, allocations: 247.3 kB / 0.5147 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.3527, allocations: 1.138 MB / 0.5158 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.3536, allocations: 0.5956 MB / 0.5164 GB, free: 96 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.3548, allocations: 0.5189 MB / 0.5169 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.3559, allocations: 0.6105 MB / 0.5175 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.3561, allocations: 68.12 kB / 0.5176 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.3569, allocations: 274.2 kB / 0.5178 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007719/0.3577, allocations: 483.9 kB / 0.5183 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006854/0.3584, allocations: 494.4 kB / 0.5188 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.3603, allocations: 1.183 MB / 0.5199 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3603, allocations: 0 / 0.5199 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3603, allocations: 1.125 kB / 0.5199 GB, free: 14.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.3603, allocations: 0 / 0.5199 GB, free: 14.68 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.0026/0.3629, allocations: 1.205 MB / 0.5211 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.363, allocations: 13.83 kB / 0.5211 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.3641, allocations: 162.9 kB / 0.5213 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3654, allocations: 0.6234 MB / 0.5219 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.3655, allocations: 68.14 kB / 0.522 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.3657, allocations: 101.2 kB / 0.5221 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.3678, allocations: 1.161 MB / 0.5232 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.3679, allocations: 3.188 kB / 0.5232 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.368, allocations: 32.77 kB / 0.5232 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.3682, allocations: 86.94 kB / 0.5233 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.3699, allocations: 1.006 MB / 0.5243 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006108/0.376, allocations: 4.336 MB / 0.5285 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.3773, allocations: 0.6301 MB / 0.5291 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.3778, allocations: 307.3 kB / 0.5294 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.3779, allocations: 7.562 kB / 0.5294 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.3779, allocations: 47.12 kB / 0.5295 GB, free: 9.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 3.507e-06/0.3779, allocations: 0 / 0.5295 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003148/0.3811, allocations: 1.739 MB / 0.5312 GB, free: 8.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3811, allocations: 87.7 kB / 0.5313 GB, free: 8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.3818, allocations: 0.5535 MB / 0.5318 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.3819, allocations: 39.81 kB / 0.5318 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.3822, allocations: 440.7 kB / 0.5323 GB, free: 7.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.3824, allocations: 217.4 kB / 0.5325 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.3827, allocations: 184.2 kB / 0.5326 GB, free: 6.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3828, allocations: 376.7 kB / 0.533 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.3833, allocations: 286.2 kB / 0.5333 GB, free: 6.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.384, allocations: 0.6087 MB / 0.5339 GB, free: 5.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.3852, allocations: 0.9798 MB / 0.5348 GB, free: 5.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.3852, allocations: 3.469 kB / 0.5348 GB, free: 5.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002205/0.3874, allocations: 1.172 MB / 0.536 GB, free: 4.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.3875, allocations: 8.781 kB / 0.536 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001314/0.3888, allocations: 0.7189 MB / 0.5367 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007295/0.3895, allocations: 210 kB / 0.5369 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/0.3904, allocations: 225.1 kB / 0.5371 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/0.3952, allocations: 5.366 MB / 0.5423 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.396, allocations: 39.64 kB / 0.5424 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.3961, allocations: 46.94 kB / 0.5424 GB, free: 14.87 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.0007063/0.3968, allocations: 354.8 kB / 0.5428 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.3971, allocations: 62.81 kB / 0.5428 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.3983, allocations: 0.6579 MB / 0.5435 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3983, allocations: 6.875 kB / 0.5435 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3983, allocations: 4 kB / 0.5435 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3983, allocations: 5.359 kB / 0.5435 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.4012, allocations: 1.539 MB / 0.545 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.4012, allocations: 1.375 kB / 0.545 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.402, allocations: 171.7 kB / 0.5452 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.402, allocations: 12.44 kB / 0.5452 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.402, allocations: 14.34 kB / 0.5452 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/0.402, allocations: 8.672 kB / 0.5452 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4021, allocations: 1.531 kB / 0.5452 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.4036, allocations: 1.024 MB / 0.5462 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.4039, allocations: 183.4 kB / 0.5464 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.4041, allocations: 18.88 kB / 0.5464 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.4045, allocations: 16.73 kB / 0.5464 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.4046, allocations: 50.44 kB / 0.5464 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.4046, allocations: 18.19 kB / 0.5465 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004903/0.4051, allocations: 358.5 kB / 0.5468 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4051, allocations: 0 / 0.5468 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001069/0.4062, allocations: 223.1 kB / 0.547 GB, free: 11.95 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.0001723/0.4064, allocations: 119.1 kB / 0.5471 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.4082, allocations: 1.107 MB / 0.5482 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4082, allocations: 4 kB / 0.5482 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004599/0.4087, allocations: 307.8 kB / 0.5485 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.4096, allocations: 156.5 kB / 0.5487 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.413, allocations: 2 MB / 0.5506 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.4138, allocations: 1.071 MB / 0.5517 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.414, allocations: 75.3 kB / 0.5517 GB, free: 7.004 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.414, allocations: 0 / 0.5517 GB, free: 7.004 MB / 414.1 MB Notification: Performance of Templates: time 0.01951/0.4336, allocations: 14.09 MB / 0.5655 GB, free: 8.914 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