Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001201/0.001201, allocations: 108.4 kB / 16.42 MB, free: 6.031 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.001109/0.001109, allocations: 183.7 kB / 17.35 MB, free: 5.602 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.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.431e-05, allocations: 7.484 kB / 327.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.009221/0.009263, allocations: 7.009 MB / 334.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.01486, allocations: 2.941 MB / 337.2 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.01573, allocations: 43.75 kB / 337.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.017, allocations: 0.5241 MB / 337.8 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.01863, allocations: 0.6758 MB / 338.4 MB, free: 8.012 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.00104/0.01968, allocations: 483.1 kB / 338.9 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002868/0.02256, allocations: 3.078 MB / 342 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.02387, allocations: 1.229 MB / 343.2 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.02561, allocations: 1.147 MB / 344.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.02677, allocations: 1.121 MB / 345.5 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.02698, allocations: 172 kB / 345.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.02828, allocations: 0.7216 MB / 346.4 MB, free: 24 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.001996/0.03029, allocations: 2.71 MB / 349.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001218/0.03152, allocations: 1.785 MB / 350.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.03184, allocations: 247.3 kB / 351.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002113/0.03206, allocations: 35.94 kB / 351.1 MB, free: 11.21 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.007957/0.04002, allocations: 8.959 MB / 360.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004581/0.04049, allocations: 431.3 kB / 360.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004474/0.04497, allocations: 4.668 MB / 365.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simplify1: time 0.000304/0.0453, allocations: 167.8 kB / 365.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of Alias: time 0.005194/0.0505, allocations: 3.964 MB / 369.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002679/0.05078, allocations: 139.8 kB / 369.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of Events: time 0.0008017/0.05159, allocations: 0.5873 MB / 370.1 MB, free: 7.789 MB / 318.1 MB Notification: Performance of Detect States: time 0.001318/0.05292, allocations: 1.116 MB / 371.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001982/0.05491, allocations: 1.597 MB / 372.8 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: {}