Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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) 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 184.7 kB / 16.04 MB, free: 6.328 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.496/1.496, allocations: 222.9 MB / 239.7 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 99.73 kB / 289.9 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02317/0.02317, allocations: 5.398 MB / 345.5 MB, free: 8.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01002/0.01002, allocations: 2.317 MB / 399.1 MB, free: 2.531 MB / 286.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/3.523e-05, allocations: 7.719 kB / 462.4 MB, free: 42.86 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629): time 0.006576/0.006622, allocations: 6.742 MB / 469.2 MB, free: 36.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005129/0.01181, allocations: 3.073 MB / 472.2 MB, free: 32.99 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.01304, allocations: 27.88 kB / 472.3 MB, free: 32.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.01534, allocations: 1.027 MB / 473.3 MB, free: 31.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.01738, allocations: 0.7523 MB / 474 MB, free: 31.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.01896, allocations: 492.2 kB / 474.5 MB, free: 30.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.02015, allocations: 1.402 MB / 475.9 MB, free: 29.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.02141, allocations: 1.107 MB / 477 MB, free: 28.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004741/0.0219, allocations: 0.5759 MB / 477.6 MB, free: 27.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005466/0.02245, allocations: 0.7313 MB / 478.3 MB, free: 26.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.0226, allocations: 144 kB / 478.5 MB, free: 26.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.02384, allocations: 0.5307 MB / 479 MB, free: 26.18 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0013/0.02515, allocations: 2.129 MB / 481.1 MB, free: 24.03 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006031/0.02577, allocations: 1.301 MB / 482.4 MB, free: 22.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.02604, allocations: 187.4 kB / 482.6 MB, free: 22.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0002063/0.02625, allocations: 15.94 kB / 482.6 MB, free: 22.51 MB / 286.1 MB Notification: Performance of Bindings: time 0.004174/0.03044, allocations: 6.316 MB / 488.9 MB, free: 16 MB / 286.1 MB Notification: Performance of simplify1: time 0.000237/0.0307, allocations: 259.7 kB / 489.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of Alias: time 0.003879/0.03459, allocations: 4.306 MB / 493.5 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simplify2: time 0.0001617/0.03476, allocations: 179.9 kB / 493.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of Events: time 0.0002791/0.03505, allocations: 269.3 kB / 493.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of DetectStates: time 0.0006545/0.03571, allocations: 0.8328 MB / 494.8 MB, free: 9.707 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0008202/0.03654, allocations: 1.042 MB / 495.8 MB, free: 8.566 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed because following variables could not be solved: [ALGB] (1) output Real converter.polarToComplex.y.im, [DISC] (1) Integer irradiance.startDayOfYear (fixed = true, start = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)), [ALGB] (1) input Real converter.complexToPolar.u.im, [DER-] (1) Real $DER.integrator.y, [ALGB] (1) output Real converter.feedback.y, [ALGB] (1) output Real converter.polarToComplex.y.re, [ALGB] (1) Real plant.signalCurrent.v, [DISC] (1) Boolean mpTracker.firstTrigger (fixed = true, start = false) Furthermore following equations are unmatched: [RECD] (2) converter.polarToComplex.y = Complex.'constructor'.fromReal(converter.integrator.y * cos(converter.polarToComplex.phi), converter.integrator.y * sin(converter.polarToComplex.phi)) ($RES_SIM_44), [ALGO] (5) ($RES_SIM_6) [----] mpTracker.sampleTrigger := sample(mpTracker.startTime, mpTracker.samplePeriod); [----] when mpTracker.sampleTrigger then [----] mpTracker.counter := $PRE.mpTracker.counter + 1; [----] mpTracker.firstTrigger := time <= (mpTracker.startTime + mpTracker.samplePeriod / 2.0); [----] mpTracker.vRef := $PRE.mpTracker.vRef + mpTracker.signv * mpTracker.dv; [----] if not mpTracker.firstTrigger and mpTracker.power < $PRE.mpTracker.power then [----] mpTracker.signv := -$PRE.mpTracker.signv; [----] end if; [----] if mpTracker.vRef <= 3.0 * mpTracker.dv then [----] mpTracker.signv := 1.0; [----] end if; [----] end when; , [ALGO] (4) ($RES_SIM_5) [----] when sample(86400.0, 86400.0) then [----] irradiance.dayOfYear := mod($PRE.irradiance.dayOfYear, $PRE.irradiance.daysOfYear) + 1; [----] end when; [----] when irradiance.startDayOfYear + irradiance.localDays == (irradiance.daysOfYear + 1) then [----] irradiance.startDayOfYear := 1; [----] irradiance.year := $PRE.irradiance.year + 1; [----] irradiance.daysOfYear := PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.year); [----] end when;