Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 107.3 kB / 18.41 MB, free: 4.688 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.001079/0.001079, allocations: 193.4 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.762e-05, allocations: 2.281 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.009232/0.00927, allocations: 7.769 MB / 336.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006578/0.01591, allocations: 3.022 MB / 339.9 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.01738, allocations: 27.94 kB / 340 MB, free: 8.484 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003495/0.02088, allocations: 1.333 MB / 341.3 MB, free: 7.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.02384, allocations: 0.8113 MB / 342.1 MB, free: 6.328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.02675, allocations: 1.297 MB / 343.4 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003045/0.02981, allocations: 1.96 MB / 345.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.03166, allocations: 1.313 MB / 346.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.03264, allocations: 0.681 MB / 347.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008175/0.03347, allocations: 0.8126 MB / 348.2 MB, free: 232 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.03368, allocations: 164 kB / 348.3 MB, free: 68 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.03497, allocations: 495.7 kB / 348.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001797/0.03678, allocations: 2.652 MB / 351.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001072/0.03786, allocations: 1.716 MB / 353.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004685/0.03834, allocations: 251.2 kB / 353.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003919/0.03874, allocations: 55.69 kB / 353.5 MB, free: 10.86 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: 375 (334) * Number of variables: 375 (369) Notification: Performance of Bindings: time 0.008553/0.0473, allocations: 9.207 MB / 362.7 MB, free: 1.367 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001289/0.0486, allocations: 1.207 MB / 363.9 MB, free: 160 kB / 302.1 MB Notification: Performance of Early Inline: time 0.00714/0.05575, allocations: 6.56 MB / 370.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of simplify1: time 0.0005125/0.05629, allocations: 443.5 kB / 370.9 MB, free: 9.102 MB / 318.1 MB Notification: Performance of Alias: time 0.008232/0.06453, allocations: 6.371 MB / 377.3 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simplify2: time 0.0008382/0.06541, allocations: 371.6 kB / 377.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of Events: time 0.001346/0.06677, allocations: 1.147 MB / 378.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of Detect States: time 0.2303/0.2971, allocations: 1.575 MB / 380.4 MB, free: 34.14 MB / 318.1 MB Notification: Performance of Partitioning: time 0.002868/0.3, allocations: 1.912 MB / 382.3 MB, free: 33.83 MB / 318.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (6|6) Unmatched Variables *************************** [ALGB] (1) Real r_mLeakQS.omega slice: {} [ALGB] (1) Real currentSensorQS.omega slice: {} [ALGB] (1) Real rQS.omega slice: {} [ALGB] (1) Real r_mAirParQS.omega slice: {} [ALGB] (1) Real r_mFeQS.omega slice: {} [ALGB] (1) Real currentSensorQS.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(currentSensorQS.P, currentSensorQS.Q), 0.0)) slice: {} (6|6) Unmatched Equations *************************** [SCAL] (1) sourceQS.pin_p.reference.gamma = currentSensorQS.pin_p.reference.gamma ($RES_SIM_237) slice: {} [SCAL] (1) ground_mQS.port.reference.gamma = coilQS.port_n.reference.gamma ($RES_SIM_256) slice: {} [SCAL] (1) ground_mQS.port.reference.gamma = r_mFeQS.port_n.reference.gamma ($RES_SIM_257) slice: {} [SCAL] (1) r_mAirParQS.port_n.reference.gamma = r_mFeQS.port_p.reference.gamma ($RES_SIM_264) slice: {} [SCAL] (1) currentSensorQS.pin_p.reference.gamma = currentSensorQS.pin_n.reference.gamma ($RES_SIM_78) slice: {} [SCAL] (1) sourceQS.pin_p.reference.gamma = sourceQS.pin_n.reference.gamma ($RES_SIM_191) slice: {}