Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 116.6 kB / 17.75 MB, free: 5.168 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.001343/0.001343, allocations: 192.6 kB / 18.68 MB, free: 4.254 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.203/1.203, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.556e-05, allocations: 2.281 kB / 351.9 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005794/0.00583, allocations: 5.067 MB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.009324, allocations: 2.098 MB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.009669, allocations: 16 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.01252, allocations: 1.399 MB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.01374, allocations: 0.5748 MB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.01567, allocations: 1.064 MB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.01671, allocations: 0.9382 MB / 363.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.01757, allocations: 0.6422 MB / 363.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.01803, allocations: 366.5 kB / 364.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.01846, allocations: 473.8 kB / 364.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.01855, allocations: 68 kB / 364.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007526/0.01931, allocations: 395.6 kB / 365 MB, free: 6.121 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008695/0.02018, allocations: 1.409 MB / 366.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004535/0.02065, allocations: 0.9619 MB / 367.4 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.02075, allocations: 107.6 kB / 367.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.883e-05/0.02085, allocations: 12 kB / 367.5 MB, free: 3.602 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.161/0.1818, allocations: 5.277 MB / 372.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004421/0.1823, allocations: 476.8 kB / 373.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004292/0.1866, allocations: 4.142 MB / 377.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002811/0.1869, allocations: 255.9 kB / 377.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of Alias: time 0.002134/0.189, allocations: 2.169 MB / 379.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002324/0.1893, allocations: 252.9 kB / 380.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Events: time 0.0002866/0.1896, allocations: 282 kB / 380.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007656/0.1904, allocations: 0.9752 MB / 381.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001308/0.1917, allocations: 1.288 MB / 382.6 MB, free: 10.64 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: {}