Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001063/0.001063, allocations: 107.7 kB / 16.42 MB, free: 6.512 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.0009078/0.0009078, allocations: 196.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.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.223e-05, allocations: 6.219 kB / 327.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01173/0.01176, allocations: 10.87 MB / 338.1 MB, free: 8.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006941/0.01873, allocations: 3.86 MB / 342 MB, free: 4.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.01993, allocations: 75.56 kB / 342.1 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.02158, allocations: 0.78 MB / 342.8 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.02369, allocations: 1.15 MB / 344 MB, free: 2.457 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.001226/0.02493, allocations: 0.6981 MB / 344.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.02934, allocations: 5.505 MB / 350.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.03171, allocations: 2.392 MB / 352.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.03523, allocations: 2.073 MB / 354.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.03736, allocations: 1.994 MB / 356.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003599/0.03773, allocations: 320 kB / 357 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.03947, allocations: 0.8778 MB / 357.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003546/0.04303, allocations: 4.801 MB / 362.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002064/0.0451, allocations: 3.169 MB / 365.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.04567, allocations: 430.8 kB / 366.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003431/0.04602, allocations: 71.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.1637/0.2097, allocations: 16.04 MB / 382.4 MB, free: 27.77 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.001757/0.2115, allocations: 1.365 MB / 383.7 MB, free: 27.62 MB / 318.1 MB Notification: Performance of Early Inline: time 0.01113/0.2227, allocations: 8.417 MB / 392.1 MB, free: 24 MB / 318.1 MB Notification: Performance of simplify1: time 0.0005485/0.2233, allocations: 320.3 kB / 392.4 MB, free: 23.84 MB / 318.1 MB Notification: Performance of Alias: time 0.008312/0.2316, allocations: 7.084 MB / 399.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of simplify2: time 0.0004554/0.2321, allocations: 270.1 kB / 399.8 MB, free: 19.66 MB / 318.1 MB Notification: Performance of Events: time 0.001426/0.2335, allocations: 1.496 MB / 401.3 MB, free: 18.73 MB / 318.1 MB Notification: Performance of Detect States: time 0.001498/0.235, allocations: 1.963 MB / 403.3 MB, free: 17.44 MB / 318.1 MB Notification: Performance of Partitioning: time 0.002798/0.2378, allocations: 2.949 MB / 406.2 MB, free: 15.85 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: {}