Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.001071, allocations: 108.2 kB / 16.42 MB, free: 6.508 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.001061/0.001062, allocations: 193.9 kB / 17.36 MB, free: 5.75 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.328/1.328, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/1.905e-05, allocations: 2.281 kB / 327.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01041/0.01043, allocations: 10.86 MB / 338.1 MB, free: 8.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007521/0.01798, allocations: 3.856 MB / 342 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.01997, allocations: 75.56 kB / 342.1 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.02238, allocations: 0.7878 MB / 342.8 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.02574, allocations: 1.146 MB / 344 MB, free: 2.461 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.001621/0.02738, allocations: 0.698 MB / 344.7 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006188/0.03357, allocations: 5.513 MB / 350.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.03647, allocations: 2.388 MB / 352.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/0.04163, allocations: 2.077 MB / 354.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.04457, allocations: 1.998 MB / 356.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000417/0.045, allocations: 316 kB / 357 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.04695, allocations: 0.87 MB / 357.8 MB, free: 4.52 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003677/0.05064, allocations: 4.809 MB / 362.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002463/0.05311, allocations: 3.161 MB / 365.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007355/0.05385, allocations: 434.8 kB / 366.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004662/0.05433, allocations: 67.81 kB / 366.3 MB, free: 11.98 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5853 (476) * Number of variables: 5853 (420) Notification: Performance of Bindings: time 0.1819/0.2362, allocations: 16.05 MB / 382.4 MB, free: 27.23 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.001192/0.2374, allocations: 1.367 MB / 383.7 MB, free: 27.08 MB / 318.1 MB Notification: Performance of Early Inline: time 0.006867/0.2443, allocations: 8.423 MB / 392.1 MB, free: 23.76 MB / 318.1 MB Notification: Performance of simplify1: time 0.0004095/0.2447, allocations: 318.2 kB / 392.5 MB, free: 23.61 MB / 318.1 MB Notification: Performance of Alias: time 0.006812/0.2515, allocations: 7.079 MB / 399.5 MB, free: 19.55 MB / 318.1 MB Notification: Performance of simplify2: time 0.0003352/0.2519, allocations: 275 kB / 399.8 MB, free: 19.43 MB / 318.1 MB Notification: Performance of Events: time 0.001248/0.2531, allocations: 1.483 MB / 401.3 MB, free: 18.49 MB / 318.1 MB Notification: Performance of Detect States: time 0.00146/0.2546, allocations: 1.965 MB / 403.3 MB, free: 17.21 MB / 318.1 MB Notification: Performance of Partitioning: time 0.00246/0.2571, allocations: 2.962 MB / 406.2 MB, free: 15.61 MB / 318.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|7) Unmatched Variables *************************** [DER-] (3) Real[3] $DER.transformer2.l2sigma.inductor.i slice: {1, 2} [DISC] (1) Integer realFFT.info (fixed = true, start = 0) slice: {} [ALGB] (3) Real[3] transformer1.l2sigma.inductor.v slice: {} [DISC] (1) protected Integer realFFT.iTick (fixed = true, start = 0) slice: {} (3|7) Unmatched Equations *************************** [ALGO] (4804) ($RES_SIM_4) [----] 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_409) [----] for $i1 in 1:3 loop [----] [SCAL] (1) transformer2.core.plug_n2.pin[$i1].i + transformer2.core.plug_p3.pin[$i1].i = 0.0 ($RES_SIM_410) [----] end for; slice: {} [ARRY] (3) transformer1.core.im = {0.0 for $i1 in 1:3} ($RES_SIM_165) slice: {}