Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.HysteresisModelComparison.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.HysteresisModelComparison,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|preisachEverett.beta|preisachEverett.J|preisachEverett.MagRel|preisachEverett.v|preisachEverett.x|tellinenSoft.B|tellinenSoft.MagRel|tellinenTable.B|tellinenTable.MagRel|winding1.i|winding2.i|winding3.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.HysteresisModelComparison") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.HysteresisModelComparison,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|preisachEverett.beta|preisachEverett.J|preisachEverett.MagRel|preisachEverett.v|preisachEverett.x|tellinenSoft.B|tellinenSoft.MagRel|tellinenTable.B|tellinenTable.MagRel|winding1.i|winding2.i|winding3.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.HysteresisModelComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 114.4 kB / 18.41 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 211.5 kB / 19.36 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.4 MB / 247.5 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.007e-05, allocations: 4.531 kB / 308.3 MB, free: 15.97 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.HysteresisModelComparison): time 0.006198/0.006244, allocations: 5.102 MB / 313.4 MB, free: 10.85 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004406/0.01067, allocations: 2.899 MB / 316.3 MB, free: 7.945 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.01107, allocations: 15.94 kB / 316.3 MB, free: 7.93 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.01381, allocations: 2.811 MB / 319.1 MB, free: 5.109 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008976/0.01471, allocations: 449.2 kB / 319.6 MB, free: 4.668 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.01632, allocations: 0.7376 MB / 320.3 MB, free: 3.938 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.01908, allocations: 3.179 MB / 323.5 MB, free: 0.7539 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.01945, allocations: 282.4 kB / 323.8 MB, free: 468 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009892/0.02045, allocations: 1.011 MB / 324.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.02212, allocations: 1.866 MB / 326.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002772/0.02241, allocations: 200 kB / 326.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/0.02709, allocations: 4.788 MB / 331.6 MB, free: 8.586 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.001913/0.02901, allocations: 2.451 MB / 334.1 MB, free: 6.113 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006226/0.02965, allocations: 1.052 MB / 335.1 MB, free: 5.047 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.02996, allocations: 179.4 kB / 335.3 MB, free: 4.871 MB / 270.1 MB Notification: Performance of FrontEnd: time 0.0001943/0.03016, allocations: 35.86 kB / 335.3 MB, free: 4.836 MB / 270.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if preisachEverett.hmax < preisachEverett.eps then preisachEverett.aSavI = preisachEverett.mat.Hsat; preisachEverett.bSavI = -preisachEverett.mat.Hsat; elseif preisachEverett.asc and preisachEverett.x < 0.0 then preisachEverett.aSavI = preisachEverett.mat.Hsat; preisachEverett.bSavI = -preisachEverett.hmax; elseif preisachEverett.asc and preisachEverett.x > 0.0 then preisachEverett.aSavI = preisachEverett.hmax; preisachEverett.bSavI = preisachEverett.alpha; elseif not preisachEverett.asc and preisachEverett.x < 0.0 then preisachEverett.aSavI = preisachEverett.alpha; preisachEverett.bSavI = -preisachEverett.hmax; elseif true then preisachEverett.aSavI = preisachEverett.hmax; preisachEverett.bSavI = -preisachEverett.mat.Hsat; end if