Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_4.0.0_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.001183/0.001183, allocations: 109.5 kB / 17.7 MB, free: 5.391 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.001214/0.001215, allocations: 188.7 kB / 18.64 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.838e-05, allocations: 2.281 kB / 302 MB, free: 5.227 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01001/0.01005, allocations: 10.93 MB / 312.9 MB, free: 10.26 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005896/0.01596, allocations: 3.811 MB / 316.7 MB, free: 6.438 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009941/0.01698, allocations: 95.56 kB / 316.8 MB, free: 6.344 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.01855, allocations: 0.78 MB / 317.6 MB, free: 5.559 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.02052, allocations: 1.15 MB / 318.8 MB, free: 4.402 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/FastFourierTransform.mo:538:3-629: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.001199/0.02173, allocations: 0.6621 MB / 319.4 MB, free: 3.742 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.02636, allocations: 5.552 MB / 325 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.02903, allocations: 2.718 MB / 327.7 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.03197, allocations: 2.07 MB / 329.8 MB, free: 9.328 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.03392, allocations: 2.005 MB / 331.8 MB, free: 7.316 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000374/0.03431, allocations: 328 kB / 332.1 MB, free: 6.996 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.03609, allocations: 0.8973 MB / 333 MB, free: 6.098 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.003577/0.03968, allocations: 4.825 MB / 337.8 MB, free: 1.23 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.002338/0.04203, allocations: 3.157 MB / 341 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.0427, allocations: 446.8 kB / 341.4 MB, free: 13.6 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0003755/0.04308, allocations: 55.88 kB / 341.5 MB, free: 13.54 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5853 (504) * Number of variables: 5853 (420) Notification: Performance of Bindings: time 0.01538/0.05847, allocations: 16.06 MB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001318/0.05981, allocations: 1.413 MB / 358.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00743/0.06725, allocations: 8.583 MB / 367.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simplify1: time 0.0004348/0.06769, allocations: 367.5 kB / 367.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of Alias: time 0.1335/0.2012, allocations: 7.053 MB / 374.9 MB, free: 38.65 MB / 302.1 MB Notification: Performance of simplify2: time 0.000685/0.2019, allocations: 319.2 kB / 375.2 MB, free: 38.65 MB / 302.1 MB Notification: Performance of Events: time 0.001844/0.2038, allocations: 1.471 MB / 376.7 MB, free: 38.45 MB / 302.1 MB Notification: Performance of Detect States: time 0.001885/0.2057, allocations: 1.995 MB / 378.7 MB, free: 38.29 MB / 302.1 MB Notification: Performance of Partitioning: time 0.002943/0.2086, allocations: 3.035 MB / 381.7 MB, free: 37.91 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (5|9) Unmatched Variables *************************** [ALGB] (3) Real[3] transformer1.l1sigma.inductor.n.v slice: {} [DISC] (1) Integer realFFT.info (fixed = true, start = 0) slice: {} [ALGB] (3) Real[3] transformer1.core.plug_p2.pin.v slice: {0} [ALGB] (3) Real[3] transformer2.l2sigma.plug_n.pin.v slice: {} [DISC] (1) protected Integer realFFT.iTick (fixed = true, start = 0) slice: {} (5|9) Unmatched Equations *************************** [TUPL] (803) ($FUN_6, $FUN_7, $FUN_8) = Modelica.Math.FastFourierTransform.realFFT(realFFT.buf, 401) ($RES_$AUX_675) slice: {802} [FOR-] (3) ($RES_SIM_131) [----] for $i1 in 1:3 loop [----] [SCAL] (1) 0.0 = transformer1.l2sigma.inductor[$i1].p.i + transformer1.l2sigma.inductor[$i1].n.i ($RES_SIM_132) [----] end for; slice: {1} [FOR-] (3) ($RES_SIM_155) [----] for $i1 in 1:3 loop [----] [SCAL] (1) transformer1.l1sigma.inductor[$i1].i = transformer1.l1sigma.inductor[$i1].p.i ($RES_SIM_156) [----] end for; slice: {2} [ARRY] (3) transformer1.core.im = transformer1.core.i2 / transformer1.core.n12 + transformer1.core.i1 + transformer1.core.i3 / transformer1.core.n13 ($RES_BND_633) slice: {} [FOR-] (3) ($RES_SIM_424) [----] for $i1 in 1:3 loop [----] [SCAL] (1) transformer2.l1sigma.inductor[$i1].n.i - transformer2.l1sigma.plug_n.pin[$i1].i = 0.0 ($RES_SIM_425) [----] end for; slice: {}