Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 111.7 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 213.1 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.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.506e-05, allocations: 2.281 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.006983/0.007006, allocations: 6.709 MB / 366.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.01085, allocations: 2.456 MB / 368.5 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005174/0.01138, allocations: 27.88 kB / 368.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003702/0.01509, allocations: 1.878 MB / 370.4 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.01642, allocations: 0.5356 MB / 370.9 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.01883, allocations: 1.326 MB / 372.3 MB, free: 8 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2197/0.2386, allocations: 1.381 MB / 373.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.2401, allocations: 0.9232 MB / 374.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.2408, allocations: 0.5134 MB / 375.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/0.2416, allocations: 0.6755 MB / 375.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.2418, allocations: 99.75 kB / 375.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.243, allocations: 440.5 kB / 376.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001379/0.2444, allocations: 2.108 MB / 378.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008015/0.2452, allocations: 1.439 MB / 379.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.2455, allocations: 162.4 kB / 380 MB, free: 7.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001611/0.2456, allocations: 16.69 kB / 380 MB, free: 7.199 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: 328 (259) * Number of variables: 328 (328) Notification: Performance of Bindings: time 0.007285/0.2529, allocations: 7.837 MB / 387.9 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0008225/0.2537, allocations: 0.7011 MB / 388.6 MB, free: 1.797 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00877/0.2625, allocations: 6.263 MB / 394.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simplify1: time 0.0007295/0.2633, allocations: 381.8 kB / 395.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of Alias: time 0.004927/0.2682, allocations: 3.253 MB / 398.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simplify2: time 0.0006586/0.2689, allocations: 369.2 kB / 398.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of Events: time 0.000589/0.2695, allocations: 486.3 kB / 399.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of Detect States: time 0.001825/0.2714, allocations: 1.7 MB / 401 MB, free: 10.29 MB / 318.1 MB Notification: Performance of Partitioning: time 0.002827/0.2742, allocations: 1.975 MB / 403 MB, free: 9.289 MB / 318.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (10|10) Unmatched Variables ***************************** [ALGB] (1) Real voltageSensor.abs_v = Modelica.ComplexMath.abs(voltageSensor.v) slice: {} [ALGB] (1) Real airGap.omega slice: {} [ALGB] (1) Real rightLeg.omega slice: {} [ALGB] (1) redeclare Real excitingCoil.v.re slice: {} [ALGB] (1) Real upperYoke.omega slice: {} [ALGB] (1) Real lowerYoke.omega slice: {} [ALGB] (1) Real magFluxSensor.omega slice: {} [ALGB] (1) Real leakage.omega slice: {} [ALGB] (1) Real voltageSensor.omega slice: {} [ALGB] (1) Real leftLeg.omega slice: {} (10|10) Unmatched Equations ***************************** [SCAL] (1) measuringCoil.port_p.reference.gamma = leakage.port_p.reference.gamma ($RES_SIM_185) slice: {} [SCAL] (1) leakage.port_p.reference.gamma = leakage.port_n.reference.gamma ($RES_SIM_7) slice: {} [SCAL] (1) lowerYoke.port_p.reference.gamma = lowerYoke.port_n.reference.gamma ($RES_SIM_38) slice: {} [SCAL] (1) leftLeg.port_p.reference.gamma = leftLeg.port_n.reference.gamma ($RES_SIM_100) slice: {} [SCAL] (1) airGap.port_p.reference.gamma = airGap.port_n.reference.gamma ($RES_SIM_64) slice: {} [SCAL] (1) rightLeg.port_p.reference.gamma = rightLeg.port_n.reference.gamma ($RES_SIM_76) slice: {} [SCAL] (1) upperYoke.port_p.reference.gamma = upperYoke.port_n.reference.gamma ($RES_SIM_88) slice: {} [SCAL] (1) electricGround2.pin.reference.gamma = voltageSensor.pin_n.reference.gamma ($RES_SIM_155) slice: {} [SCAL] (1) electricGround1.pin.reference.gamma = excitingCoil.pin_n.reference.gamma ($RES_SIM_163) slice: {} [SCAL] (1) excitingCoil.port_n.reference.gamma = magFluxSensor.port_n.reference.gamma ($RES_SIM_167) slice: {}