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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001857/0.001857, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.536/1.536, allocations: 205.1 MB / 223.1 MB, free: 8.473 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.001123/0.001123, allocations: 95.86 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1817/0.1817, allocations: 38.01 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 51.91 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3554, allocations: 55.23 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009017/0.3644, allocations: 7.694 MB / 484.8 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004612/0.3691, allocations: 2.402 MB / 487.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007378/0.3699, allocations: 43.53 kB / 487.2 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.3716, allocations: 0.6639 MB / 487.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.3733, allocations: 0.5334 MB / 488.4 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.3742, allocations: 212.1 kB / 488.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.3771, allocations: 1.813 MB / 490.4 MB, free: 1.391 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.3781, allocations: 0.5841 MB / 491 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009913/0.3792, allocations: 451.4 kB / 491.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009848/0.3802, allocations: 0.6597 MB / 492.1 MB, free: 0.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.3803, allocations: 49.72 kB / 492.2 MB, free: 0.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.3809, allocations: 248.1 kB / 492.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004701/0.3814, allocations: 468.5 kB / 492.9 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.3818, allocations: 479.1 kB / 493.3 MB, free: 296 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.3831, allocations: 1.132 MB / 494.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3831, allocations: 2.516 kB / 494.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3831, allocations: 0 / 494.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3831, allocations: 3.938 kB / 494.5 MB, free: 15.87 MB / 330.7 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.00231/0.3855, allocations: 1.2 MB / 495.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3855, allocations: 11.16 kB / 495.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.3865, allocations: 174.9 kB / 495.9 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3877, allocations: 0.5876 MB / 496.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.3878, allocations: 68.45 kB / 496.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.388, allocations: 101.6 kB / 496.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.3897, allocations: 1.157 MB / 497.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.3898, allocations: 10.41 kB / 497.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.3899, allocations: 40.53 kB / 497.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/0.3901, allocations: 82.48 kB / 497.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.3917, allocations: 0.9975 MB / 498.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.3973, allocations: 4.367 MB / 0.4915 GB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.3985, allocations: 0.6194 MB / 0.4921 GB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.399, allocations: 317.9 kB / 0.4924 GB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.3991, allocations: 14.75 kB / 0.4924 GB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3991, allocations: 38.16 kB / 0.4924 GB, free: 9.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.755e-06/0.3991, allocations: 0.6875 kB / 0.4924 GB, free: 9.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=64): time 0.00312/0.4022, allocations: 1.738 MB / 0.4941 GB, free: 8.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.4023, allocations: 92.61 kB / 0.4942 GB, free: 8.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.4029, allocations: 0.5492 MB / 0.4948 GB, free: 7.715 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.403, allocations: 36.58 kB / 0.4948 GB, free: 7.676 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.4033, allocations: 439.7 kB / 0.4952 GB, free: 7.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.4034, allocations: 214.9 kB / 0.4954 GB, free: 7.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.4037, allocations: 191.9 kB / 0.4956 GB, free: 6.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4039, allocations: 376.2 kB / 0.496 GB, free: 6.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.4043, allocations: 288.7 kB / 0.4962 GB, free: 6.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.4051, allocations: 0.6177 MB / 0.4968 GB, free: 5.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.4066, allocations: 0.9683 MB / 0.4978 GB, free: 5.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4066, allocations: 4.25 kB / 0.4978 GB, free: 5.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00224/0.4088, allocations: 1.169 MB / 0.4989 GB, free: 4.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4089, allocations: 12 kB / 0.4989 GB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001294/0.4102, allocations: 0.7183 MB / 0.4996 GB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/0.4109, allocations: 222.3 kB / 0.4999 GB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.4116, allocations: 215.7 kB / 0.5001 GB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/0.4159, allocations: 4.918 MB / 0.5049 GB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.4166, allocations: 35.98 kB / 0.5049 GB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.4166, allocations: 44 kB / 0.5049 GB, free: 13.73 MB / 346.7 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.000533/0.4172, allocations: 361.3 kB / 0.5053 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4173, allocations: 67.09 kB / 0.5053 GB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.4184, allocations: 0.6538 MB / 0.506 GB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4184, allocations: 4 kB / 0.506 GB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4184, allocations: 4 kB / 0.506 GB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4184, allocations: 7.984 kB / 0.506 GB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.4208, allocations: 1.535 MB / 0.5075 GB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4208, allocations: 160 / 0.5075 GB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.4215, allocations: 183.7 kB / 0.5077 GB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.4216, allocations: 4 kB / 0.5077 GB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.4216, allocations: 16 kB / 0.5077 GB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.4216, allocations: 4 kB / 0.5077 GB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4216, allocations: 3.984 kB / 0.5077 GB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/0.4273, allocations: 3.989 MB / 0.5116 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.4276, allocations: 188.2 kB / 0.5118 GB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.4277, allocations: 12 kB / 0.5118 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.428, allocations: 27.89 kB / 0.5118 GB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4282, allocations: 44.5 kB / 0.5119 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.4282, allocations: 23.98 kB / 0.5119 GB, free: 6.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004148/0.4286, allocations: 358.8 kB / 0.5122 GB, free: 6 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4286, allocations: 0 / 0.5122 GB, free: 6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001098/0.4297, allocations: 276 kB / 0.5125 GB, free: 5.73 MB / 346.7 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.0001688/0.4299, allocations: 138.9 kB / 0.5126 GB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.4316, allocations: 1.095 MB / 0.5137 GB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4317, allocations: 0 / 0.5137 GB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.4321, allocations: 312 kB / 0.514 GB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.4329, allocations: 151.4 kB / 0.5141 GB, free: 4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.4364, allocations: 2.701 MB / 0.5168 GB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.4371, allocations: 1.087 MB / 0.5178 GB, free: 136 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006765/0.4377, allocations: 237.5 kB / 0.5181 GB, free: 15.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.4379, allocations: 63.42 kB / 0.5181 GB, free: 15.84 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4379, allocations: 0 / 0.5181 GB, free: 15.84 MB / 362.7 MB Notification: Performance of Templates: time 0.0147/0.4526, allocations: 9.016 MB / 0.5269 GB, free: 6.832 MB / 362.7 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@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches