Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 115.7 kB / 18.47 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 213.1 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.201e-05, allocations: 2.281 kB / 359.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003983/0.004015, allocations: 2.852 MB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.006096, allocations: 1.293 MB / 363.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.00635, allocations: 4 kB / 363.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.00664, allocations: 71.36 kB / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006397/0.007288, allocations: 226.7 kB / 363.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.007622, allocations: 131.8 kB / 363.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.008234, allocations: 0.4911 MB / 364.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.00842, allocations: 96.62 kB / 364.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.008762, allocations: 183.4 kB / 364.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.009041, allocations: 219.2 kB / 364.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.009121, allocations: 44 kB / 364.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.009449, allocations: 175.9 kB / 365.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004983/0.009955, allocations: 0.654 MB / 365.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002313/0.01019, allocations: 343 kB / 366.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/0.01028, allocations: 55.81 kB / 366.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.754e-05/0.01035, allocations: 8 kB / 366.1 MB, free: 6.168 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: 63 (62) * Number of variables: 63 (63) Notification: Performance of Bindings: time 0.001622/0.01197, allocations: 1.717 MB / 367.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000216/0.0122, allocations: 163.4 kB / 368 MB, free: 4.18 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001006/0.01321, allocations: 1.026 MB / 369 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001074/0.01333, allocations: 91.89 kB / 369.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of Alias: time 0.001834/0.01517, allocations: 1.333 MB / 370.5 MB, free: 1.574 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001162/0.0153, allocations: 75.91 kB / 370.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of Events: time 0.0001716/0.01547, allocations: 111.8 kB / 370.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003366/0.01582, allocations: 274.1 kB / 370.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003584/0.01619, allocations: 309.3 kB / 371.2 MB, free: 0.7812 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [DER-] (1) Real $DER.core.hystR slice: {} [ALGB] (1) protected Real core.dHyst slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) core.P2 = core.mat.r * core.mat.M * (1.0 + 0.6366197723675814 * $FUN_4) + (2.0 * (1.0 - core.mat.r) * core.mat.M) / (1.0 + 0.5 * ($FUN_5 + $FUN_6)) ($RES_SIM_26) slice: {} [SCAL] (1) -(core.H3 + core.mat.Hc) = if $SEV_1 then -core.mat.Hsat else if $SEV_2 then core.mat.Hsat else core.Hstat ($RES_SIM_29) slice: {}