Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 109.1 kB / 17.75 MB, free: 5.352 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.001099/0.001099, allocations: 188.6 kB / 18.68 MB, free: 4.43 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.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.198e-05, allocations: 2.281 kB / 351.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005642/0.005674, allocations: 5.033 MB / 357 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.009085, allocations: 2.082 MB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.009377, allocations: 16 kB / 359.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.01221, allocations: 1.409 MB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.01341, allocations: 0.5709 MB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.01532, allocations: 1.058 MB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009808/0.01631, allocations: 0.9343 MB / 363 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009093/0.01723, allocations: 0.6422 MB / 363.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.01767, allocations: 358.5 kB / 364 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.01814, allocations: 461.8 kB / 364.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.01824, allocations: 68 kB / 364.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008645/0.01911, allocations: 399.6 kB / 364.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009703/0.02009, allocations: 1.393 MB / 366.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005342/0.02063, allocations: 0.9503 MB / 367.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.02076, allocations: 103.7 kB / 367.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.889e-05/0.02087, allocations: 12 kB / 367.4 MB, free: 3.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.2074/0.2283, allocations: 5.238 MB / 372.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000407/0.2287, allocations: 352.9 kB / 373 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004244/0.233, allocations: 4.121 MB / 377.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002787/0.2333, allocations: 244.4 kB / 377.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Alias: time 0.002186/0.2355, allocations: 2.155 MB / 379.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002337/0.2357, allocations: 249.2 kB / 379.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Events: time 0.0003877/0.2361, allocations: 414.5 kB / 380.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007518/0.2369, allocations: 0.8465 MB / 381 MB, free: 11.08 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001346/0.2382, allocations: 1.277 MB / 382.3 MB, free: 10.43 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: {}