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.001233/0.001233, allocations: 116.3 kB / 18.47 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 210.3 kB / 19.42 MB, free: 3.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.745e-05/3.745e-05, allocations: 6.219 kB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006381/0.006426, allocations: 5.075 MB / 364.4 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003727/0.01018, allocations: 2.152 MB / 366.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.01048, allocations: 16 kB / 366.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.01338, allocations: 1.403 MB / 368 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.01453, allocations: 429.4 kB / 368.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.01666, allocations: 1.202 MB / 369.6 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.01772, allocations: 0.9341 MB / 370.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009014/0.01863, allocations: 0.6422 MB / 371.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.01908, allocations: 378.4 kB / 371.6 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.01958, allocations: 465.8 kB / 372 MB, free: 236 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.063e-05/0.01968, allocations: 68 kB / 372.1 MB, free: 168 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2147/0.2344, allocations: 411.2 kB / 372.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001205/0.2356, allocations: 1.409 MB / 373.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005451/0.2362, allocations: 0.9556 MB / 374.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.2364, allocations: 106.4 kB / 375 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001866/0.2366, allocations: 16.45 kB / 375 MB, free: 9.707 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.004604/0.2413, allocations: 5.278 MB / 380.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004783/0.2417, allocations: 481.9 kB / 380.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004134/0.2459, allocations: 4.141 MB / 384.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002905/0.2462, allocations: 251.8 kB / 385.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of Alias: time 0.002476/0.2487, allocations: 2.171 MB / 387.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of simplify2: time 0.0003524/0.249, allocations: 246.9 kB / 387.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of Events: time 0.0003151/0.2494, allocations: 283.4 kB / 387.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of Detect States: time 0.0009448/0.2503, allocations: 0.9725 MB / 388.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001551/0.2519, allocations: 1.284 MB / 390.1 MB, free: 1.887 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: {}