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.001271/0.001271, allocations: 109.5 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 213 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.526e-05, allocations: 2.281 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006001/0.006034, allocations: 5.053 MB / 364.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.009916, allocations: 2.148 MB / 366.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.0103, allocations: 16 kB / 366.6 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.01324, allocations: 1.396 MB / 367.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.01445, allocations: 421.4 kB / 368.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.01658, allocations: 1.213 MB / 369.6 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009963/0.01759, allocations: 0.9225 MB / 370.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009047/0.0185, allocations: 0.6461 MB / 371.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.01896, allocations: 362.5 kB / 371.5 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.01943, allocations: 461.9 kB / 371.9 MB, free: 304 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.292e-05/0.01954, allocations: 64 kB / 372 MB, free: 240 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2367/0.2562, allocations: 413.6 kB / 372.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001331/0.2576, allocations: 1.391 MB / 373.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000565/0.2582, allocations: 0.9517 MB / 374.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.2585, allocations: 107.8 kB / 374.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001838/0.2586, allocations: 13.91 kB / 374.9 MB, free: 9.734 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.004844/0.2635, allocations: 5.243 MB / 380.1 MB, free: 7.297 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004024/0.2639, allocations: 355.7 kB / 380.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004419/0.2683, allocations: 4.115 MB / 384.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003027/0.2686, allocations: 251.8 kB / 384.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of Alias: time 0.002872/0.2715, allocations: 2.158 MB / 387 MB, free: 3.684 MB / 302.1 MB Notification: Performance of simplify2: time 0.0003137/0.2719, allocations: 246.1 kB / 387.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of Events: time 0.000486/0.2723, allocations: 412.2 kB / 387.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of Detect States: time 0.0009217/0.2733, allocations: 0.8284 MB / 388.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001446/0.2747, allocations: 1.277 MB / 389.7 MB, free: 2.074 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: {}