Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,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.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 111.8 kB / 17.75 MB, free: 5.328 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.001053/0.001053, allocations: 185.8 kB / 18.68 MB, free: 4.41 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.574e-05, allocations: 2.281 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008021/0.008055, allocations: 6.691 MB / 358.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.01285, allocations: 2.397 MB / 361 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.01336, allocations: 24 kB / 361.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003736/0.01711, allocations: 1.882 MB / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.01882, allocations: 0.695 MB / 363.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.02116, allocations: 1.186 MB / 364.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.02305, allocations: 1.382 MB / 366.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.02456, allocations: 0.9312 MB / 367.1 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009347/0.02551, allocations: 0.5212 MB / 367.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006776/0.0262, allocations: 0.6648 MB / 368.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.02632, allocations: 100 kB / 368.4 MB, free: 2.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009848/0.02732, allocations: 419.6 kB / 368.8 MB, free: 2.316 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001275/0.0286, allocations: 2.111 MB / 370.9 MB, free: 184 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.1982/0.2268, allocations: 1.426 MB / 372.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.2273, allocations: 160.2 kB / 372.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000261/0.2275, allocations: 18.03 kB / 372.5 MB, free: 13.27 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.008387/0.2359, allocations: 7.851 MB / 380.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0008367/0.2368, allocations: 0.6824 MB / 381.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of Early Inline: time 0.006665/0.2435, allocations: 6.26 MB / 387.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simplify1: time 0.0004855/0.244, allocations: 382.7 kB / 387.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of Alias: time 0.003969/0.2479, allocations: 3.261 MB / 391 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simplify2: time 0.0006754/0.2486, allocations: 370.8 kB / 391.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of Events: time 0.0005249/0.2492, allocations: 479 kB / 391.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of Detect States: time 0.001537/0.2507, allocations: 1.706 MB / 393.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of Partitioning: time 0.002549/0.2533, allocations: 1.973 MB / 395.5 MB, free: 1.176 MB / 302.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: {}