Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 111.8 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 214.2 kB / 19.42 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.592e-05, allocations: 6.219 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007183/0.007228, allocations: 5.087 MB / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.01115, allocations: 2.152 MB / 366.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.01183, allocations: 16 kB / 366.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.01521, allocations: 1.396 MB / 368 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.01708, allocations: 429.3 kB / 368.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.02003, allocations: 1.206 MB / 369.6 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.02232, allocations: 0.9341 MB / 370.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.02374, allocations: 0.6383 MB / 371.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008851/0.02464, allocations: 374.4 kB / 371.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008677/0.02552, allocations: 465.8 kB / 372 MB, free: 244 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.02574, allocations: 68 kB / 372.1 MB, free: 176 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1628/0.1885, allocations: 404.3 kB / 372.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001019/0.1896, allocations: 1.415 MB / 373.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004707/0.19, allocations: 0.9621 MB / 374.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.1903, allocations: 107.2 kB / 375 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001705/0.1904, allocations: 10.62 kB / 375 MB, free: 9.719 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.004149/0.1946, allocations: 5.284 MB / 380.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000414/0.195, allocations: 486.9 kB / 380.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of Early Inline: time 0.003706/0.1987, allocations: 4.13 MB / 384.9 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002464/0.199, allocations: 252.3 kB / 385.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of Alias: time 0.002122/0.2011, allocations: 2.174 MB / 387.3 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002789/0.2014, allocations: 246.5 kB / 387.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008134/0.2022, allocations: 0.9709 MB / 388.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of Events: time 0.0003497/0.2026, allocations: 268.9 kB / 388.8 MB, free: 2.578 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001263/0.2039, allocations: 1.286 MB / 390 MB, free: 1.926 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) excitingCoil.port_p.reference.gamma = core.port_p.reference.gamma ($RES_SIM_122) 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) core.port_n.reference.gamma = measuringCoil.port_p.reference.gamma ($RES_SIM_100) slice: {} [SCAL] (1) measuringCoil.pin_p.reference.gamma = voltageSensor.pin_p.reference.gamma ($RES_SIM_105) slice: {} [SCAL] (1) electricGround1.pin.reference.gamma = excitingCoil.pin_n.reference.gamma ($RES_SIM_119) slice: {}