Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001188/0.001188, allocations: 104.6 kB / 16.42 MB, free: 6.492 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.001116/0.001116, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.267/1.267, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.799e-05, allocations: 6.219 kB / 327.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.008443/0.00848, allocations: 7.01 MB / 334.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005886/0.01439, allocations: 2.937 MB / 337.2 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.01563, allocations: 39.75 kB / 337.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.01753, allocations: 0.528 MB / 337.8 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.01965, allocations: 0.6719 MB / 338.4 MB, free: 8.031 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.001139/0.0208, allocations: 495.1 kB / 338.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002906/0.02372, allocations: 3.07 MB / 342 MB, free: 4.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.02505, allocations: 1.225 MB / 343.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.02707, allocations: 1.158 MB / 344.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.02821, allocations: 1.11 MB / 345.5 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.02841, allocations: 172 kB / 345.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.02968, allocations: 0.7255 MB / 346.4 MB, free: 44 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.002038/0.03173, allocations: 2.71 MB / 349.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001223/0.03296, allocations: 1.777 MB / 350.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.0333, allocations: 251.3 kB / 351.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002053/0.03352, allocations: 35.88 kB / 351.1 MB, free: 11.23 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.009192/0.04272, allocations: 8.963 MB / 360.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0005054/0.04324, allocations: 439.3 kB / 360.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004265/0.04751, allocations: 4.668 MB / 365.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002403/0.04777, allocations: 167.8 kB / 365.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of Alias: time 0.004561/0.05234, allocations: 3.956 MB / 369.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002485/0.05261, allocations: 139.8 kB / 369.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of Events: time 0.0006827/0.0533, allocations: 0.5953 MB / 370.1 MB, free: 7.801 MB / 318.1 MB Notification: Performance of Detect States: time 0.00113/0.05444, allocations: 1.116 MB / 371.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001812/0.05626, allocations: 1.605 MB / 372.8 MB, free: 5.008 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: {}