Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 186.5 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.456/1.456, allocations: 222.9 MB / 239.7 MB, free: 4.676 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.001256/0.001255, allocations: 102.5 kB / 289.9 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02352/0.02352, allocations: 5.399 MB / 345.5 MB, free: 8.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01058/0.01058, allocations: 2.321 MB / 399.1 MB, free: 2.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.277e-05/4.278e-05, allocations: 2.281 kB / 465.8 MB, free: 39.37 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016): time 0.01002/0.01008, allocations: 6.735 MB / 472.6 MB, free: 32.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007612/0.01776, allocations: 3.08 MB / 475.7 MB, free: 29.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.01923, allocations: 20 kB / 475.7 MB, free: 29.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003164/0.02241, allocations: 1.027 MB / 476.7 MB, free: 28.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.02513, allocations: 0.7599 MB / 477.5 MB, free: 27.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.02722, allocations: 0.4911 MB / 478 MB, free: 27.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.02889, allocations: 1.398 MB / 479.4 MB, free: 25.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.03072, allocations: 1.095 MB / 480.4 MB, free: 24.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007996/0.03153, allocations: 0.5759 MB / 481 MB, free: 24.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.03236, allocations: 0.7352 MB / 481.8 MB, free: 23.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.03258, allocations: 140 kB / 481.9 MB, free: 23.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.03407, allocations: 0.5384 MB / 482.4 MB, free: 22.7 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001449/0.03554, allocations: 2.121 MB / 484.6 MB, free: 20.55 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006543/0.03621, allocations: 1.305 MB / 485.9 MB, free: 19.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.03653, allocations: 183.4 kB / 486 MB, free: 19.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0002582/0.0368, allocations: 19.98 kB / 486.1 MB, free: 19.03 MB / 286.1 MB Notification: Performance of Bindings: time 0.006235/0.04305, allocations: 6.32 MB / 492.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of simplify1: time 0.0003365/0.04341, allocations: 259.7 kB / 492.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of Alias: time 0.005701/0.04913, allocations: 4.313 MB / 496.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of simplify2: time 0.0003078/0.04946, allocations: 179.8 kB / 497.1 MB, free: 7.336 MB / 286.1 MB Notification: Performance of Events: time 0.0004456/0.04992, allocations: 277.3 kB / 497.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of DetectStates: time 0.0009268/0.05086, allocations: 0.8196 MB / 498.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of Partitioning: time 0.001258/0.05213, allocations: 1.023 MB / 499.2 MB, free: 5.094 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, [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), [DER-] (1) Real $DER.writeCSV.u 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;