Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT.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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 114.6 kB / 17.75 MB, free: 5.305 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.001261/0.001261, allocations: 179.1 kB / 18.68 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.341e-05, allocations: 3.125 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.006945/0.006967, allocations: 7.017 MB / 335.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.01143, allocations: 2.933 MB / 338.5 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.01184, allocations: 43.75 kB / 338.6 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.01297, allocations: 0.5241 MB / 339.1 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.01414, allocations: 0.6758 MB / 339.8 MB, free: 8.023 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/FastFourierTransform.mo:408:3-534:14:writable] Warning: Pure function 'Modelica.Math.FastFourierTransform.realFFT' contains a call to impure function 'Modelica.Math.FastFourierTransform.Internal.rawRealFFT'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/FastFourierTransform.mo:536:3-627:25:writable] Warning: Pure function 'Modelica.Math.FastFourierTransform.realFFTwriteToFile' contains a call to impure function 'Modelica.Utilities.Files.removeFile'. Notification: Performance of NFTyping.typeClassSections: time 0.0008919/0.01504, allocations: 495.1 kB / 340.2 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.01774, allocations: 3.066 MB / 343.3 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.01911, allocations: 1.236 MB / 344.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.02136, allocations: 1.139 MB / 345.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.02264, allocations: 1.114 MB / 346.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.02285, allocations: 172 kB / 347 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.02418, allocations: 0.7294 MB / 347.7 MB, free: 36 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.002146/0.02634, allocations: 2.71 MB / 350.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001212/0.02756, allocations: 1.781 MB / 352.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.0279, allocations: 247.3 kB / 352.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002422/0.02815, allocations: 39.92 kB / 352.5 MB, free: 11.22 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5386 (263) * Number of variables: 5386 (243) Notification: Performance of Bindings: time 0.007692/0.03585, allocations: 8.955 MB / 361.4 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004558/0.03631, allocations: 443.2 kB / 361.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004005/0.04032, allocations: 4.664 MB / 366.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002024/0.04054, allocations: 167.8 kB / 366.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of Alias: time 0.004065/0.04461, allocations: 3.968 MB / 370.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001512/0.04478, allocations: 135.8 kB / 370.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of Events: time 0.0005594/0.04534, allocations: 0.5876 MB / 371.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of Detect States: time 0.001137/0.04649, allocations: 1.119 MB / 372.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001616/0.04812, allocations: 1.605 MB / 374.1 MB, free: 5.004 MB / 318.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|6) Unmatched Variables *************************** [DISC] (1) protected Integer realFFT.iTick (fixed = true, start = 0) slice: {} [ALGB] (3) Real[3] transformer1.Rot2.plug_n.pin.v slice: {} [ALGB] (3) Real[3] transformer1.star2.plug_p.pin.v slice: {0} [DISC] (1) Integer realFFT.info (fixed = true, start = 0) slice: {} (5|6) Unmatched Equations *************************** [ALGO] (4804) ($RES_SIM_3) [----] when {realFFT.sampleTrigger} then [----] realFFT.iTick := $PRE.realFFT.iTick + 1; [----] if realFFT.iTick <= 4000 then [----] realFFT.buf[realFFT.iTick] := realFFT.u; [----] end if; [----] end when; [----] when terminal() then [----] if realFFT.iTick < 4000 then [----] assert(false, "Sampling time not sufficient! stopTime>= " + String(realFFT.startTime + 3999.0 * realFFT.samplePeriod, 6, 0, true), AssertionLevel.error); [----] elseif true then [----] (realFFT.info, realFFT.abs, realFFT.arg) := Modelica.Math.FastFourierTransform.realFFT(realFFT.buf, 401); [----] assert(realFFT.info == 0, "Error in FFT", AssertionLevel.error); [----] Modelica.Math.FastFourierTransform.realFFTwriteToFile(realFFT.startTime + 3999.0 * realFFT.samplePeriod, realFFT.resultFileName, 2000.0, realFFT.abs, realFFT.arg, "4"); [----] end if; [----] end when; slice: {4803} [FOR-] (3) ($RES_SIM_272) [----] for $i1 in 1:3 loop [----] [SCAL] (1) transformer1.l2sigma.plug_n.pin[$i1].i + transformer1.Rot2.plug_p.pin[$i1].i = 0.0 ($RES_SIM_273) [----] end for; slice: {1, 2} [FOR-] (3) ($RES_SIM_118) [----] for $i1 in 1:3 loop [----] [SCAL] (1) diode2.idealDiode[$i1].v = diode2.idealDiode[$i1].p.v - diode2.idealDiode[$i1].n.v ($RES_SIM_119) [----] end for; slice: {0} [ARRY] (3) transformer1.thermalAmbient.thermalCollector2.port_a.T = transformer1.thermalAmbient.thermalPort.heatPort2.T ($RES_SIM_278) slice: {2} [SCAL] (1) 0.0 = sum(transformer1.star2.plug_p.pin.i) ($RES_$AUX_375) slice: {}