Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 111.2 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 210.8 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.118e-05, allocations: 4.953 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006025/0.006055, allocations: 5.041 MB / 364.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003547/0.009629, allocations: 2.152 MB / 366.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005974/0.01025, allocations: 16 kB / 366.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.01333, allocations: 1.404 MB / 368 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.0148, allocations: 425.4 kB / 368.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.0171, allocations: 1.205 MB / 369.6 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.01849, allocations: 0.9225 MB / 370.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.01969, allocations: 0.6344 MB / 371.1 MB, free: 1.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006792/0.02039, allocations: 378.4 kB / 371.5 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007292/0.02113, allocations: 461.9 kB / 372 MB, free: 308 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.02133, allocations: 64 kB / 372 MB, free: 244 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1662/0.1875, allocations: 405.1 kB / 372.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001001/0.1885, allocations: 1.397 MB / 373.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004081/0.1889, allocations: 0.9535 MB / 374.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.1891, allocations: 104.8 kB / 374.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001251/0.1893, allocations: 13.44 kB / 374.9 MB, free: 9.758 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: 212 (165) * Number of variables: 212 (212) Notification: Performance of Bindings: time 0.003892/0.1931, allocations: 5.243 MB / 380.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003636/0.1935, allocations: 350.9 kB / 380.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004197/0.1977, allocations: 4.112 MB / 384.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002683/0.198, allocations: 250 kB / 384.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of Alias: time 0.002292/0.2003, allocations: 2.169 MB / 387 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002655/0.2006, allocations: 237.4 kB / 387.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of Detect States: time 0.0009187/0.2015, allocations: 0.9573 MB / 388.2 MB, free: 2.93 MB / 302.1 MB Notification: Performance of Events: time 0.0003193/0.2018, allocations: 271.8 kB / 388.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of Partitioning: time 0.00122/0.2031, allocations: 1.274 MB / 389.7 MB, free: 2.113 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (6|6) Unmatched Variables *************************** [ALGB] (1) Real currentSource.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(currentSource.P, currentSource.Q), 0.0)) slice: {} [ALGB] (1) Real voltageSensor.omega slice: {} [ALGB] (1) Real voltageSensor.arg_v = Modelica.ComplexMath.arg(voltageSensor.v, 0.0) slice: {} [ALGB] (1) Real airGap.omega slice: {} [ALGB] (1) Real magFluxSensor.omega slice: {} [ALGB] (1) Real core.omega slice: {} (6|6) Unmatched Equations *************************** [SCAL] (1) magFluxSensor.port_p.reference.gamma = magFluxSensor.port_n.reference.gamma ($RES_SIM_21) slice: {} [SCAL] (1) measuringCoil.port_p.reference.gamma = measuringCoil.port_n.reference.gamma ($RES_SIM_29) slice: {} [SCAL] (1) airGap.port_p.reference.gamma = airGap.port_n.reference.gamma ($RES_SIM_44) slice: {} [SCAL] (1) excitingCoil.port_p.reference.gamma = excitingCoil.pin_p.reference.gamma ($RES_SIM_65) slice: {} [SCAL] (1) electricGround2.pin.reference.gamma = voltageSensor.pin_n.reference.gamma ($RES_SIM_109) slice: {} [SCAL] (1) excitingCoil.port_p.reference.gamma = core.port_p.reference.gamma ($RES_SIM_116) slice: {}